:root {
    --bg-color: #05070a;
    --surface-color: #0f1218;
    --accent-primary: #3b82f6; /* Electric Blue */
    --accent-secondary: #8b5cf6; /* Indigo/Violet */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-grad: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    --shadow-premium: 0 20px 50px -12px rgba(0, 0, 0, 0.5);
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ── UTILITIES ─────────────────────────────────────────────────────────────── */

.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(59, 130, 246, 0.6);
}

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

.btn-secondary:hover {
    background: #f1f5f9;
    transform: scale(1.02);
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--text-secondary);
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* ── NAVBAR ────────────────────────────────────────────────────────────────── */

header {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

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

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

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

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-text span {
    color: var(--accent-primary);
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* ── HERO ──────────────────────────────────────────────────────────────────── */

.hero {
    padding: 180px 0 100px;
    background: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 40%);
}

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

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

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

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

.hero-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.avatars {
    display: flex;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--surface-color);
    border: 2px solid var(--bg-color);
    margin-right: -10px;
    background-size: cover;
}

.avatar:nth-child(1) { background-color: #3b82f6; }
.avatar:nth-child(2) { background-color: #8b5cf6; }
.avatar:nth-child(3) { background-color: #ec4899; }

/* ── HERO VISUAL (CARDS) ───────────────────────────────────────────────────── */

.hero-visual {
    position: relative;
    perspective: 1000px;
}

.main-card {
    background: var(--glass-grad);
    backdrop-filter: blur(40px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-premium);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.main-card:hover {
    transform: rotateY(0) rotateX(0);
}

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

.status { color: #10b981; }

.waveforms {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 80px;
    margin-bottom: 2rem;
}

.wave {
    flex: 1;
    background: var(--accent-primary);
    border-radius: 10px;
    animation: wave-anim 1.5s infinite ease-in-out;
}

.wave:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.wave:nth-child(2) { height: 80%; animation-delay: 0.2s; background: var(--accent-secondary); }
.wave:nth-child(3) { height: 60%; animation-delay: 0.3s; }
.wave:nth-child(4) { height: 30%; animation-delay: 0.4s; }

@keyframes wave-anim {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.5); }
}

.chat-bubble {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    font-size: 0.9375rem;
    border-bottom-right-radius: 2px;
    margin-bottom: 1.5rem;
}

.card-stats {
    display: flex;
    gap: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

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

.stat span {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.floating-box {
    position: absolute;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: float-anim 5s infinite ease-in-out;
}

.box-1 { top: -20px; right: 40px; border-left: 4px solid #10b981; }
.box-2 { bottom: 20px; left: -40px; border-left: 4px solid var(--accent-primary); animation-delay: 2s; }

@keyframes float-anim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ── FEATURES ─────────────────────────────────────────────────────────────── */

.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--surface-color);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.02);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* ── PRICING ───────────────────────────────────────────────────────────────── */

.pricing {
    padding: 100px 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 60%);
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--surface-color);
    border: 1px solid var(--accent-primary);
    border-radius: 32px;
    padding: 3rem;
    position: relative;
    box-shadow: 0 30px 60px -12px rgba(59, 130, 246, 0.2);
}

.pricing-header h3 {
    color: var(--accent-primary);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.price {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1;
}

.price span {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
}

.pricing-features li {
    padding-left: 1.75rem;
    position: relative;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 900;
}

.metered-heading {
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.metered-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.meter-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.meter-item .val {
    display: block;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.meter-item .lbl {
    font-size: 0.625rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── INDUSTRIES ───────────────────────────────────────────────────────────── */

.industries {
    padding: 100px 0;
}

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

.industry-card {
    background: var(--surface-color);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-10px);
}

.industry-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.industry-info {
    padding: 2rem;
}

.industry-info h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.industry-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── PRICING GRID ─────────────────────────────────────────────────────────── */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1300px;
    margin: 4rem auto 0;
}

.pricing-card {
    background: var(--surface-color);
    border-radius: 32px;
    padding: 3rem;
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--accent-primary);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.05) 0%, rgba(15, 23, 42, 1) 100%);
    transform: scale(1.05);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.price span {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li::before {
    content: "✓";
    color: var(--accent-primary);
    font-weight: 800;
}

.metered-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.metered-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: rgba(255,255,255,0.03);
    padding: 1rem;
    border-radius: 16px;
}

.meter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.meter-item .val {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent-primary);
}

.meter-item .lbl {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    .pricing-card.featured {
        transform: none;
        margin-top: 2rem;
    }
}

/* ── ADVANCED ──────────────────────────────────────────────────────────────── */

.advanced {
    padding: 120px 0;
}

.advanced-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    background: var(--surface-color);
    border-radius: 40px;
    padding: 5rem;
    border: 1px solid var(--border-color);
}

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

