/* =========================================
   VARIABLES & DESIGN SYSTEM
========================================= */
:root {
    /* Colors */
    --bg-main: #09090e;
    --bg-alt: #0f0f15;
    --surface: #171721;
    --surface-hover: #1f1f2e;
    --border: #2a2a35;
    
    --primary: #00e5ff;
    --primary-glow: rgba(0, 229, 255, 0.4);
    --secondary: #0055ff;
    
    --text-main: #ffffff;
    --text-muted: #9ba1b0;
    
    --success: #00ffa3;
    --warning: #ffb800;
    --error: #ff3366;

    /* Typography */
    --font-main: 'Inter', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --padding-section: 100px 0;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s ease;
}

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

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-muted);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--padding-section);
}

.bg-alt {
    background-color: var(--bg-alt);
}

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

.highlight {
    color: var(--primary);
}

.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-100 { width: 100%; }

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

.section-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

/* =========================================
   COMPONENTS
========================================= */
/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    text-align: center;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 85, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 4px 30px var(--primary-glow);
    transform: translateY(-2px);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Badge */
.badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(0, 229, 255, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* =========================================
   TOP BAR & HEADER
========================================= */
.top-bar {
    background-color: #050508;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-right span {
    margin-left: 20px;
}

.top-right i, .top-left i {
    color: var(--primary);
    margin-right: 5px;
}

.header {
    background-color: rgba(9, 9, 14, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    transition: var(--transition-normal);
}

.header.scrolled {
    padding: 15px 0;
    background-color: rgba(9, 9, 14, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    color: var(--primary);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    bottom: -5px;
    left: 0;
    transition: var(--transition-fast);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    padding: 100px 0 60px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0,85,255,0.15) 0%, rgba(9,9,14,0) 70%);
    z-index: -1;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glowing-sphere {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    filter: blur(80px);
    opacity: 0.5;
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.4; }
    100% { transform: scale(1.1); opacity: 0.6; }
}

.hero-card {
    position: absolute;
    background: rgba(23, 23, 33, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.hero-card.float-1 {
    top: 20%;
    left: 10%;
}

.hero-card.float-2 {
    bottom: 20%;
    right: 10%;
    animation-delay: 2s;
}

.hero-card .icon {
    width: 45px;
    height: 45px;
    background: rgba(0, 229, 255, 0.1);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.hero-card h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.hero-card span {
    font-size: 0.85rem;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

/* Trusted By */
.trusted-by {
    margin-top: 80px;
    border-top: 1px solid var(--border);
    padding-top: 40px;
}

.trusted-by .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.trusted-by span {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-strip {
    display: flex;
    gap: 40px;
    font-size: 2rem;
    color: var(--border);
}

.logo-strip i {
    transition: var(--transition-fast);
}

.logo-strip i:hover {
    color: var(--text-muted);
}

/* =========================================
   ABOUT SECTION
========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
}

.about-text p {
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.stat-card h3 {
    font-size: 3rem;
    color: var(--primary);
    display: inline-block;
    margin: 0;
}

.stat-card span {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
}

.stat-card p {
    margin-top: 10px;
    font-weight: 500;
    color: var(--text-main);
}

/* =========================================
   SERVICES SECTION
========================================= */
.service-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    padding: 40px 30px;
    border-radius: 12px;
    transition: var(--transition-normal);
    text-align: left;
}

.service-card:hover {
    background-color: var(--surface-hover);
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateY(-10px);
}

.service-card .icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0,85,255,0.2), rgba(0,229,255,0.2));
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* =========================================
   PROCESS SECTION
========================================= */
.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 60px;
    text-align: left;
    position: relative;
}

.process-step {
    flex: 1;
    position: relative;
    z-index: 2;
    padding-right: 30px;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255,255,255,0.05);
    line-height: 1;
    margin-bottom: -15px;
}

.process-step h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.process-line {
    flex: 0 0 50px;
    height: 1px;
    background: dashed 1px var(--border);
    margin-top: 40px;
}

/* =========================================
   CAPABILITIES & MOCK DASHBOARD
========================================= */
.capabilities-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cap-content h2 {
    font-size: 2.5rem;
}

.feature-list {
    margin-top: 30px;
}

.feature-list li {
    margin-bottom: 15px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.mock-dashboard {
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.dash-header {
    background-color: var(--surface);
    padding: 15px 20px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background-color: var(--error); }
.dot.yellow { background-color: var(--warning); }
.dot.green { background-color: var(--success); }

.dash-body {
    padding: 30px;
    font-family: 'Courier New', Courier, monospace;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--success);
    font-weight: bold;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.status-indicator .pulse {
    width: 10px;
    height: 10px;
    background-color: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.metric-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--border);
}

.metric-row .label {
    color: var(--text-muted);
}

.metric-row .value {
    color: var(--text-main);
    font-weight: bold;
}

.console-output {
    margin-top: 30px;
    background-color: #050508;
    padding: 20px;
    border-radius: 8px;
    color: var(--primary);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* =========================================
   CORE FEATURES GRID
========================================= */
.feature-card {
    display: flex;
    gap: 25px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    transition: var(--transition-normal);
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.feature-card .icon {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 229, 255, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

/* =========================================
   TESTIMONIALS
========================================= */
.testimonial-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: var(--warning);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.quote {
    font-size: 1.05rem;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 30px;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.author h5 {
    margin: 0;
    font-size: 1rem;
}

.author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =========================================
   FAQ ACCORDION
========================================= */
.faq {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-header {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.accordion-header h4 {
    margin: 0;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.accordion-header .icon {
    transition: transform 0.3s ease;
    color: var(--primary);
}

.accordion-header:hover {
    background-color: var(--surface-hover);
}

.accordion-body {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-item.active .accordion-header h4 {
    color: var(--primary);
}

.accordion-item.active .accordion-header .icon {
    transform: rotate(180deg);
}

.accordion-item.active .accordion-body {
    padding: 0 30px 25px 30px;
    max-height: 200px;
}

/* =========================================
   CONTACT
========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.detail-item .icon {
    width: 45px;
    height: 45px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.detail-item h5 {
    margin-bottom: 5px;
}

.contact-form-container {
    background-color: var(--surface);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-main);
    font-family: var(--font-main);
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.2);
}

/* =========================================
   FOOTER
========================================= */
.footer-top {
    background: linear-gradient(135deg, var(--bg-alt), #0a0a0f);
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
}

.footer-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-top h3 {
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    width: 400px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-main);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-form button {
    padding: 0 25px;
    background-color: var(--primary);
    color: #000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.newsletter-form button:hover {
    background-color: #fff;
}

.footer-bottom {
    padding: 60px 20px 30px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
}

/* =========================================
   RESPONSIVE STYLES
========================================= */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .about-grid, .capabilities-inner, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .process-step {
        text-align: center;
        padding-right: 0;
    }
    
    .process-line {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--surface);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .header .btn {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .trusted-by .container {
        flex-direction: column;
    }
    
    .footer-top-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .newsletter-form {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
