/* ==========================================================================
   DESIGN TOKENS & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette - Dark & Blue/Cyan (AntiGravity Theme) */
    --color-bg-dark: #0B0E14; /* Deep dark background */
    --color-bg-panel: rgba(18, 22, 29, 0.7);
    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-hover: rgba(16, 185, 129, 0.4);
    
    --color-primary: #34D399; /* GitHub Blue */
    --color-secondary: #059669; /* GitHub Dark Blue */
    
    --gradient-primary: linear-gradient(135deg, #34D399 0%, #059669 100%);
    --gradient-text-primary: linear-gradient(90deg, #D1FAE5 0%, #34D399 45%, #059669 100%);
    
    --text-main: #E2E8F0;
    --text-muted: #94A3B8;
    --text-white: #FFFFFF;
    
    /* Font Families */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    
    /* Layout */
    --container-width: 1440px;
    --header-height: 70px;
    --ticker-height: 40px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    background-color: var(--color-bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--text-white); font-weight: 600; line-height: 1.2; }
a { color: inherit; text-decoration: none; transition: var(--transition-fast); }

.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 2rem; position: relative; z-index: 2; }
.text-gradient { background: var(--gradient-text-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--text-white); }
.text-primary { color: var(--color-primary); }
.font-space { font-family: 'Space Grotesk', sans-serif; }
.border-y { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.border-t { border-top: 1px solid var(--color-border); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    font-family: var(--font-body); font-weight: 700; text-align: center;
    border-radius: 50px; cursor: pointer; transition: var(--transition-normal);
}
.btn-lg { padding: 1.25rem 2.5rem; font-size: 1.15rem; }
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.95rem; }
.btn-primary { background: var(--color-primary); color: #000000; border: none; box-shadow: 0 0 25px rgba(16, 185, 129, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 35px rgba(16, 185, 129, 0.6); background: #34D399; }
.btn-secondary { background: rgba(255, 255, 255, 0.03); color: var(--text-white); border: 1px solid var(--color-border); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); }

@keyframes btnDance {
    0%, 100% { transform: translateY(0) scale(1) rotate(0); }
    25% { transform: translateY(-3px) scale(1.02) rotate(-2deg); }
    50% { transform: translateY(0) scale(1) rotate(0); }
    75% { transform: translateY(-3px) scale(1.02) rotate(2deg); }
}
.btn-dance {
    animation: btnDance 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    transform-origin: center;
}

/* Badges & Kickers */
.kicker-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.75rem; font-family: var(--font-body); font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.kicker-badge svg { color: var(--color-primary); }

.pill-badge {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.4rem 1.2rem; border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50px; font-family: monospace; font-size: 0.75rem;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--color-primary); background: rgba(16, 185, 129, 0.05);
    margin-bottom: 1.5rem;
}

.integrations-title { font-family: monospace; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--text-muted); margin-bottom: 1.5rem; }
.integrations-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; font-family: monospace; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }

/* Backgrounds & Glows */
.bg-glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.15; pointer-events: none; z-index: 0; }
.green-glow-top { width: 600px; height: 600px; top: -10%; left: -10%; background: var(--color-secondary); }
.green-glow-center { width: 500px; height: 500px; top: 20%; left: 30%; background: var(--color-primary); opacity: 0.1; }
.green-glow-bottom { width: 700px; height: 700px; top: 0; left: 50%; transform: translateX(-50%); background: var(--color-secondary); opacity: 0.08; }

.bg-grid-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at 50% 0%, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 40%, transparent 80%);
}

/* ==========================================================================
   TICKER BANNER
   ========================================================================== */
.ticker-banner {
    position: fixed; top: 0; left: 0; width: 100%; height: var(--ticker-height);
    background: rgba(13, 17, 23, 0.95); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
    display: flex; align-items: center; overflow: hidden; z-index: 100;
}
.ticker-content {
    display: flex; white-space: nowrap; gap: 3rem;
    animation: tickerScroll 35s linear infinite;
}
.ticker-content:hover { animation-play-state: paused; }
.ticker-content span { font-size: 0.75rem; font-family: monospace; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); display: flex; align-items: center; gap: 0.75rem;}
.ticker-content span::before { content: ""; display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--color-primary); }

@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ==========================================================================
   HEADER
   ========================================================================== */
.main-header {
    position: fixed; top: var(--ticker-height); left: 0; width: 100%; height: var(--header-height);
    background: rgba(13, 17, 23, 0.7); backdrop-filter: blur(12px); border-bottom: 1px solid transparent;
    display: flex; align-items: center; z-index: 90; transition: var(--transition-normal);
}
.main-header.scrolled { border-bottom-color: var(--color-border); }
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; color: var(--text-white); }
.logo-icon { color: var(--color-primary); }
.desktop-nav { display: none; gap: 2rem; }
.desktop-nav a { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }
.desktop-nav a:hover { color: var(--text-white); }

/* ==========================================================================
   HERO SECTION & CONSOLE MOCKUP
   ========================================================================== */
