:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #171717;
    --border-color: #262626;
    --text-primary: #f5f5f5;
    /* Improved contrast - changed from #a3a3a3 to #c7c7c7 for better readability */
    --text-secondary: #c7c7c7;
    /* Improved contrast - changed from #737373 to #9ca3af for WCAG AA compliance */
    --text-muted: #9ca3af;
    --text-dark: #d4d4d4;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.container-content {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container-content {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container-content {
        padding: 0 2rem;
    }
}

.container-cta {
    max-width: 896px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

@media (min-width: 640px) {
    .container-cta {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container-cta {
        padding: 0 2rem;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.logo-img-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background: white;
    overflow: hidden;
    border: 2px solid #d4d4d4;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-mobile {
    display: none;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .nav-mobile {
        display: none !important;
    }
}

.nav-mobile.active {
    display: flex;
}

.nav-link-mobile {
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link-mobile:hover {
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background-color: var(--text-dark);
}

.btn-secondary {
    background-color: #262626;
    color: white;
    border: 2px solid #525252;
}

.btn-secondary:hover {
    background-color: #404040;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1rem;
    padding-top: 80px;
}

@media (min-width: 640px) {
    .hero {
        padding: 5rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 5rem 2rem;
    }
}

.hero-content {
    max-width: 1024px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-description {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0 auto 3rem;
    max-width: 768px;
    line-height: 1.7;
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 1.125rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* Sections */
.section {
    padding: 6rem 1rem;
}

@media (min-width: 640px) {
    .section {
        padding: 6rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: 6rem 2rem;
    }
}

.section-alt {
    background-color: var(--bg-secondary);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (min-width: 640px) {
    .section-text {
        font-size: 1.25rem;
    }
}

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

.mb-64 {
    margin-bottom: 4rem;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Cards */
.card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: border-color 0.3s ease;
}

.card:hover {
    border-color: #404040;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Feature Items */
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-dot {
    width: 8px;
    height: 8px;
    background-color: var(--text-muted);
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.feature-text {
    font-size: 1.125rem;
    color: var(--text-dark);
    line-height: 1.7;
}

/* Vision & Mission */
.vm-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .vm-title {
        font-size: 1.875rem;
    }
}

.vm-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* CTA Section */
.cta-title {
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .cta-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .cta-title {
        font-size: 3rem;
    }
}

.cta-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
}

@media (min-width: 640px) {
    .cta-text {
        font-size: 1.25rem;
    }
}

/* Contact */
.contact-title {
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .contact-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .contact-title {
        font-size: 3rem;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.contact-value {
    font-size: 1.125rem;
    color: var(--text-dark);
    text-decoration: none;
}

.contact-value:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 1rem;
}

@media (min-width: 640px) {
    .footer {
        padding: 3rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .footer {
        padding: 3rem 2rem;
    }
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Animations */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

body.js-loaded .fade-in {
    opacity: 0;
    transform: translateY(2rem);
}

.fade-in.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.delay-0 {
    transition-delay: 0ms;
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

.delay-600 {
    transition-delay: 600ms;
}

/* Cookie Consent Banner */
#cookieBanner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(23, 23, 23, 0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.5);
    transition: bottom 0.3s ease-out;
}

#cookieBanner.show {
    bottom: 0;
}

.cookie-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content {
    flex: 1;
    min-width: 250px;
}

.cookie-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.cookie-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.cookie-text a {
    color: var(--text-primary);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.cookie-text a:hover {
    color: var(--text-dark);
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.625rem 1.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

.cookie-btn-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.cookie-btn-primary:hover {
    background: var(--text-dark);
    transform: translateY(-1px);
}

.cookie-btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.cookie-btn-secondary:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
}

.cookie-btn-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    transition: color 0.2s ease;
    margin-left: auto;
}

.cookie-btn-close:hover {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    #cookieBanner {
        padding: 1rem;
    }

    .cookie-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.5rem;
    }

    .cookie-btn-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        margin: 0;
    }

    .cookie-content {
        padding-right: 2rem;
    }
}


@media (max-width: 480px) {
    .cookie-title {
        font-size: 1rem;
    }

    .cookie-text {
        font-size: 0.8125rem;
    }
}

/* ============================================
   Product Card (CanAtDoor)
   ============================================ */
.product-card {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #141414 100%);
    border: 1px solid #2a2a2a;
    border-radius: 1rem;
    padding: 2.5rem;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    border-color: #f59e0b55;
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.08);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #f59e0b, #fb923c);
    border-radius: 1rem 1rem 0 0;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 999px;
    padding: 0.3rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 1.5rem;
}

.product-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #f59e0b;
    border-radius: 50%;
    animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.7);
    }
}

.product-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.product-inner .product-visual {
    order: -1;
    text-align: center;
}

.product-inner .product-visual .product-icon-wrap {
    max-width: 120px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .product-inner {
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .product-inner .product-visual {
        order: 0;
    }

    .product-inner .product-visual .product-icon-wrap {
        max-width: none;
        margin: 0;
    }
}

.product-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .product-title {
        font-size: 2.5rem;
    }
}

.product-tagline {
    font-size: 1.1rem;
    color: #f59e0b;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.product-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.75rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1.5rem;
}

@media (max-width: 480px) {
    .product-features {
        grid-template-columns: 1fr;
    }
}

.product-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding-left: 1.2rem;
    position: relative;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #f59e0b;
    font-weight: 700;
    font-size: 0.8rem;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 500;
}

.product-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon-wrap {
    width: 120px;
    height: 120px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.product-card:hover .product-icon-wrap {
    transform: scale(1.05);
    background: rgba(245, 158, 11, 0.13);
}

.product-icon {
    font-size: 3.5rem;
}

/* ============================================
   CanAtDoor Page Styles
   ============================================ */

/* WhatsApp Button */
.btn-whatsapp {
    background: #25d366;
    color: #fff;
    font-weight: 600;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-whatsapp:hover {
    background: #1ebe59;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* Product Actions */
.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

/* Hero Product variant */
.hero-product {
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 210, 255, 0.07) 0%, transparent 70%);
}

/* Brand badge on product page hero */
.cad-brand-badge {
    display: inline-block;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.2);
    color: #00D2FF;
    border-radius: 999px;
    padding: 0.3rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

/* CanAtDoor Card Icon */
.cad-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.cad-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* How It Works Steps */
.cad-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 680px;
    margin: 0 auto;
}

.cad-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
}

