/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --bittersweet: #FA7561;
    --platinum: #E9E2DF;
    --night: #141414;
    --tan: #DAB785;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-light: #6b6b6b;
    --background-light: #f8f8f8;
    --border-light: #d1d1d1;
    --success-green: #10b981;
    --error-red: #ef4444;

    /* Shadows */
    --shadow: 0 4px 24px rgba(20, 20, 20, 0.07);
    --shadow-hover: 0 8px 32px rgba(20, 20, 20, 0.12);

    /* Spacing */
    --section-spacing: 1rem;  /* Reduced from 8rem to 3rem */
    --content-width: 1200px;
    --section-padding: 1rem;
}

/* Global styles */
html, body {
    background: var(--platinum);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--platinum);
}

/* Section base styles */
.section {
    width: 100%;
    padding: var(--section-spacing) var(--section-padding);
    position: relative;
}

.section-container {
    max-width: var(--content-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;  /* Reduced from 4rem to 3rem */
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.accent-line {
    width: 80px;
    height: 4px;
    background: var(--bittersweet);
    margin: 1rem auto 2rem;
    border-radius: 2px;
    opacity: 0.8;
}

.section-description {
    font-size: clamp(1.1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.immersion-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
}

.immersion-feature {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.immersion-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bittersweet);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.immersion-feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.immersion-feature:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    color: var(--bittersweet);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.immersion-feature:hover .feature-icon {
    transform: scale(1.1);
}

.feature-content {
    text-align: left;
}

.feature-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Hero Section */
.hero {
    padding-top: 3rem;  /* Reduced from 4rem */
    padding-bottom: 4rem;  /* Reduced from 6rem */
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(252, 158, 79, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(237, 211, 130, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem, 10vw, 5.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--bittersweet) 0%, var(--tan) 150%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* text-fill-color: transparent; */
    text-align: center;
    position: relative;
}
.hero-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    margin: 0.5rem auto 0 auto;
    background: var(--bittersweet);
    border-radius: 2px;
    opacity: 0.8;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.email-section {
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.hero-tagline {
    display: block;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: var(--bittersweet);
    font-weight: 500;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Enhanced Immersion Section */
.immersion-section {
    background: var(--platinum);
    position: relative;
    overflow: hidden;
}

.immersion-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(250, 117, 97, 0.08) 0%, transparent 70%);
    transform: rotate(-15deg);
    pointer-events: none;
    z-index: 0;
}

.immersion-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Email Section */
.email-input-container {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 50px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.email-input-container:focus-within {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
    border-color: var(--bittersweet);
}

.email-input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: inherit;
    background: transparent;
    color: var(--text-primary);
}

.email-input::placeholder {
    color: var(--text-light);
    opacity: 0.8;
}

.email-button {
    background: var(--bittersweet);
    color: var(--platinum);
    border: none;
    padding: 1.2rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: var(--shadow);
    transition: background 0.2s;
}

.email-button:hover {
    background: var(--tan);
    color: var(--night);
    transform: translateX(2px);
}

.email-button svg {
    transition: transform 0.3s ease;
}

.email-button:hover svg {
    transform: translateX(3px);
}

/* Info Section */
.info-section {
    background: var(--platinum);
    padding: 4rem 2rem;
    position: relative;
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(252, 158, 79, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(237, 211, 130, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.info-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    color: var(--text-primary);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--bittersweet);
}

/* Subtle accent for icons */
.info-icon {
    color: var(--bittersweet);
    margin-bottom: 1.5rem;
    filter: none;
}

.info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--bittersweet);
}

.info-card p {
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 1rem;
}

/* How It Works Section */
.how-it-works {
    text-align: center;
    max-width: 800px;
    margin: 10rem auto 0;  /* Increased top margin from default to 10rem */
}

.how-it-works h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--bittersweet);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .steps {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .steps {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--bittersweet);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    border: 2px solid var(--bittersweet);
}

.step-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--bittersweet);
}

.step-content p {
    color: var(--text-primary);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem;
    background: transparent;
}

/* Form Section */
.form-section {
    background: var(--platinum);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease;
}

.form-container {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.form-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--bittersweet);
}

.form-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.user-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.form-input {
    padding: 1rem 1.2rem;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
    color: var(--text-primary);
}

.form-input:focus {
    outline: none;
    border-color: var(--bittersweet);
    box-shadow: 0 0 0 3px rgba(250, 117, 97, 0.1);
}

.form-input::placeholder {
    color: var(--text-light);
    opacity: 0.8;
}

/* Language Buttons */
.language-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.language-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: 16px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    transition: border 0.2s, background 0.2s;
}

.language-btn:hover {
    border-color: var(--bittersweet);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.language-btn.selected {
    border-color: var(--bittersweet);
    background: var(--bittersweet);
    color: white;
    box-shadow: var(--shadow);
}

.language-flag {
    font-size: 2rem;
}

.language-name {
    font-weight: 600;
    color: var(--text-primary);
}

/* Submit Button */
.submit-button {
    background: var(--bittersweet);
    color: var(--platinum);
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-top: 1rem;
    box-shadow: var(--shadow);
    transition: background 0.2s;
}

.submit-button:hover {
    background: var(--tan);
    color: var(--night);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Success Section */
.success-section {
    background: var(--platinum);
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 0.6s ease;
}

.success-container {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.success-icon {
    color: var(--bittersweet);
    margin-bottom: 1.5rem;
}

.success-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--bittersweet);
}

.success-message {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.success-details {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: left;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.success-details p {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.success-details p:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    width: 100%;
    background: var(--night);
    color: var(--platinum);
    text-align: center;
    padding: 2rem 0 2rem 0;
    font-size: 0.9rem;
    margin-top: 60px;
    border-top: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for immersion section */
@media (max-width: 1024px) {
    .immersion-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .immersion-feature {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 768px) {
    .immersion-section {
        margin: 6rem auto;
    }
    
    .immersion-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-header {
        margin-bottom: 2rem;  /* Reduced from 3rem */
    }
    
    .immersion-feature {
        padding: 2rem;
    }
    
    .feature-content h4 {
        font-size: 1.3rem;
    }
    
    .feature-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .form-title,
    .success-title {
        font-size: 2rem;
    }
    
    .language-buttons {
        grid-template-columns: 1fr;
    }
} 