/* CSS Reset & Variables */
:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #141414;
    --accent: #00f3ff; /* Neon Cyan */
    --accent-secondary: #7000ff; /* Neon Purple */
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.highlight {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Common Section Styles */
.section-pad {
    padding: 5rem 10%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05); /* Subtle separator */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

/* Section 1: Hero */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        transparent 0,
        transparent 2px,
        rgba(0, 243, 255, 0.05) 2px,
        rgba(0, 243, 255, 0.05) 4px
    );
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
    letter-spacing: 5px;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cta-btn {
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-btn:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 30px var(--accent);
}

/* Section 2: Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.feature-card:hover::after {
    transform: translateX(100%);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: var(--accent);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.read-more {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Sections 3, 4, 5 layouts */
.flex-row {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.flex-row.reverse {
    flex-direction: row-reverse;
}

.text-col {
    flex: 1;
}

.text-col h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.text-col p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.img-col {
    flex: 1;
    display: flex;
    justify-content: center;
}

.placeholder-img {
    width: 400px;
    height: 300px;
    background: #1a1a1a;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    position: relative;
}

/* Layout Specifics */
.layout-a {
    background: linear-gradient(45deg, var(--bg-dark) 50%, #111 100%);
}

.glow-border {
    box-shadow: 0 0 50px rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.3);
}

.layout-b {
    background: var(--bg-darker);
}

.layout-b .highlight {
    color: var(--accent-secondary);
}

.layout-b button {
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
}

.layout-b button:hover {
    background: var(--accent-secondary);
    color: #fff;
    box-shadow: 0 0 30px var(--accent-secondary);
}

.tech-grid {
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.layout-c {
    background: radial-gradient(ellipse at bottom, #1a1a1a 0%, var(--bg-dark) 80%);
    text-align: center;
}

.center-col {
    max-width: 800px;
}

.center-col h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.showcase-stage {
    margin-top: 3rem;
    perspective: 1000px;
}

.device-mockup {
    width: 300px;
    height: 180px;
    background: #222;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotateX(10deg);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid #333;
}

.device-mockup:hover {
    transform: rotateX(0deg) scale(1.05);
    border-color: var(--accent);
    box-shadow: 0 0 50px rgba(0, 243, 255, 0.2);
}

.screen {
    color: var(--text-muted);
    font-family: var(--font-heading);
    letter-spacing: 2px;
}

/* Section 6: Stats */
.layout-d {
    background: #000;
    border-top: 1px solid #222;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-top: 4rem;
}

.stat-item {
    cursor: pointer;
    transition: var(--transition);
}

.stat-item:hover {
    transform: scale(1.1);
}

.stat-item:hover .number {
    text-shadow: 0 0 20px var(--accent);
}

.number {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.label {
    display: block;
    font-size: 1rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Footer */
.footer-section {
    padding: 3rem 10%;
    background: #050505;
    border-top: 1px solid #111;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-family: var(--font-heading);
    color: var(--text-main);
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.socials {
    display: flex;
    gap: 1.5rem;
}

.socials a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: var(--transition);
}

.socials a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    color: #444;
    font-size: 0.8rem;
    padding-top: 2rem;
    border-top: 1px solid #111;
}

/* Buttons */
.learn-btn {
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    text-transform: uppercase;
}

.learn-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 243, 255, 0.05);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #151515;
    padding: 3rem;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    border: 1px solid #333;
    transform: translateY(50px);
    transition: all 0.4s ease;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
}

.close-modal:hover {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .flex-row, .flex-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .nav-links {
        display: none; /* Mobile menu logic omitted for brevity, simple hide */
    }
    
    .menu-toggle {
        display: block;
        color: white;
    }
    
    .stats-grid {
        flex-direction: column;
        gap: 3rem;
    }
}
