/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 0 solid hsl(217, 32%, 20%);
}

/* CSS Variables - Design System */
:root {
    /* Base colors - Dark cyber theme */
    --background: 222 84% 4.9%;
    --foreground: 210 40% 98%;

    /* Card colors */
    --card: 222 84% 6%;
    --card-foreground: 210 40% 98%;

    /* Primary - Electric Blue */
    --primary: 194 100% 65%;
    --primary-foreground: 222 84% 4.9%;
    --primary-glow: 194 100% 75%;

    /* Secondary - Muted cyber */
    --secondary: 217 32% 17%;
    --secondary-foreground: 210 40% 98%;

    /* Muted colors */
    --muted: 217 32% 15%;
    --muted-foreground: 215 20% 65%;

    /* Accent - Neon Green */
    --accent: 158 100% 65%;
    --accent-foreground: 222 84% 4.9%;
    --accent-glow: 158 100% 75%;

    /* Borders and inputs */
    --border: 217 32% 20%;
    --input: 217 32% 17%;
    --ring: 194 100% 65%;

    /* Radius */
    --radius: 0.75rem;

    /* Custom gradients */
    --gradient-primary: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
    --gradient-accent: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--accent-glow)));
    --gradient-hero: linear-gradient(180deg, hsl(var(--background)), hsl(217, 32%, 8%));
    --gradient-card: linear-gradient(145deg, hsl(217, 32%, 12%), hsl(217, 32%, 15%));

    /* Shadows and glows */
    --shadow-glow: 0 0 40px hsl(var(--primary) / 0.3);
    --shadow-accent-glow: 0 0 30px hsl(var(--accent) / 0.4);
    --shadow-card: 0 10px 30px -10px hsl(222, 84%, 2% / 0.5);

    /* Animations */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-glow: box-shadow 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Utility Classes */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: calc(var(--radius) - 2px);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    text-decoration: none;
    outline: none;
    padding: 0.5rem 1rem;
    height: 2.5rem;
}

.btn:focus-visible {
    outline: 2px solid hsl(var(--ring));
    outline-offset: 2px;
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* Button Variants */
.btn-hero {
    background: var(--gradient-primary);
    color: hsl(var(--primary-foreground));
    box-shadow: var(--shadow-glow);
}

.btn-hero:hover {
    box-shadow: 0 0 60px hsl(var(--primary) / 0.4);
    transform: translateY(-1px);
}

.btn-cyber {
    background: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    border: 1px solid hsl(var(--border));
}

.btn-cyber:hover {
    background: hsl(var(--muted));
    transform: translateY(-1px);
}

.btn-accent {
    background: var(--gradient-accent);
    color: hsl(var(--accent-foreground));
    box-shadow: var(--shadow-accent-glow);
}

.btn-accent:hover {
    box-shadow: 0 0 50px hsl(var(--accent) / 0.5);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: hsl(var(--foreground));
}

.btn-ghost:hover {
    background: hsl(var(--accent) / 0.1);
    color: hsl(var(--accent));
}

/* Button Sizes */
.btn-lg {
    height: 3rem;
    padding: 0 2rem;
    font-size: 1rem;
}

.btn-icon {
    height: 2.5rem;
    width: 2.5rem;
    padding: 0;
}

.btn-full {
    width: 100%;
}

/* Button Icons */
.btn-icon-right {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.5rem;
    stroke-width: 2;
}

.btn svg {
    width: 1rem;
    height: 1rem;
    stroke-width: 2;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background: hsla(var(--background), 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(var(--border));
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

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

.logo-icon {
    width: 2rem;
    height: 2rem;
    color: hsl(var(--primary));
    stroke-width: 2;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: hsl(var(--foreground));
}

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

.nav-link {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: hsl(var(--primary));
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: url('src/assets/hero-proxy.jpg');
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
    padding: 5rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: hsla(var(--primary), 0.1);
    border: 1px solid hsla(var(--primary), 0.2);
    border-radius: 9999px;
    margin-bottom: 2rem;
}

.hero-badge-icon {
    height: 1rem;
    width: 1rem;
    color: hsl(var(--primary));
    margin-right: 0.5rem;
    stroke-width: 2;
}

.hero-badge span {
    color: hsl(var(--primary));
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    max-width: 32rem;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.trust-icon {
    height: 1.25rem;
    width: 1.25rem;
    color: hsl(var(--accent));
    stroke-width: 2;
}

.trust-item span {
    color: hsl(var(--muted-foreground));
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .trust-indicators {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    max-width: 48rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: hsl(var(--background));
}

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

.feature-card {
    background: var(--gradient-card);
    border: 1px solid hsla(var(--border), 0.5);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.feature-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}

.feature-icon {
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon svg {
    height: 2rem;
    width: 2rem;
    color: hsl(var(--primary));
    stroke-width: 2;
}

.feature-icon.accent svg {
    color: hsl(var(--accent));
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.75rem;
}

.feature-description {
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background: var(--gradient-hero);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    background: var(--gradient-card);
    border: 1px solid hsla(var(--border), 0.5);
    border-radius: var(--radius);
    transition: var(--transition-smooth);
}

.pricing-card:hover {
    box-shadow: var(--shadow-card);
}

.pricing-card.popular {
    border-color: hsla(var(--primary), 0.5);
    box-shadow: var(--shadow-glow);
    transform: scale(1.02);
}

.popular-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: hsl(var(--accent-foreground));
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.star-icon {
    height: 1rem;
    width: 1rem;
    stroke-width: 2;
}

.pricing-header {
    text-align: center;
    padding: 2rem 2rem 0;
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

.pricing-price {
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: hsl(var(--foreground));
}

.period {
    color: hsl(var(--muted-foreground));
}

.pricing-description {
    color: hsl(var(--muted-foreground));
}

.pricing-content {
    padding: 0 2rem 2rem;
}

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

.pricing-feature {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.check-icon {
    height: 1.25rem;
    width: 1.25rem;
    color: hsl(var(--accent));
    margin-right: 0.75rem;
    flex-shrink: 0;
    stroke-width: 2;
}

.pricing-feature {
    color: hsl(var(--muted-foreground));
}

.enterprise-cta {
    text-align: center;
    margin-top: 4rem;
}

.enterprise-text {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Footer */
.footer {
    background: hsl(var(--background));
    border-top: 1px solid hsl(var(--border));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    padding: 4rem 0;
}

.footer-company {
    grid-column: span 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    height: 2rem;
    width: 2rem;
    color: hsl(var(--primary));
    stroke-width: 2;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: hsl(var(--foreground));
}

.footer-description {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
    max-width: 24rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-btn {
    background: transparent;
    border: none;
    color: hsl(var(--muted-foreground));
    padding: 0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.social-btn:hover {
    color: hsl(var(--primary));
}

.social-btn svg {
    height: 1.25rem;
    width: 1.25rem;
    stroke-width: 2;
}

.footer-links-title {
    color: hsl(var(--foreground));
    font-weight: 600;
    margin-bottom: 1rem;
}

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

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

.footer-link {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: hsl(var(--primary));
}

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

.footer-copyright {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-legal-link {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.footer-legal-link:hover {
    color: hsl(var(--primary));
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .footer-company {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: row;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-subtitle,
    .section-subtitle {
        font-size: 1.125rem;
    }
}