:root {
    --midnight-slate: #0F172A;
    --midnight-slate-light: #1E293B;
    --horizon-blue: #3B82F6;
    --horizon-blue-light: #60A5FA;
    --horizon-blue-dark: #2563EB;
    --cyan-glow: #06B6D4;
    --text-primary: #F8FAFC;
    --text-muted: #94A3B8;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--midnight-slate);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Glassmorphism utility */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Gradients */
.gradient-text {
    background: linear-gradient(135deg, var(--horizon-blue-light), var(--cyan-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-primary-sm, .btn-outline {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--horizon-blue), var(--horizon-blue-dark));
    color: white;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn-primary-sm {
    background: var(--horizon-blue);
    color: white;
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-primary-sm:hover {
    background: var(--horizon-blue-dark);
}

.btn-secondary {
    background: var(--midnight-slate-light);
    color: white;
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--horizon-blue-light);
    border: 1px solid var(--horizon-blue);
}

.btn-outline:hover {
    background: rgba(59, 130, 246, 0.1);
}

.btn-block {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: background 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    color: var(--horizon-blue);
}

.logo span {
    font-weight: 400;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn-primary-sm) {
    font-weight: 500;
    color: var(--text-primary);
}

.nav-links a:not(.btn-primary-sm):hover {
    color: var(--horizon-blue-light);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* Features */
.features-section, .pricing-section, .audit-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--horizon-blue);
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Pricing */
.pricing-grid {
    align-items: center;
}

.pricing-card {
    background: var(--midnight-slate-light);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    transition: all 0.4s ease;
}

.pricing-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: translateY(-5px);
}

.pricing-card.popular {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.9));
    border: 1px solid var(--horizon-blue);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--horizon-blue);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tier-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.price {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
}

.price span:first-child {
    font-size: 1.5rem;
    margin-right: 4px;
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.tier-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
    min-height: 44px;
}

.feature-list {
    margin-bottom: 32px;
}

.feature-list li {
    padding: 10px 0;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.85);
}

.feature-list li i {
    color: var(--horizon-blue);
    margin-top: 4px;
    font-size: 0.85rem;
}

.pricing-card a {
    text-align: center;
    display: block;
}

/* Audit Section */
.audit-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.glow-border {
    position: relative;
}
.glow-border::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, var(--horizon-blue-dark), transparent, var(--cyan-glow));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.audit-content h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.audit-content p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 16px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.input-group input:focus, .input-group select:focus {
    border-color: var(--horizon-blue);
}

.audit-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Network Animation Graphic */
.network-graphic {
    width: 300px;
    height: 300px;
    position: relative;
}

.node {
    position: absolute;
    border-radius: 50%;
    background: var(--midnight-slate-light);
    border: 2px solid var(--horizon-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
    z-index: 2;
}

.node.c1 { width: 40px; height: 40px; top: 10%; left: 10%; animation: pulse 3s infinite; }
.node.c2 { width: 40px; height: 40px; top: 20%; right: 10%; animation: pulse 3s infinite 1s; }
.node.c3 { width: 40px; height: 40px; bottom: 10%; left: 20%; animation: pulse 3s infinite 2s; }
.node.vault { 
    width: 80px; height: 80px; 
    top: 50%; left: 50%; 
    transform: translate(-50%, -50%);
    background: var(--horizon-blue);
    border: none;
    font-size: 2rem;
    animation: glow-pulse 4s infinite;
}

.lines {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.lines line {
    animation: flow 2s linear infinite;
}

@keyframes flow {
    from { stroke-dashoffset: 10; }
    to { stroke-dashoffset: 0; }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.8); }
    50% { box-shadow: 0 0 40px rgba(6, 182, 212, 0.8); }
}

/* Footer */
footer {
    background: #020617;
    padding: 60px 0 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4, .footer-contact h4 {
    color: white;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--horizon-blue);
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-left.active, .reveal-right.active { transform: translateX(0); }

.animate-fade-up {
    animation: fadeUp 0.8s cubic-bezier(0.5, 0, 0, 1) forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.delay-1 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 900px) {
    .pricing-card.popular {
        transform: scale(1);
    }
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
    .audit-box {
        grid-template-columns: 1fr;
    }
    .audit-image {
        margin-top: 40px;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-cta {
        flex-direction: column;
    }
    .section-title h2 {
        font-size: 2rem;
    }
}
