@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Magic UI Theme */
    --bg-dark: #0b0f19;
    --bg-card: #151e2e;
    --bg-card-hover: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-blue: #0ea5e9;
    --accent-blue-hover: #0284c7;
    --accent-cyan: #ff8c82;
    --accent-cyan-hover: #ff6b5c;
    --border-light: rgba(255, 255, 255, 0.1);
    --success: #10b981;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
}

html, body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; }
h1 { font-size: clamp(2.5rem, 8vw, 5rem); letter-spacing: -2px; }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -1px; text-align: center; margin-bottom: 4rem; }

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

.text-red {
    color: var(--accent-cyan);
}

.text-white {
    color: #ffffff;
}

.text-gradient {
    color: var(--accent-cyan);
}

/* Hero Video Background */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Shimmer Button - Simplified */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-cyan);
    color: #000 !important; /* Force black text for high contrast */
    box-shadow: 0 4px 20px rgba(255, 140, 130, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-cyan-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 140, 130, 0.5);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-main);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-blue);
}

/* Marquee - Simplified */
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - 2rem)); }
}

.marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 2rem;
    padding: 3rem 0;
    background: rgba(0,0,0,0.1);
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    min-width: 100%;
    animation: marquee 30s linear infinite;
}

.marquee-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    opacity: 0.5;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
    margin-bottom: 6rem;
}

.bento-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-height: 250px;
}

.bento-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.4;
    transition: var(--transition);
}

.bento-item:hover img {
    opacity: 0.6;
    transform: scale(1.05);
}

.bento-item h3, .bento-item p {
    position: relative;
    z-index: 1;
}

.bento-item-1 { grid-column: span 2; grid-row: span 2; background-color: var(--bg-card); border: 1px solid var(--accent-blue); }
.bento-item-2 { grid-column: span 2; }
.bento-item-3 { grid-column: span 1; }
.bento-item-4 { grid-column: span 1; }

@media (max-width: 992px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .bento-item { grid-column: span 1 !important; grid-row: span 1 !important; }
}

/* Solid Card for Form */
.neon-card-container {
    position: relative;
    border-radius: 24px;
    background: var(--bg-card);
    border: 2px solid var(--accent-cyan);
    overflow: hidden;
}

.neon-card-container::before {
    display: none;
}

.neon-card-content {
    position: relative;
    background: var(--bg-card);
    border-radius: 22px;
    padding: 3rem;
    z-index: 1;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(11, 15, 25, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    padding: 1.2rem 0;
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; gap: 0.5rem; text-decoration: none; color: #fff; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: #fff; font-weight: 500; transition: var(--transition); }
.nav-links a:hover { color: var(--accent-blue); }

.nav-mobile-ctas {
    display: none;
}

/* Mobile Navbar */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 768px) {
    .nav-mobile-ctas {
        display: flex;
        gap: 0.5rem;
        margin-left: auto;
        margin-right: 1rem;
    }

    .nav-mobile-ctas .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
        border-radius: 4px;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: 0.3s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        z-index: 1000;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 700;
    }

    .nav-links.active {
        right: 0;
    }

    .logo span {
        font-size: 1rem;
    }

    .logo svg {
        width: 24px;
        height: 24px;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Sections */
section { padding: 8rem 0; position: relative; }

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-tag { display: inline-block; padding: 0.5rem 1.25rem; background: rgba(14, 165, 233, 0.1); border: 1px solid var(--accent-blue); border-radius: 50px; font-weight: 600; color: var(--accent-blue); margin-bottom: 2rem; font-size: 0.85rem; letter-spacing: 1px; }
.hero-subtitle { font-size: 1.4rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 3.5rem; }
.hero-ctas { display: flex; gap: 1.5rem; justify-content: center; }

@media (max-width: 600px) {
    .hero {
        padding-top: 80px;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    .hero-ctas {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-ctas .btn {
        width: 100%;
    }
}

/* Forms */
.form-group { margin-bottom: 1.5rem; }
label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; color: var(--text-muted); font-weight: 600; }
input, select, textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: var(--transition);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent-blue); background: rgba(255,255,255,0.06); }

/* Responsive Grid for Forms */
.quote-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .quote-form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* FAQ - Larger and Snappier */
.faq-item { background: var(--bg-card); border-radius: 16px; margin-bottom: 1.5rem; border: 1px solid var(--border-light); overflow: hidden; }
.faq-header { padding: 2rem 2.5rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 700; width: 100%; background: none; border: none; color: #fff; text-align: left; font-size: 1.4rem; }

.faq-content { 
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted); 
    font-size: 1.15rem;
}

.faq-content-inner {
    overflow: hidden;
    padding: 0 2.5rem;
    transition: padding 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-content { 
    grid-template-rows: 1fr; 
}

.faq-item.active .faq-content-inner {
    padding: 0 2.5rem 2.5rem;
}

.faq-icon { transition: transform 0.15s ease; font-size: 2rem; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* Animation Classes */
.animate-on-scroll { opacity: 0; transform: translateY(30px); filter: blur(10px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); filter: blur(0); }

/* Footer */
footer { background: #05080c; padding: 6rem 0 3rem; border-top: 1px solid var(--border-light); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-bottom { border-top: 1px solid var(--border-light); padding-top: 2rem; display: flex; justify-content: space-between; color: var(--text-muted); font-size: 0.9rem; }