.cad-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 23px;
    top: 48px;
    bottom: -1.5rem;
    width: 2px;
    background: linear-gradient(to bottom, rgba(0, 210, 255, 0.3), rgba(0, 210, 255, 0.1));
}

.cad-step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(0, 210, 255, 0.12);
    border: 2px solid rgba(0, 210, 255, 0.3);
    border-radius: 50%;
    color: #00D2FF;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.cad-step-content {
    padding-top: 0.6rem;
    padding-bottom: 2rem;
}

.cad-step-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.cad-step-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* Brand Attribution Section */
.cad-brand-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cad-brand-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cad-brand-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.cad-brand-link:hover {
    opacity: 0.8;
}

.cad-brand-logo {
    border-radius: 0.375rem;
    background: white;
    border: 2px solid #d4d4d4;
}

.cad-brand-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.cad-brand-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 580px;
    line-height: 1.7;
    text-align: center;
}

.cad-brand-url {
    font-size: 0.9rem;
    color: #00D2FF;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 210, 255, 0.3);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.cad-brand-url:hover {
    color: #33dbff;
    border-color: rgba(51, 219, 255, 0.5);
}

/* Dealer Registration Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 450px;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.modal-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #00D2FF;
    background: rgba(0, 210, 255, 0.05);
}

/* Phone input with +91 prefix */
.phone-input-wrap {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.phone-input-wrap:focus-within {
    border-color: #00D2FF;
    background: rgba(0, 210, 255, 0.05);
}

.phone-prefix {
    padding: 0.8rem 0.8rem 0.8rem 1rem;
    color: #00D2FF;
    font-weight: 600;
    font-size: 1rem;
    border-right: 1px solid var(--border-color);
    white-space: nowrap;
    user-select: none;
}

.phone-input-wrap input {
    border: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding-left: 0.8rem !important;
}

.phone-input-wrap input:focus {
    border: none !important;
    outline: none;
}

.form-hint {
    font-size: 0.8rem;
    display: block;
}