.emergency-button {
    width: 200px;
    height: 200px;
    position: relative;
    cursor: pointer;
}

.button-core {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #ef4444, #991b1b);
    border-radius: 50%;
    position: absolute;
    top: 40px;
    left: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 10px 40px rgba(239, 68, 68, 0.5);
    z-index: 2;
    border: 4px solid rgba(255,255,255,0.1);
}

.button-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(239, 68, 68, 0.2);
    border-radius: 50%;
    animation: button-pulse 2s infinite ease-out;
}

@keyframes button-pulse {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.2); opacity: 0; }
}

.advanced-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.advanced-list {
    list-style: none;
    margin-bottom: 3rem;
}

.advanced-list li {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.advanced-list li strong {
    color: var(--accent-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.success-stat {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: inline-block;
    font-weight: 700;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* ── CTA ───────────────────────────────────────────────────────────────────── */

.cta {
    padding: 100px 0;
}

.cta-container {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 40px;
    padding: 4rem;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.cta-container::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: white;
    opacity: 0.1;
    border-radius: 50%;
    top: -200px;
    right: -200px;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.demo-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.demo-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem;
    color: white;
    outline: none;
    font-family: inherit;
    font-size: 1rem;
}

.demo-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* ── FOOTER ────────────────────────────────────────────────────────────────── */

footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
    background: #020408;
}

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

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1.5rem;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

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

.footer-copy {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* ── SECTIONS ─────────────────────────────────────────────────────────────── */
.transformation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 100px 0;
}

.demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.demo-grid.secondary {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 40px;
}

.productivity-section {
    margin-top: 80px;
    padding: 60px;
    background: rgba(59, 130, 246, 0.03);
    border-radius: 24px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.productivity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.productivity-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ── PARTNER FORM ──────────────────────────────────────────────────────────── */
.partner-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .partner-form-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 1024px) {
    .container { padding: 0 1.25rem; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .hero h1 { font-size: 2.75rem; }
    .hero p { margin-left: auto; margin-right: auto; font-size: 1.125rem; }
    .hero-btns { justify-content: center; flex-direction: column; align-items: stretch; }
    .hero-btns .btn { width: 100%; }
    .hero-social { justify-content: center; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .advanced-grid { grid-template-columns: 1fr; gap: 3rem; padding: 3rem 1.5rem; text-align: center; }
    .advanced-content h2 { font-size: 2.25rem; }
    .floating-box { display: none; } /* Prevent overflow from floating boxes */
}

@media (max-width: 768px) {
    .hero { padding: 120px 0 60px; }
    .main-card { transform: none !important; margin: 0 auto; width: 100%; max-width: 350px; }
    .features-grid { grid-template-columns: 1fr; }
    .industry-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    nav { display: none; }
    
    .logo-text { font-size: 1.25rem; }
    
    .advanced-grid { 
        display: flex; 
        flex-direction: column; 
        padding: 2.5rem 1.25rem; 
        gap: 2.5rem;
    }
    
    .advanced-content h2 { font-size: 1.8rem; margin-bottom: 1.5rem; letter-spacing: -1px; }
    .advanced-list { text-align: left; }
    .advanced-list li { font-size: 1rem; }
    
    .emergency-button { width: 140px; height: 140px; }
    .button-core { width: 80px; height: 80px; top: 30px; left: 30px; font-size: 1rem; }
    .button-glow { width: 140px; height: 140px; }

    /* New Responsive Overrides */
    .transformation-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 60px 0 !important;
    }
    .transformation-content h2 {
        font-size: 2.2rem !important;
    }
    .visual-demo {
        padding: 60px 0 !important;
    }
    .demo-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .productivity-section {
        padding: 40px 20px !important;
    }
    .productivity-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .productivity-stats {
        gap: 15px !important;
    }
}
