:root {
    --bg: #0f141e; /* Antigravity Deep Navy */
    --card: #151b27;
    --card-hover: #1c2331;
    --accent: #58a6ff; /* Antigravity Blue */
    --accent-dim: rgba(88, 166, 255, 0.1);
    --accent2: #bc8cff; /* Antigravity Purple */
    --text: #e6edf3;
    --subtext: #8b949e;
    --border: rgba(48, 54, 61, 0.8);
    --glow: rgba(88, 166, 255, 0.12);
    --header-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html { 
    scroll-behavior: smooth; 
    height: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

main {
    flex: 1;
}

/* Base Elements */
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

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

.glow-bg {
    position: fixed;
    top: -15%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
    z-index: -1;
    filter: blur(100px);
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Nav */
nav {
    height: var(--header-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(15, 20, 30, 0.85); /* Deep Navy translucent */
    backdrop-filter: blur(12px);
    z-index: 1000;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 60px 0 40px;
}

.hero-content {
    flex: 1.2;
    text-align: left;
}

.hero-content .badge {
    background: rgba(88, 166, 255, 0.05);
    border: 1px solid rgba(88, 166, 255, 0.15);
    color: var(--accent);
    letter-spacing: 1.5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.65rem;
    padding: 0.4rem 1.1rem;
    margin-bottom: 1.2rem;
    display: inline-block;
    border-radius: 50px;
}

.hero-content h1 {
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--subtext);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

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

.hero-features {
    display: flex;
    gap: 1.5rem;
}

.hero-features span {
    color: var(--subtext);
    font-size: 0.8rem;
    font-weight: 500;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* Command Box */
.command-box {
    display: flex;
    max-width: 500px;
    background: rgba(88, 166, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.6rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    position: relative;
}

.command-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.5;
}

.command-box:hover {
    border-color: var(--accent);
    background: rgba(88, 166, 255, 0.05);
    box-shadow: 0 0 25px rgba(88, 166, 255, 0.15);
}

.command-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--accent);
    padding: 1rem 1.2rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    outline: none;
    letter-spacing: -0.2px;
}

.command-box button {
    background: #1c2331;
    color: var(--text);
    border: none;
    border-left: 1px solid var(--border);
    padding: 0 1.8rem;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.2s;
}

.command-box button:hover {
    background: var(--accent);
    color: #000;
}

p.command-hint {
    font-size: 0.55rem !important;
    color: var(--subtext);
    opacity: 0.5;
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.terminal-window {
    width: 100%;
    max-width: 460px;
    background: #0d1117; /* GitHub Dark / IDE style */
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.terminal-header {
    background: #161b22;
    padding: 0.7rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    color: var(--subtext);
    font-family: monospace;
}

.terminal-body {
    padding: 1.2rem;
    height: 200px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.82rem;
    color: #d1d1d1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.terminal-body .line {
    opacity: 0;
    transform: translateY(5px);
    animation: fadeInLine 0.5s forwards;
}

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

/* Update Nav for better alignment with Left-Hero */
nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 2rem;
}

.logo {
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.4);
    transform: skewX(-10deg);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-icon svg {
    width: 20px;
    height: 20px;
    fill: #000;
}

.logo:hover .logo-icon {
    transform: skewX(0deg) scale(1.15);
    box-shadow: 0 0 25px var(--accent);
}

.logo b {
    font-weight: 800;
    background: linear-gradient(90deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo span {
    color: var(--accent);
    font-weight: 800;
    text-shadow: 0 0 10px rgba(88, 166, 255, 0.3);
}

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

.nav-links a {
    color: var(--subtext);
    font-size: 0.95rem;
}

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

.btn-nav {
    background: var(--text);
    color: var(--bg) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
}

/* Shared Sections */
section { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-title h2 { font-size: 2rem; letter-spacing: -1px; margin-bottom: 0.8rem; }
.section-title p { color: var(--subtext); max-width: 600px; margin: 0 auto; font-size: 0.95rem; }

/* Cards Grid */
.grid {
    display: grid;
    gap: 1.5rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 1.8rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    background: rgba(88, 166, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-card h3 {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-card h3::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

.card:hover { 
    border-color: rgba(0, 242, 254, 0.3);
    background: var(--card-hover);
    transform: translateY(-5px);
}

.card h3 { margin-bottom: 1rem; font-size: 1.3rem; }
.card p { color: var(--subtext); font-size: 0.95rem; }

/* Featured Pricing Card */
.card.featured {
    border: 2px solid var(--accent);
    background: linear-gradient(145deg, rgba(21, 27, 39, 1), rgba(15, 20, 30, 1));
    box-shadow: 0 0 40px rgba(88, 166, 255, 0.15), inset 0 0 20px rgba(88, 166, 255, 0.05);
    transform: scale(1.03);
    position: relative;
    z-index: 10;
}

.card.featured::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, var(--accent), var(--accent2), transparent, var(--accent));
    background-size: 400%;
    z-index: -1;
    border-radius: 18px;
    opacity: 0.4;
    filter: blur(8px);
    animation: glowBg 10s linear infinite;
}

@keyframes glowBg {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    color: #000;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-main {
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    color: #000;
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.25);
}

.btn-main:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(0, 242, 254, 0.35); }

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

.btn-outline:hover { background: rgba(255, 255, 255, 0.05); }

/* Banner / CTA Section */
.cta-banner {
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), radial-gradient(circle at center, #111, #000);
    padding: 80px 2rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    margin-bottom: 100px;
}

/* Footer */
footer {
    padding: 60px 0 30px;
    background: rgba(15, 20, 30, 0.5);
    border-top: 1px solid var(--border);
    margin-top: auto;
}

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

.footer-info .logo { 
    display: inline-block;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
}

.footer-info p { 
    color: var(--subtext); 
    max-width: 280px; 
    font-size: 0.85rem; 
    line-height: 1.6;
}

.footer-col h4 { 
    margin-bottom: 1.2rem; 
    font-size: 0.9rem; 
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
}

.footer-col ul li { margin-bottom: 0.6rem; }

.footer-col ul li a { 
    color: var(--subtext); 
    font-size: 0.85rem;
    transition: 0.2s;
}

.footer-col ul li a:hover { 
    color: var(--accent); 
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--subtext);
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Pulse Effect */
.btn-main {
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.2);
    animation: buttonPulse 3s infinite;
}

@keyframes buttonPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0, 242, 254, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

/* Mobile Menu Header/Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
}

/* Base Responsive */
@media (max-width: 1200px) {
    .hero-content h1 { font-size: 3.8rem; }
    .container { padding: 0 4rem; }
}

@media (max-width: 992px) {
    .container { padding: 0 2rem; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    
    .menu-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--bg);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 4rem;
        transition: 0.4s;
        border-top: 1px solid var(--border);
        z-index: 1000;
    }
    .nav-links.active { right: 0; }
    
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
        gap: 3rem;
    }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { margin: 0 auto 2.5rem; }
    .hero-btns { justify-content: center; }
    .hero-features { justify-content: center; }
    .hero-visual { width: 100%; justify-content: center; }
    .terminal-window { max-width: 100%; }
}

@media (max-width: 600px) {
    .container { padding: 0 1.5rem; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-btns { flex-direction: column; width: 100%; }
    .btn { width: 100%; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
