@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --burgundy: #800020;
    --burgundy-light: #9d1f3a;
    --burgundy-dark: #5c0017;
    --cream: #f5f0e8;
    --gold: #d4af37;
    --text-dark: #2c2c2c;
}

body {
    font-family: 'Jost', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, var(--cream) 0%, #e8dfd0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section .background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--burgundy);
    padding: 2rem;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight:400;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease-out 0.3s both;
    color: var(--burgundy);
}

.mobile-break {
    display: none;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.6s both;
    color: var(--text-dark);
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 400;
    background: var(--burgundy);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.cta-button:hover {
    background: var(--burgundy-light);
    transform: translateY(-3px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Rider Page */
.rider-container {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--cream) 0%, #e8dfd0 100%);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.heart {
    position: absolute;
    width: 60px;
    height: 60px;
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
    filter: drop-shadow(0 4px 8px rgba(128, 0, 32, 0.3));
}

.heart::before,
.heart::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 48px;
    background: linear-gradient(135deg, var(--burgundy-light) 0%, var(--burgundy) 50%, var(--burgundy-dark) 100%);
    border-radius: 30px 30px 0 0;
    box-shadow: inset -2px -2px 8px rgba(0, 0, 0, 0.3), inset 2px 2px 8px rgba(255, 255, 255, 0.2);
}

.heart::before {
    left: 30px;
    transform: rotate(-45deg);
    transform-origin: 0 100%;
}

.heart::after {
    left: 0;
    transform: rotate(45deg);
    transform-origin: 100% 100%;
}

.heart-1 {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.heart-2 {
    top: 60%;
    left: 80%;
    width: 80px;
    height: 80px;
    animation-delay: 3s;
    animation-duration: 30s;
}

.heart-2::before,
.heart-2::after {
    width: 40px;
    height: 64px;
}

.heart-2::before {
    left: 40px;
}

.heart-3 {
    top: 30%;
    left: 70%;
    width: 50px;
    height: 50px;
    animation-delay: 6s;
    animation-duration: 22s;
}

.heart-3::before,
.heart-3::after {
    width: 25px;
    height: 40px;
}

.heart-3::before {
    left: 25px;
}

.heart-4 {
    top: 80%;
    left: 10%;
    width: 70px;
    height: 70px;
    animation-delay: 9s;
    animation-duration: 28s;
}

.heart-4::before,
.heart-4::after {
    width: 35px;
    height: 56px;
}

.heart-4::before {
    left: 35px;
}

.heart-5 {
    top: 20%;
    left: 40%;
    width: 45px;
    height: 45px;
    animation-delay: 12s;
    animation-duration: 26s;
}

.heart-5::before,
.heart-5::after {
    width: 22.5px;
    height: 36px;
}

.heart-5::before {
    left: 22.5px;
}

.heart-6 {
    top: 50%;
    left: 5%;
    width: 55px;
    height: 55px;
    animation-delay: 15s;
    animation-duration: 24s;
}

.heart-6::before,
.heart-6::after {
    width: 27.5px;
    height: 44px;
}

.heart-6::before {
    left: 27.5px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(-5deg);
    }
    75% {
        transform: translateY(-15px) rotate(3deg);
    }
}

.rider-header {
    width: 100%;
    max-width: 700px;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
    font-size: 20px;
}

.rider-form {
    width: 100%;
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.success-message {
    position: relative;
    z-index: 1;
}

.rider-header h1 {
    font-size: 1.5rem;
    color: var(--burgundy);
    margin-bottom: 2rem;
    font-weight: 400;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(128, 0, 32, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--burgundy) 0%, var(--burgundy-light) 100%);
    width: 33.33%;
    transition: width 0.5s ease;
    border-radius: 10px;
}

.rider-form {
    width: 100%;
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.question-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(128, 0, 32, 0.15);
    display: none;
    opacity: 0;
}

.question-card.active {
    display: block;
}

.question-card h2 {
    font-size: 2rem;
    color: var(--burgundy);
    margin-bottom: 2rem;
    font-weight: 300;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.option {
    animation: slideInLeft 0.5s ease-out backwards;
}

.option:nth-child(1) {
    animation-delay: 0.1s;
}

.option:nth-child(2) {
    animation-delay: 0.2s;
}

.option:nth-child(3) {
    animation-delay: 0.3s;
}

.option:nth-child(4) {
    animation-delay: 0.4s;
}

.option {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: var(--cream);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.option:hover {
    background: #ede4d5;
    transform: translateX(5px);
    border-color: var(--burgundy);
}

.option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.option .checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid var(--burgundy);
    border-radius: 50%;
    margin-right: 1rem;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.option input:checked ~ .checkmark {
    background: var(--burgundy);
    animation: checkPulse 0.4s ease;
}

.option .checkmark::after {
    content: '';
    position: absolute;
    display: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.option input:checked ~ .checkmark::after {
    display: block;
    animation: checkmarkAppear 0.3s ease;
}

.option input:checked ~ span {
    color: var(--burgundy);
    font-weight: 600;
}

.option span {
    font-size: 1.1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-inputs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-inputs input {
    padding: 1.2rem;
    font-size: 1rem;
    border: 2px solid var(--cream);
    border-radius: 12px;
    font-family: 'Jost', sans-serif;
    transition: all 0.3s ease;
    animation: slideInUp 0.5s ease-out backwards;
}

.form-inputs input:nth-child(1) {
    animation-delay: 0.1s;
}

.form-inputs input:nth-child(2) {
    animation-delay: 0.2s;
}

.form-inputs input:nth-child(3) {
    animation-delay: 0.3s;
}

.form-inputs input:focus {
    outline: none;
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.1);
    transform: translateY(-2px);
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.next-btn, .prev-btn, .submit-btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 300;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Jost', sans-serif;
    text-transform: capitalize;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.next-btn::before, .submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.next-btn:hover::before, .submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.next-btn, .submit-btn {
    background: var(--burgundy);
    color: white;
    flex: 1;
}

.next-btn:hover, .submit-btn:hover {
    background: var(--burgundy-light);
    transform: translateY(-2px);
}

.next-btn:active, .submit-btn:active {
    transform: translateY(0);
}

.prev-btn {
    background: transparent;
    color: var(--burgundy);
    border: 2px solid var(--burgundy);
}

.prev-btn:hover {
    background: var(--burgundy);
    color: white;
    transform: translateY(-2px);
}

.prev-btn:active {
    transform: translateY(0);
}

.success-message {
    display: none;
    text-align: center;
    background: white;
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(128, 0, 32, 0.15);
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.success-message.show {
    display: block;
}

.success-animation {
    position: relative;
    margin-bottom: 2rem;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: var(--burgundy);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.success-confetti {
    display: none;
}

.info-icon {
    font-size: 1rem;
    font-weight: 600;
    color: var(--burgundy);
}

.info-item span:last-child {
    color: var(--text-dark);
    font-size: 0.95rem;
}

.back-home-btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 300;
    background: var(--burgundy);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
    letter-spacing: 1px;
    margin-top: 1.5rem;
}

.back-home-btn:hover {
    background: var(--burgundy-light);
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-break {
        display: inline;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.4;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .question-card {
        padding: 2rem;
    }
    
    .question-card h2 {
        font-size: 1.5rem;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .success-message {
        padding: 2rem 1.5rem;
    }
    
    .success-icon {
        width: 80px;
        height: 80px;
        font-size: 3rem;
    }
    
    .success-message h2 {
        font-size: 1.8rem;
    }
    
    .success-message p {
        font-size: 1rem;
    }
    
    .success-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .info-item {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
}

/* Rider Page Animations */
.rider-header {
    animation: fadeInDown 0.8s ease-out;
}

.question-card.active {
    animation: fadeIn 0.5s ease-out;
    opacity: 1;
}

.slide-out-left {
    animation: slideOutLeft 0.3s ease-in forwards;
}

.slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

.option-selected {
    background: #e8dfd0 !important;
    transform: scale(1.02);
}

.fade-out {
    animation: fadeOut 0.5s ease-in forwards;
}

.success-message.show {
    animation: fadeIn 0.5s ease-out;
}

.success-message.show .success-icon {
    animation: rotateIn 0.8s ease-out;
}

.success-message.show h2 {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.success-message.show p {
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.success-message.show .back-home-btn {
    animation: fadeInUp 0.5s ease-out 0.7s both;
}

.input-focused {
    transform: scale(1.02);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50px);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: scale(0) rotate(360deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes checkPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes checkmarkAppear {
    from {
        transform: translate(-50%, -50%) scale(0);
    }
    to {
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Wi-Fi Info Styles */
.wifi-info {
    background: linear-gradient(135deg, #f5f0e8 0%, #e8dfd0 100%);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(139, 79, 111, 0.1);
}

.wifi-info h3 {
    color: var(--burgundy);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
}

.wifi-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wifi-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.wifi-label {
    color: var(--burgundy);
    font-weight: 500;
    font-size: 1.1rem;
}

.wifi-value {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Textarea Styles */
.form-inputs textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e8dfd0;
    border-radius: 20px;
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    background: white;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 120px;
}

.form-inputs textarea:focus {
    outline: none;
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(139, 79, 111, 0.1);
}

.form-inputs textarea::placeholder {
    color: #999;
}

/* Mobile Responsive for Wi-Fi */
@media (max-width: 768px) {
    .wifi-info {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .wifi-info h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .wifi-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 1rem;
    }
    
    .wifi-label,
    .wifi-value {
        font-size: 1rem;
    }
}
