/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --success: #10b981;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-accent: #f3f4f6;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent horizontal scroll on mobile */
html {
    overflow-x: hidden;
}

/* Improve touch targets on mobile */
@media (hover: none) and (pointer: coarse) {
    button,
    a,
    input,
    .lang-option,
    .cta-button,
    .cta-button-nav {
        min-height: 44px;
        min-width: 44px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    font-size: 28px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Custom Language Select */
.custom-select-wrapper {
    position: relative;
}

.custom-select {
    position: relative;
    user-select: none;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.custom-select-trigger:hover {
    border-color: var(--primary);
}

.custom-select.open .custom-select-trigger {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.selected-flag {
    font-size: 18px;
    line-height: 1;
}

.selected-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.custom-arrow {
    font-size: 10px;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.custom-select.open .custom-arrow {
    transform: rotate(180deg);
}

.custom-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-option:hover {
    background: var(--bg-secondary);
}

.custom-option.active {
    background: rgba(99, 102, 241, 0.1);
}

.option-flag {
    font-size: 18px;
    line-height: 1;
}

.option-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.cta-button-nav {
    padding: 10px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background-image: url('images/banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.85) 0%, rgba(79, 70, 229, 0.75) 50%, rgba(236, 72, 153, 0.7) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.hero > .container {
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: fadeInDown 0.6s ease;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.6s ease 0.1s both;
}

.highlight {
    background: linear-gradient(135deg, #fbbf24, #fde047);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.3));
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-cta {
    animation: fadeInUp 0.6s ease 0.3s both;
}

.email-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 16px;
}

.email-input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.email-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Prevent zoom on iOS Safari */
@supports (-webkit-touch-callout: none) {
    .email-input {
        font-size: 16px;
    }
}

.cta-button {
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.form-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* Hero Visual */
.hero-image {
    margin-top: 60px;
    position: relative;
    height: 300px;
    z-index: 10;
}

.hero-visual {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 10px;
}

.sport-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    animation: floatIn 0.6s ease var(--delay) both;
    transition: all 0.3s ease;
}

.sport-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.sport-icon {
    font-size: 28px;
}

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

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 32px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 32px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 700;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-section .email-form {
    max-width: 500px;
}

.cta-section .email-input {
    background: rgba(255, 255, 255, 0.95);
}

.cta-section .cta-button {
    background: white;
    color: var(--primary);
}

.cta-section .cta-button:hover {
    background: var(--bg-secondary);
}

/* Footer */
.footer {
    padding: 60px 0 40px;
    background: var(--text-primary);
    color: white;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
}

.footer-logo .logo-image {
    height: 36px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-link:hover {
    color: white;
}

.footer-divider {
    color: rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 48px;
    border-radius: 24px;
    text-align: center;
    max-width: 400px;
    margin: 20px;
    animation: scaleIn 0.3s ease;
}

.modal-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.modal-text {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 16px;
}

.modal-button {
    padding: 14px 32px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-button:hover {
    background: var(--primary-dark);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Design */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 38px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Navigation */
    .nav-content {
        padding: 12px 0;
    }

    .logo-image {
        height: 32px;
    }

    .nav-right {
        gap: 10px;
    }

    .custom-select-trigger {
        padding: 6px 10px;
        gap: 4px;
        min-width: 100px;
    }

    .selected-flag {
        font-size: 16px;
    }

    .selected-text {
        font-size: 13px;
    }

    .option-flag {
        font-size: 16px;
    }

    .option-text {
        font-size: 13px;
    }

    .custom-option {
        padding: 10px 12px;
    }

    .cta-button-nav {
        padding: 8px 14px;
        font-size: 13px;
    }

    /* Hero Section */
    .hero {
        padding: 120px 0 60px;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 36px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .hero-badge {
        font-size: 13px;
        padding: 6px 16px;
    }

    .email-form {
        flex-direction: column;
        gap: 12px;
    }

    .email-input,
    .cta-button {
        width: 100%;
        padding: 14px 18px;
        font-size: 15px;
    }

    .hero-image {
        height: 250px;
        margin-top: 50px;
    }

    .sport-card {
        padding: 12px 18px;
        gap: 10px;
    }

    .sport-icon {
        font-size: 24px;
    }

    .sport-name {
        font-size: 14px;
    }

    /* Features Section */
    .features {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-card {
        padding: 28px;
    }

    .feature-icon {
        font-size: 40px;
        margin-bottom: 16px;
    }

    .feature-title {
        font-size: 20px;
    }

    .feature-description {
        font-size: 15px;
    }

    /* How It Works */
    .how-it-works {
        padding: 60px 0;
    }

    .steps {
        gap: 32px;
    }

    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 28px;
    }

    .step-number {
        width: 56px;
        height: 56px;
        font-size: 26px;
        margin-bottom: 16px;
    }

    .step-title {
        font-size: 22px;
    }

    .step-description {
        font-size: 15px;
    }

    /* CTA Section */
    .cta-section {
        padding: 80px 0;
    }

    .cta-title {
        font-size: 32px;
    }

    .cta-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }

    /* Footer */
    .footer {
        padding: 50px 0 30px;
    }

    .footer-logo .logo-image {
        height: 34px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 12px;
    }

    .footer-link {
        font-size: 14px;
    }

    /* Modal */
    .modal-content {
        padding: 36px 28px;
        max-width: 380px;
    }

    .modal-icon {
        font-size: 56px;
    }

    .modal-title {
        font-size: 24px;
    }

    .modal-text {
        font-size: 15px;
    }
}

/* Mobile Landscape / Large Phones */
@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    .hero-image {
        height: 220px;
    }

    .hero-visual {
        gap: 12px;
    }
}

/* Mobile Portrait / Small Phones */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    /* Navigation */
    .logo-image {
        height: 28px;
    }

    .nav-right {
        gap: 8px;
    }

    .custom-select-trigger {
        padding: 5px 8px;
        gap: 4px;
        min-width: 90px;
    }

    .selected-flag {
        font-size: 14px;
    }

    .selected-text {
        font-size: 12px;
    }

    .cta-button-nav {
        padding: 7px 12px;
        font-size: 12px;
    }

    /* Hero Section */
    .hero {
        padding: 100px 0 50px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 14px;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 26px;
        margin-bottom: 18px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 28px;
        line-height: 1.5;
    }

    .email-input,
    .cta-button {
        padding: 13px 16px;
        font-size: 14px;
    }

    .form-note {
        font-size: 13px;
    }

    .hero-image {
        height: 200px;
        margin-top: 40px;
    }

    .sport-card {
        padding: 10px 14px;
        gap: 8px;
    }

    .sport-icon {
        font-size: 20px;
    }

    .sport-name {
        font-size: 13px;
    }

    /* Sections Spacing */
    .features,
    .how-it-works,
    .cta-section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    /* Features */
    .features-grid {
        gap: 20px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .feature-icon {
        font-size: 36px;
        margin-bottom: 14px;
    }

    .feature-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .feature-description {
        font-size: 14px;
        line-height: 1.5;
    }

    /* How It Works */
    .steps {
        gap: 24px;
    }

    .step {
        padding: 24px 20px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-bottom: 14px;
    }

    .step-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .step-description {
        font-size: 14px;
        line-height: 1.5;
    }

    /* CTA Section */
    .cta-section {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 26px;
        margin-bottom: 14px;
    }

    .cta-subtitle {
        font-size: 14px;
        margin-bottom: 28px;
        line-height: 1.5;
    }

    /* Footer */
    .footer {
        padding: 40px 0 24px;
    }

    .footer-logo .logo-image {
        height: 32px;
    }

    .footer-text {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .footer-links {
        gap: 10px;
        font-size: 13px;
    }

    .footer-copyright {
        font-size: 13px;
        margin-top: 20px;
    }

    /* Modal */
    .modal-content {
        padding: 28px 20px;
        max-width: 320px;
        margin: 16px;
    }

    .modal-icon {
        font-size: 48px;
        margin-bottom: 16px;
    }

    .modal-title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .modal-text {
        font-size: 14px;
        margin-bottom: 24px;
        line-height: 1.5;
    }

    .modal-button {
        padding: 12px 28px;
        font-size: 15px;
    }
}

/* Extra Small Phones */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .hero-title {
        font-size: 22px;
    }

    .section-title {
        font-size: 22px;
    }

    .cta-title {
        font-size: 22px;
    }

    .logo-image {
        height: 24px;
    }

    .nav-right {
        gap: 6px;
    }

    .lang-option {
        padding: 4px 6px;
        font-size: 10px;
    }

    .cta-button-nav {
        padding: 6px 10px;
        font-size: 11px;
    }

    .hero-visual {
        gap: 8px;
    }

    .sport-card {
        padding: 8px 12px;
        font-size: 12px;
    }

    .sport-icon {
        font-size: 18px;
    }

    .sport-name {
        font-size: 12px;
    }

    .email-input,
    .cta-button {
        padding: 12px 14px;
        font-size: 14px;
    }

    .feature-card,
    .step {
        padding: 20px 16px;
    }
}

/* Extra Extra Small Phones (iPhone SE 1st gen, etc) */
@media (max-width: 320px) {
    .hero-title {
        font-size: 20px;
    }

    .section-title {
        font-size: 20px;
    }

    .cta-title {
        font-size: 20px;
    }

    .nav-content {
        padding: 10px 0;
    }

    .logo-image {
        height: 22px;
    }

    .nav-right {
        gap: 4px;
    }

    .custom-select-trigger {
        padding: 4px 8px;
        gap: 3px;
        min-width: 80px;
    }

    .selected-flag {
        font-size: 14px;
    }

    .selected-text {
        font-size: 11px;
    }

    .custom-arrow {
        font-size: 8px;
    }

    .cta-button-nav {
        padding: 5px 8px;
        font-size: 10px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .section-subtitle {
        font-size: 13px;
    }

    .sport-card {
        padding: 6px 10px;
    }
}

/* ================================================
   LEGAL PAGES STYLES (Privacy, Terms, Contact)
   ================================================ */

.legal-page {
    padding: 100px 0 60px;
    min-height: 80vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
}

.legal-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.legal-date {
    color: var(--text-secondary);
    font-size: 16px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.legal-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 12px;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-section ul {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-left: 24px;
    margin-bottom: 16px;
}

.legal-section li {
    margin-bottom: 8px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.back-link:hover {
    gap: 12px;
}

/* Contact Page Specific Styles */
.contact-page {
    padding: 100px 0 60px;
    min-height: 80vh;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.contact-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form-section {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.contact-form-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
    -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-info-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.contact-info-item {
    margin-bottom: 32px;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: 16px;
}

.contact-info-item-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.contact-info-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-info-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-info-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

/* Legal Pages Responsive */
@media (max-width: 768px) {
    .legal-title,
    .contact-title {
        font-size: 36px;
    }

    .legal-section h2,
    .contact-form-section h2,
    .contact-info-section h2 {
        font-size: 24px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-section {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .legal-page,
    .contact-page {
        padding: 80px 0 40px;
    }

    .legal-title,
    .contact-title {
        font-size: 28px;
    }

    .contact-subtitle {
        font-size: 16px;
    }

    .legal-section h2,
    .contact-form-section h2,
    .contact-info-section h2 {
        font-size: 22px;
    }
}

/* ============================================
   LEGAL PAGES STYLES (Privacy, Terms, Contact)
   ============================================ */

/* Legal Pages Common Styles */
.legal-page,
.contact-page {
    padding: 100px 0 60px;
    min-height: 80vh;
}

.legal-header,
.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.legal-title,
.contact-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.legal-date {
    color: var(--text-secondary);
    font-size: 16px;
}

.contact-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.legal-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 12px;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-section ul {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-left: 24px;
    margin-bottom: 16px;
}

.legal-section li {
    margin-bottom: 8px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.back-link:hover {
    gap: 12px;
}

/* Contact Page Specific Styles */
.contact-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form-section {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.contact-form-section h2,
.contact-info-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
    -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-info-item {
    margin-bottom: 32px;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: 16px;
}

.contact-info-item-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.contact-info-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-info-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-info-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

/* Legal Pages Responsive */
@media (max-width: 768px) {
    .legal-title,
    .contact-title {
        font-size: 36px;
    }

    .legal-section h2,
    .contact-form-section h2,
    .contact-info-section h2 {
        font-size: 24px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-section {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .legal-page,
    .contact-page {
        padding: 80px 0 40px;
    }

    .legal-title,
    .contact-title {
        font-size: 28px;
    }

    .contact-subtitle {
        font-size: 16px;
    }

    .legal-section h2,
    .contact-form-section h2,
    .contact-info-section h2 {
        font-size: 22px;
    }
}