.hero-title { font-size: 5rem; letter-spacing: -0.02em; line-height: 1.05; font-weight: 800; }
.hero-subtitle { font-size: 1.4rem; color: var(--text-muted); max-width: 700px; line-height: 1.6; font-weight: 500; }

.hero-visual-container { display: flex; flex-direction: column; gap: 1.25rem; width: 100%; max-width: 750px; margin-left: auto; }

.console-mockup {
    background: #11151C;
    border: 1px solid var(--color-border); border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    overflow: hidden; position: relative; z-index: 5;
    width: 100%;
}
.console-header {
    background: #1F2937; border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 1rem; display: flex; align-items: center; justify-content: space-between;
}
.console-dots { display: flex; gap: 6px; }
.console-dots span { width: 10px; height: 10px; border-radius: 50%; background: #374151; }
.console-dots span:nth-child(3) { background: var(--color-primary); }
.console-title { font-family: monospace; font-size: 0.75rem; color: var(--text-muted); }
.console-status { display: flex; align-items: center; gap: 6px; font-family: monospace; font-size: 0.7rem; color: var(--color-primary); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary); animation: pulseGreen 2s infinite; }

.console-body {
    padding: 1.5rem; height: 260px; overflow: hidden; display: flex; flex-direction: column; gap: 0.8rem;
    font-family: monospace; font-size: 0.85rem; line-height: 1.5;
}
.console-line { color: var(--text-main); animation: slideUpFade 0.4s ease-out forwards; display: flex; justify-content: space-between; gap: 0.5rem; opacity: 0; }
.line-content { display: flex; gap: 0.75rem; align-items: flex-start; }
.c-accent { color: var(--color-primary); font-weight: bold; }
.c-check { color: var(--color-primary); font-weight: bold; }

.countdown-widget { background: #11151C; padding: 1.5rem 2rem; border: 1px solid var(--color-border); border-radius: 12px; display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 1rem; }
.countdown-label { font-size: 0.85rem; font-family: monospace; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-primary); font-weight: 600; }
.countdown-sublabel { font-size: 0.9rem; color: var(--text-muted); margin-top: 4px; }
.countdown-timer { display: flex; gap: 1.2rem; align-items: center; }
.cd-block { display: flex; flex-direction: column; align-items: center; }
.cd-num { font-family: 'Space Grotesk', sans-serif; font-size: 2.8rem; font-weight: 700; color: var(--text-white); line-height: 1; }
.cd-lbl { font-size: 0.7rem; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.1em; margin-top: 8px; }
.cd-sep { color: var(--text-muted); font-size: 2rem; line-height: 1; margin-top: -1.5rem; }

/* ==========================================================================
   SECTIONS (SHIFT, CAPABILITIES, BONUSES, PHILOSOPHY)
   ========================================================================== */
.section-title { font-size: 2.75rem; letter-spacing: -0.02em; }
.section-desc { font-size: 1.1rem; color: var(--text-muted); line-height: 1.7; }

/* Capability Cards */
.feature-card {
    background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 16px;
    padding: 2rem; transition: var(--transition-normal); backdrop-filter: blur(10px);
}
.feature-card:hover { background: rgba(0, 0, 0, 0.4); border-color: rgba(16, 185, 129, 0.2); }
.feature-icon { width: 40px; height: 40px; border-radius: 8px; background: transparent; border: 1px solid rgba(16, 185, 129, 0.3); color: var(--color-primary); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; transition: var(--transition-fast); }
.feature-card:hover .feature-icon { border-color: rgba(16, 185, 129, 0.6); box-shadow: 0 0 15px rgba(16, 185, 129, 0.15); }
.feature-title { font-size: 1.15rem; margin-bottom: 0.5rem; font-weight: 700; color: white; }
.feature-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* Bonus Cards */
.bonus-card {
    background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 16px;
    padding: 2rem 1.5rem; display: flex; flex-direction: row; align-items: flex-start; gap: 1.25rem; backdrop-filter: blur(10px); transition: var(--transition-normal);
}
.bonus-card:hover { background: rgba(0, 0, 0, 0.4); border-color: rgba(16, 185, 129, 0.2); }
.bonus-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 8px; background: transparent; border: 1px solid rgba(16, 185, 129, 0.3); color: var(--color-primary); display: flex; align-items: center; justify-content: center; }
.bonus-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.25rem; width: 100%; }
.bonus-title { font-size: 1.15rem; font-weight: 700; color: white; }
.bonus-tag { font-size: 0.6rem; font-family: monospace; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.25rem 0.6rem; border-radius: 50px; border: 1px solid rgba(16, 185, 129, 0.5); color: var(--color-primary); }
.bonus-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; margin-top: 0.25rem; }

/* Philosophy Cards */
.philosophy-card { padding: 2.5rem 2rem; border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 16px; background: rgba(0, 0, 0, 0.2); backdrop-filter: blur(10px); }
.p-num { font-family: monospace; font-size: 0.8rem; color: var(--color-primary); margin-bottom: 0.75rem; display: block; }
.p-title { font-size: 1.05rem; margin-bottom: 0.5rem; }
.p-desc { font-size: 0.85rem; color: var(--text-muted); }

