/* Reset & Base Styles */
:root {
    --bg-color: #050a14;
    --bg-secondary: #0f172a;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --primary-blue: #3b82f6;
    --primary-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --gradient-text: linear-gradient(135deg, #60a5fa, #c084fc);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --container-max: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img,
svg {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

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

.text-primary {
    color: var(--primary-blue);
}

/* Layout Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(5, 10, 20, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--primary-blue);
    background: rgba(59, 130, 246, 0.1);
}

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

.btn-white:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-blue);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero-subtext {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-features {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hero Visual Slider */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    overflow: hidden;
}

.visual-slider-container {
    width: 320px;
    height: 250px;
    position: relative;
    z-index: 2;
}

.visual-slider {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100px) rotateY(-10deg) scale(0.9);
    transition: all 0.8s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Keyframes for sliding animation */
@keyframes slideShow {

    0%,
    20% {
        opacity: 1;
        transform: translateX(0) rotateY(-10deg) rotateX(5deg) scale(1);
        pointer-events: auto;
        z-index: 5;
    }

    /* Slide 1 */
    25%,
    100% {
        opacity: 0;
        transform: translateX(-100px) rotateY(10deg) scale(0.9);
        pointer-events: none;
        z-index: 0;
    }
}

/* We need distinct animations for each slide with delays */
.slide:nth-child(1) {
    animation: slide1 16s infinite;
}

.slide:nth-child(2) {
    animation: slide2 16s infinite;
}

.slide:nth-child(3) {
    animation: slide3 16s infinite;
}

.slide:nth-child(4) {
    animation: slide4 16s infinite;
}

@keyframes slide1 {

    0%,
    20% {
        opacity: 1;
        transform: translateX(0) rotateY(-10deg) rotateX(5deg) scale(1);
        z-index: 5;
    }

    25%,
    100% {
        opacity: 0;
        transform: translateX(-50px) rotateY(10deg) scale(0.9);
        z-index: 0;
    }
}

@keyframes slide2 {

    0%,
    20% {
        opacity: 0;
        transform: translateX(50px) rotateY(-20deg) scale(0.9);
        z-index: 0;
    }

    25%,
    45% {
        opacity: 1;
        transform: translateX(0) rotateY(-10deg) rotateX(5deg) scale(1);
        z-index: 5;
    }

    50%,
    100% {
        opacity: 0;
        transform: translateX(-50px) rotateY(10deg) scale(0.9);
        z-index: 0;
    }
}

@keyframes slide3 {

    0%,
    45% {
        opacity: 0;
        transform: translateX(50px) rotateY(-20deg) scale(0.9);
        z-index: 0;
    }

    50%,
    70% {
        opacity: 1;
        transform: translateX(0) rotateY(-10deg) rotateX(5deg) scale(1);
        z-index: 5;
    }

    75%,
    100% {
        opacity: 0;
        transform: translateX(-50px) rotateY(10deg) scale(0.9);
        z-index: 0;
    }
}

@keyframes slide4 {

    0%,
    70% {
        opacity: 0;
        transform: translateX(50px) rotateY(-20deg) scale(0.9);
        z-index: 0;
    }

    75%,
    95% {
        opacity: 1;
        transform: translateX(0) rotateY(-10deg) rotateX(5deg) scale(1);
        z-index: 5;
    }

    100% {
        opacity: 0;
        transform: translateX(-50px) rotateY(10deg) scale(0.9);
        z-index: 0;
    }
}

.slide-label {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

/* --- Visual Elements Styles --- */

/* Glass Card (Payment) */
.glass-card {
    width: 320px;
    height: 200px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.card-number {
    position: absolute;
    bottom: 60px;
    left: 30px;
    font-family: monospace;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
}

.card-chip {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, #ffd700, #b8860b);
    border-radius: 6px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.card-lines {
    position: absolute;
    bottom: 25px;
    left: 30px;
    right: 30px;
    height: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.card-glare {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
    animation: glarePass 4s infinite;
}

/* Glass Ticket (Event) */
.glass-ticket {
    width: 320px;
    height: 160px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* Ticket notches */
.glass-ticket::before,
.glass-ticket::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--bg-color);
    /* Match background */
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    box-shadow: inset 2px 0 5px rgba(0, 0, 0, 0.5);
}

.glass-ticket::before {
    left: -15px;
    box-shadow: inset -1px 0 2px rgba(255, 255, 255, 0.1);
}

.glass-ticket::after {
    right: -15px;
    box-shadow: inset 1px 0 2px rgba(255, 255, 255, 0.1);
}

.ticket-header {
    position: absolute;
    top: 20px;
    left: 30px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-purple);
}

.ticket-stub {
    position: absolute;
    right: 70px;
    height: 80%;
    width: 1px;
    border-left: 2px dashed rgba(255, 255, 255, 0.2);
}

.ticket-barcode {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-family: monospace;
    font-size: 10px;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.ticket-glare {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.1) 40%, transparent 50%);
}

/* Glass Mobile (App) */
.glass-mobile {
    width: 160px;
    height: 280px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(6, 182, 212, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    position: relative;
    padding: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.mobile-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 12px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

.mobile-screen {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-top: 25px;
    gap: 8px;
}

.app-header {
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 10px 5px;
    border-radius: 4px;
}

.app-content-line {
    height: 8px;
    width: 70%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-left: 10px;
}

.app-content-block {
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    margin: 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Glass Analytics (Chart) */
.glass-analytics {
    width: 280px;
    height: 180px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.analytics-header {
    font-size: 1rem;
    font-weight: 600;
    color: #4ade80;
    margin-bottom: auto;
}

.analytics-bars {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 100px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.bar {
    flex: 1;
    background: linear-gradient(to top, rgba(74, 222, 128, 0.8), rgba(74, 222, 128, 0.2));
    border-radius: 4px 4px 0 0;
    transition: height 0.5s ease;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
}

@keyframes glarePass {
    0% {
        transform: translateX(-150%) rotate(45deg);
    }

    100% {
        transform: translateX(150%) rotate(45deg);
    }
}

/* Ecosystem Grid */
.ecosystem {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 16px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.icon-blue {
    background: rgba(59, 130, 246, 0.2);
    color: var(--primary-blue);
}

.icon-purple {
    background: rgba(139, 92, 246, 0.2);
    color: var(--primary-purple);
}

.icon-orange {
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
}

.icon-yellow {
    background: rgba(234, 179, 8, 0.2);
    color: #eab308;
}

.icon-green {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.icon-blue-dark {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

/* Stats Section */
.stats-section {
    padding: 100px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Chart Visual */
.chart-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    font-weight: 600;
}

.positive {
    color: #22c55e;
    font-size: 0.9rem;
}

.chart-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.chart-body {
    position: relative;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.1));
}

.cta-content {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 4rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    background: #020617;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.9rem;
    max-width: 300px;
    margin-top: 1rem;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

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

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.legal-links {
    display: flex;
    gap: 2rem;
}

/* Features Icon Fix */
.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    flex-shrink: 0;
    /* Prevent shrinking */
}

/* Responsive */
@media (max-width: 900px) {
    h1 {
        font-size: 2.5rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero-container,
    .stats-container,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero {
        text-align: center;
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero-subtext {
        margin: 0 auto 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Contact Modal Styles */
.modal {
    display: none;
    /* Flex when triggered */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(5, 10, 20, 0.8);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 900px;
    height: auto;
    max-height: 90vh;
    border-radius: 40px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    animation: modalSlideUp 0.4s ease-out;
    border: 3px solid #1e1e1e;
    padding: 0;
}

.modal-body {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    align-items: stretch;
    overflow: hidden;
    /* Ensure content stays within rounded corners */
}

@keyframes modalSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 25px;
    left: 25px;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    z-index: 20;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    transition: var(--transition);
}

.close-modal:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Left Panel: Contact Info */
.contact-info-panel {
    width: 40%;
    background-color: #ffffff;
    color: #0f172a;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow-y: auto;
    /* Allow independent scrolling */
    flex-shrink: 0;
    /* Prevent shrinking below 40% */
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

.contact-info-panel h3 {
    font-family: var(--font-heading);
    color: #0f172a;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    margin-top: 1rem;
    /* Space for close button */
}

.info-group {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: #e0f2fe;
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.info-group h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-size: 1rem;
    color: #0f172a;
}

.info-group p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

.info-group a {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: var(--transition);
}

.info-group a:hover {
    text-decoration-color: var(--primary-blue);
}

.modal-socials {
    margin-top: auto;
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

/* Right Panel: Form */
.contact-form-panel {
    flex: 1;
    background: var(--primary-blue);
    /* Blue background */
    color: var(--text-primary);
    /* Light text */
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    margin: 10px;
    /* Leave space around */
    border-radius: 30px;
    /* Rounded corners */
    align-self: stretch;
    height: auto;
    overflow-y: auto;
}

.contact-form-panel h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
    /* White text */
    background: none;
    -webkit-text-fill-color: initial;
    max-width: 90%;
}

.contact-form-panel p {
    color: #94a3b8;
    /* Lighter grey */
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e2e8f0;
    /* Light text */
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    /* Light border */
    color: #f8fafc;
    /* Light text */
    font-family: var(--font-body);
    font-size: 1.1rem;
    transition: var(--transition);
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #cbf963;
    /* Lime accent focus */
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
    /* Light placeholder */
}

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

.checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #e2e8f0;
    /* Light text */
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.checkbox-grid label:hover {
    color: #fff;
}

.checkbox-grid input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #cbf963;
    /* Lime check */
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.btn-dark {
    background: #cbf963;
    /* Lime Green Button */
    color: #050a14;
    /* Dark Text */
    border: none;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    margin-top: 1rem;
    cursor: pointer;
    transition: var(--transition);
    width: auto;
    align-self: flex-start;
}

.btn-dark:hover {
    background: #bef264;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(203, 249, 99, 0.2);
}

.btn-block {
    width: 100%;
}

/* Mobile Responsive */
/* Mobile Responsive */
@media (max-width: 768px) {
    .modal-content {
        flex-direction: column;
        height: auto;
        max-height: 95vh;
        /* Allow it to be tall on mobile */
        overflow-y: auto;
        /* Scroll whole modal on mobile */
        width: 95%;
    }

    .contact-info-panel,
    .contact-form-panel {
        width: 100%;
        padding: 2rem;
        height: auto;
        /* Allow auto height on mobile */
        overflow: visible;
        /* Let container scroll */
    }

    .contact-info-panel {
        padding-top: 4rem;
        /* For close button */
        gap: 1.5rem;
    }

    .contact-form-panel h2 {
        font-size: 2rem;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }
}

/* Ensure desktop scrolling if height is constrained */
@media (min-width: 769px) {
    .modal-content {
        max-height: 90vh;
        /* Cap height */
    }

    .contact-info-panel,
    .contact-form-panel {
        overflow-y: auto;
        /* Scroll panels independently if needed */
        scrollbar-width: thin;
        /* Firefox */
        height: 100%;
        /* Ensure full height */
    }

    /* Custom scrollbar for webkit */
    .contact-info-panel::-webkit-scrollbar,
    .contact-form-panel::-webkit-scrollbar {
        width: 6px;
    }

    .contact-info-panel::-webkit-scrollbar-thumb,
    .contact-form-panel::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.2);
        border-radius: 3px;
    }
}