/* ==========================================================================
   CSS Variables & Base Styling
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-dark: #0b0f19;
    --bg-card: rgba(20, 25, 40, 0.6);
    --bg-card-hover: rgba(30, 38, 60, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #9ba1b0;
    
    /* Neon Accents */
    --neon-purple: #8a2be2;
    --neon-blue: #00d2ff;
    --gradient-primary: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    --glow-purple: 0 0 20px rgba(138, 43, 226, 0.5);
    --glow-blue: 0 0 20px rgba(0, 210, 255, 0.5);

    /* Glassmorphism */
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-top: 0;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.text-center {
    text-align: center;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    box-shadow: var(--glow-purple);
    transform: translateY(-2px);
}

.btn-glow {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--glow-blue);
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.btn-glow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.7);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--neon-blue);
    color: var(--text-primary);
    padding: calc(1rem - 2px) 2.5rem;
}

.btn-outline:hover {
    background: rgba(0, 210, 255, 0.1);
    box-shadow: inset 0 0 10px rgba(0, 210, 255, 0.2);
}

.full-width {
    width: 100%;
    box-sizing: border-box;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 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;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--neon-blue);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 8px rgba(255,255,255,0.4);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: 0.3s;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    /* Placeholder fallback */
    background-color: #0a0a14;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11,15,25,0.7) 0%, var(--bg-dark) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 1s ease forwards;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.trust-indicators span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* ==========================================================================
   Features Banner
   ========================================================================== */
.features-banner {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: var(--glass-border);
    border-bottom: var(--glass-border);
}

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

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    box-shadow: var(--glass-shadow);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.glow-blue { text-shadow: var(--glow-blue); }
.glow-purple { text-shadow: var(--glow-purple); }

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* ==========================================================================
   Markets Section
   ========================================================================== */
.markets {
    padding: 6rem 0;
}

.market-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 4rem;
}

.market-card {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
}

.market-card:hover {
    border-color: rgba(255,255,255,0.15);
}

.market-card.reverse {
    flex-direction: row-reverse;
}

.market-img {
    flex: 1;
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.market-info {
    flex: 1;
}

.market-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(138, 43, 226, 0.15);
    color: var(--neon-purple);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.market-card.reverse .market-tag {
    background: rgba(0, 210, 255, 0.15);
    color: var(--neon-blue);
    border-color: rgba(0, 210, 255, 0.3);
}

.market-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.market-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.market-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.market-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.market-list li::before {
    content: '✓';
    color: var(--neon-blue);
    font-weight: bold;
}

/* ==========================================================================
   Devices Section
   ========================================================================== */
.devices {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(138, 43, 226, 0.05) 50%, var(--bg-dark) 100%);
}

.devices-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.devices-text {
    flex: 1;
}

.devices-text p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.device-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.device-item {
    background: var(--bg-card);
    border: var(--glass-border);
    padding: 1rem;
    border-radius: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.device-item:hover {
    background: rgba(255,255,255,0.05);
    transform: translateX(5px);
}

.devices-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-mockup {
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.main-device {
    width: 100%;
    max-width: 600px;
}

.sub-device {
    position: absolute;
    width: 30%;
    bottom: -20px;
    right: -20px;
    border: 2px solid #2a2a35;
}

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

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

.pricing-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 210, 255, 0.3);
}

.pricing-card.popular {
    background: linear-gradient(180deg, rgba(30, 38, 60, 0.9) 0%, rgba(20, 25, 40, 0.9) 100%);
    border: 1px solid rgba(138, 43, 226, 0.5);
    box-shadow: var(--glow-purple);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: var(--glass-border);
    padding-bottom: 1.5rem;
}

.pricing-header h3 {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.price {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.price span {
    font-size: 2rem;
    margin-top: 0.5rem;
}

.price-monthly {
    color: var(--neon-blue);
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

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

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    color: var(--text-secondary);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features strong {
    color: var(--text-primary);
}

.trust-badges {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(0,0,0,0.2);
    border-radius: 16px;
}

.trust-badges p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.badge-logos {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.badge-logos img {
    height: 30px;
    opacity: 0.6;
    transition: var(--transition-fast);
}

.badge-logos img:hover {
    opacity: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #06080d;
    padding: 4rem 0 2rem 0;
    border-top: var(--glass-border);
}

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

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

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

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
}

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

.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .market-card { flex-direction: column; gap: 2rem; text-align: center; }
    .market-card.reverse { flex-direction: column; }
    .market-img { max-width: 100%; }
    .devices-content { flex-direction: column; text-align: center; }
    .device-list { text-align: left; }
    .pricing-card.popular { transform: scale(1); }
    .pricing-card.popular:hover { transform: translateY(-10px); }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin: 1rem auto; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links, .nav-cta { display: none; }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        padding: 2rem;
        border-bottom: var(--glass-border);
    }
    
    .hero-title { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
    .trust-indicators { flex-direction: column; align-items: center; gap: 1rem; }
    .device-list { grid-template-columns: 1fr; }
}