/* ==========================================================================
   PRICING & GUARANTEES
   ========================================================================== */
.pricing-card {
    background: #6EE7B716; border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 16px;
    padding: 3rem 2.5rem; box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.pricing-amount { display: flex; align-items: baseline; gap: 0.5rem; }
.price { font-size: 3.5rem; font-weight: 700; color: var(--text-white); line-height: 1; letter-spacing: -0.02em; font-family: var(--font-heading); }
.interval { font-size: 0.9rem; color: var(--text-muted); }
.original-price { font-size: 1rem; color: var(--text-muted); text-decoration: line-through; text-decoration-color: var(--color-primary); }
.pricing-features li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.95rem; color: #d1d5db; }
.pricing-features li svg { flex-shrink: 0; margin-top: 2px; }

.upsell-box { border: 1px dashed rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.02); border-radius: 8px; padding: 1.25rem; }

.guarantee-card { display: flex; flex-direction: column; align-items: center; }
.g-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(52, 211, 153, 0.1); color: var(--color-primary); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.g-title { font-size: 1.05rem; margin-bottom: 0.5rem; }
.g-desc { font-size: 0.85rem; color: var(--text-muted); }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-card {
    background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 16px;
    padding: 1.5rem; display: flex; flex-direction: column; height: 100%;
}
.t-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.t-avatar { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(16, 185, 129, 0.3); background: rgba(16, 185, 129, 0.08); color: var(--color-primary); font-size: 0.75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.t-name { font-size: 0.9rem; font-weight: 600; color: var(--text-white); }
.t-loc { font-size: 0.75rem; color: var(--text-muted); }
.t-quote { font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.85); flex: 1; }
.t-date { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-top: 1rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.06); cursor: pointer; }
.faq-item:first-child { border-top: 1px solid rgba(255,255,255,0.06); }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; font-size: 1rem; font-weight: 500; color: var(--text-white); gap: 1rem; user-select: none; }
.faq-q:hover { color: var(--color-primary); }
.faq-icon { flex-shrink: 0; color: var(--text-muted); transition: transform 0.3s ease; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { padding-bottom: 1.25rem; font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--color-primary); }
.faq-item.open .faq-a { max-height: 300px; }


/* ==========================================================================
   ANIMATIONS & UTILITIES
   ========================================================================== */
@keyframes slideUpFade { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulseGreen { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
.animate-pulse-green { animation: pulseGreen 3s ease-in-out infinite; }

.pt-32 { padding-top: 8rem; }
.pb-20 { padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-28 { padding-top: 7rem; padding-bottom: 7rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mb-12 { margin-bottom: 3rem; }

/* Tailwind-ish Grid & Flex Classes */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }

.grid { display: grid; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
@media (min-width: 640px) { 
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); } 
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); } 
    .sm\:flex-row { flex-direction: row; }
}
@media (min-width: 768px) { .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); } .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); } .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); } .desktop-nav { display: flex; } }

@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .section-title { font-size: 2.2rem; }
    .hero-content { text-align: center; display: flex; flex-direction: column; align-items: center; }
}

@media (max-width: 768px) {
    /* Adjust paddings */
    .pt-32 { padding-top: 5rem; }
    .pb-20 { padding-bottom: 3rem; }
    .py-24, .py-28 { padding-top: 4rem; padding-bottom: 4rem; }
    .mt-16 { margin-top: 2rem; }
    
    /* Typography */
    .hero-title { font-size: 2.5rem !important; }
    .hero-subtitle { font-size: 1.15rem !important; }
    .section-title { font-size: 2rem !important; line-height: 1.15 !important; }
    .price { font-size: 3rem !important; }

    /* Layout tweaks */
    .container { padding: 0 1.25rem; }
    .pricing-card { padding: 2rem 1.5rem; }
    .pricing-card-header { flex-direction: column; align-items: flex-start !important; gap: 1rem; }
    .pricing-card-header .text-right { text-align: left; padding-bottom: 0; }
    .btn-lg { padding: 1rem 1.5rem; font-size: 1.05rem; }
    .hero-actions { width: 100%; flex-direction: column; gap: 1rem; }
    .hero-actions .btn { width: 100%; }
    
    .countdown-widget { flex-direction: column; text-align: center; gap: 1.5rem; padding: 1.5rem 1rem; }
    .countdown-timer { justify-content: center; flex-wrap: wrap; gap: 1rem; }
    
    /* Make background glows fit screen width */
    .bg-glow { max-width: 100vw; height: 100vw; }
    
    /* Center elements */
    .text-left { text-align: center; }
    .guarantee-card, .philosophy-card { padding: 1.5rem; }
    .integrations-list { gap: 1rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.1rem !important; }
    .section-title { font-size: 1.7rem !important; line-height: 1.15 !important; }
    .cd-num { font-size: 2.2rem !important; }
    .cd-sep { font-size: 1.5rem !important; }
    .ticker-content span { font-size: 0.65rem !important; }
}
