:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --text-muted: #888888;
    --accent-color: #c5ff4a; /* Neon Green from image */
    --accent-muted: #1a2a0a;
    --danger-color: #ff4a4a;
    --card-bg: rgba(20, 20, 20, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --container-width: 1200px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Playfair Display', serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Effects */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.05;
    pointer-events: none;
    z-index: 999;
}

.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, #1a2a0a 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, #0a1a2a 0%, transparent 40%);
    z-index: -1;
    filter: blur(100px);
}

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

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-color);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-text {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #000;
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(197, 255, 74, 0.3);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.98);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.mobile-nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 500;
}

.mobile-nav-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Hero Section */
.hero {
    padding-top: 10rem;
    padding-bottom: 5rem;
    min-height: 100vh;
}

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

.badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--accent-muted);
    color: var(--accent-color);
    border: 1px solid rgba(197, 255, 74, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.hero-title {
    font-family: var(--font-sans);
    font-size: 5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 2rem;
}

.italic-serif {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--accent-color);
    font-weight: 400;
}

.hero-description {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 500px;
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.btn-primary-large {
    background-color: var(--accent-color);
    color: #000;
    padding: 1.2rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(197, 255, 74, 0.2);
}

.btn-secondary-large {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 1.2rem 2.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-secondary-large:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-subtext {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Dashboard Cards */
.hero-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 1.5rem;
}

.dashboard-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.card-header {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
}

.main-insight {
    grid-column: span 2;
}

.tag-red {
    color: var(--danger-color);
}

.tag-green {
    color: var(--accent-color);
}

.leak-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--danger-color);
    margin: 0.5rem 0;
}

.leak-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.mini-chart {
    height: 80px;
    width: 100%;
}

.adherence-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.adherence-item {
    display: flex;
    flex-direction: column;
}

.percent {
    font-size: 2rem;
    font-weight: 700;
}

.percent.red {
    color: var(--danger-color);
}

.vs {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
}

.highlight {
    color: var(--accent-color);
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 60px;
    margin-top: 1rem;
}

.bar {
    flex: 1;
    background: var(--accent-color);
    border-radius: 4px;
    opacity: 0.6;
}

.bar.red {
    background: var(--danger-color);
}

/* Features Section */
.features {
    padding: 10rem 0;
    position: relative;
}

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

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    border-radius: 24px;
    transition: transform 0.3s, border-color 0.3s;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(197, 255, 74, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-muted);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cursor-dot {
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
}

/* Glow effect for cards */
.dashboard-card {
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(197, 255, 74, 0.1) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.dashboard-card:hover::before {
    opacity: 1;
}

/* Pricing Section */
.pricing {
    padding: 10rem 0;
}

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

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
    backdrop-filter: blur(10px);
}

.pricing-card.featured {
    border-color: var(--accent-color);
    background: rgba(197, 255, 74, 0.05);
}

.card-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--accent-color);
    color: #000;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 800;
}

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

.price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

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

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

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

.pricing-features li i {
    color: var(--accent-color);
    width: 20px;
}

.btn-secondary-full, .btn-primary-full {
    display: block;
    text-align: center;
    padding: 1.2rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s;
}

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

.btn-primary-full {
    background: var(--accent-color);
    color: #000;
}

.btn-secondary-full:hover, .btn-primary-full:hover {
    transform: translateY(-5px);
}

/* Footer */
.footer {
    padding: 8rem 0 4rem;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.3);
}

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

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

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.3s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Ticker */
.ticker {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    overflow: hidden;
}

.ticker-wrapper {
    display: flex;
}

.ticker-content {
    display: flex;
    gap: 4rem;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-content span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.ticker-content .up {
    color: var(--accent-color);
    margin-left: 0.5rem;
}

.ticker-content .down {
    color: var(--danger-color);
    margin-left: 0.5rem;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .grid-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .nav-links, .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .cursor {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 8rem;
        padding-bottom: 4rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary-large, .btn-secondary-large {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .hero-dashboard {
        grid-template-columns: 1fr;
    }
    
    .main-insight {
        grid-column: span 1;
    }
    
    .leak-value {
        font-size: 2rem;
    }
    
    .features {
        padding: 6rem 0;
    }
    
    .pricing {
        padding: 6rem 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-value {
        font-size: 1.25rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
}
