@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

/* --- DESIGN SYSTEM & CUSTOM PROPERTIES --- */
:root {
    --bg-color: #080C14;
    --bg-grid: rgba(0, 242, 254, 0.015);
    --card-bg: rgba(17, 24, 39, 0.6);
    --card-border: rgba(255, 255, 255, 0.06);
    --text-primary: #F3F4F6;
    --text-secondary: #9CA3AF;
    
    --color-cyan: #00F2FE;
    --color-cyan-glow: rgba(0, 242, 254, 0.35);
    --color-green: #00FF87;
    --color-green-glow: rgba(0, 255, 135, 0.25);
    --color-dark: #0B0F19;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --max-width: 1200px;
}

/* --- RESET & GLOBAL STYLES --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    background-image: 
        linear-gradient(to right, var(--bg-grid) 1px, transparent 1px),
        linear-gradient(to bottom, var(--bg-grid) 1px, transparent 1px);
    background-size: 40px 40px;
    font-family: var(--font-body);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

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

img {
    max-width: 100%;
    height: auto;
}

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

/* --- SHINY NEON GLOW DECORATIONS --- */
.gradient-text {
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glow-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.25;
}

.glow-cyan {
    background: var(--color-cyan);
    top: 15%;
    left: -10%;
}

.glow-green {
    background: var(--color-green);
    bottom: 20%;
    right: -10%;
}

/* --- NAVIGATION --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(8, 12, 20, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

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

.logo-img {
    height: 32px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #FFF 60%, var(--color-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

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

.btn-nav {
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-cyan);
}

.btn-nav:hover {
    background: var(--color-cyan);
    color: var(--color-dark);
    box-shadow: 0 0 15px var(--color-cyan-glow);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding: 10rem 0 6rem;
    text-align: center;
    overflow: hidden;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--color-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-green);
    animation: pulse 2s infinite;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 3rem;
    font-weight: 400;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-cyan) 0%, #1A82FF 100%);
    color: var(--color-dark);
    padding: 0.85rem 2.25rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    padding: 0.85rem 2.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* --- DEMO / SHOWCASE MOCKUP --- */
.showcase-wrapper {
    position: relative;
    max-width: 950px;
    margin: 0 auto;
    border-radius: 12px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 6px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 242, 254, 0.05);
}

.showcase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 32px;
    background: rgba(8, 12, 20, 0.4);
    padding: 0 1rem;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.mac-dots {
    display: flex;
    gap: 6px;
}

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

.mac-dot-r { background-color: #FF5F56; }
.mac-dot-y { background-color: #FFBD2E; }
.mac-dot-g { background-color: #27C93F; }

.browser-url {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    padding: 2px 3rem;
    font-family: monospace;
}

.showcase-img {
    display: block;
    width: 100%;
    border-radius: 0 0 6px 6px;
}

/* --- FEATURES SECTION --- */
.features {
    padding: 8rem 0;
    position: relative;
}

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

.section-tag {
    font-family: var(--font-heading);
    color: var(--color-cyan);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 1rem auto 0;
    font-size: 1.1rem;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 3rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 242, 254, 0.25);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.04);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-cyan), transparent);
    transform: translateX(-100%);
    transition: all 0.6s ease;
}

.feature-card:hover::before {
    transform: translateX(100%);
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 8px;
    color: var(--color-cyan);
    margin-bottom: 1.75rem;
    font-size: 1.5rem;
}

.feature-card:nth-child(even) .feature-icon-wrapper {
    background: rgba(0, 255, 135, 0.05);
    border-color: rgba(0, 255, 135, 0.15);
    color: var(--color-green);
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1);
    transition: var(--transition-smooth);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

/* --- ABOUT SECTION --- */
.about {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    position: relative;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* --- FOOTER --- */
footer {
    padding: 5rem 0 3rem;
    background-color: var(--color-dark);
}

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

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

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

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

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

.footer-links ul a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

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

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

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

.footer-legal-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

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

/* --- SUPPORTING LEGAL PAGES STYLE (Minimalist Layout) --- */
.legal-page {
    padding: 8rem 0 6rem;
    max-width: 800px;
    margin: 0 auto;
}

.legal-header {
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 2rem;
}

.legal-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.legal-header p {
    color: var(--text-secondary);
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
    color: var(--text-primary);
}

.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.legal-content ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.legal-content ul li {
    margin-bottom: 0.5rem;
}

/* --- 404 PAGE STYLE --- */
.error-page {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 2rem;
}

.error-code {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -4px;
}

.error-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.error-desc {
    color: var(--text-secondary);
    max-width: 450px;
    margin-bottom: 3rem;
    font-size: 1rem;
}

/* --- KEYFRAMES & ANIMATIONS --- */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 135, 0.4);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(0, 255, 135, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 135, 0);
    }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .features-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-links, .btn-nav {
        display: none; /* Hide desktop nav links on mobile for simplicity, or we could add simplified layouts */
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.75rem;
        letter-spacing: -1px;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
        margin-bottom: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
