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

:root {
    /* Tech-Professional Palette */
    --primary: #2563eb;
    /* Cobalt Blue */
    --primary-glow: rgba(37, 99, 235, 0.4);
    --secondary: #0f172a;
    /* Deep Navy */
    --accent: #38bdf8;
    /* Sky Blue */
    --bg-main: #020617;
    /* Cyber Black */
    --bg-card: rgba(10, 15, 30, 0.95);
    --text-main: #f8fafc;
    /* Slate 50 */
    --text-muted: #94a3b8;
    /* Slate 400 */
    --border-color: rgba(51, 65, 85, 0.5);
    /* Slate 700 */

    /* System Gradients */
    --grad-tech: linear-gradient(135deg, #1e293b 0%, #020617 100%);
    --grad-glow: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 70%);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing & Layout */
    --container-max: 1200px;
    --section-padding: 120px 0;
    --header-height: 80px;

    /* Tech Patterns */
    --grid-color: rgba(37, 99, 235, 0.05);

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Modern CSS Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--bg-main);
    background-image:
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(56, 189, 248, 0.05) 0%, transparent 50%);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Engineering Visual Patterns */
.tech-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, black, transparent);
}

/* Base Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
}

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

.flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

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

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-1 {
    gap: 1rem;
}

.gap-2 {
    gap: 2rem;
}

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

.text-gradient {
    background: linear-gradient(to right, var(--text-main), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 800;
}

/* Operational UI Components */
.ops-dashboard {
    background: #0a0f1e;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 1.5rem;
    font-family: var(--font-mono);
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

.ops-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.ops-title {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #27c93f;
    box-shadow: 0 0 8px #27c93f;
}

/* System Table */
.ops-table {
    width: 100%;
    font-size: 0.75rem;
    text-align: left;
    border-collapse: collapse;
}

.ops-table th {
    padding: 10px;
    color: var(--accent);
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
}

.ops-table td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(51, 65, 85, 0.2);
    color: var(--text-main);
}

.ops-table tr:hover td {
    background: rgba(37, 99, 235, 0.05);
}

/* Process Timeline */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

.process-step {
    padding: 2rem;
    border-left: 1px solid var(--border-color);
    position: relative;
}

.step-num {
    font-family: var(--font-mono);
    color: var(--primary);
    font-size: 0.8rem;
    margin-bottom: 1rem;
    display: block;
}

.step-title {
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Support Service Block */
.support-hero {
    border: 2px solid var(--primary);
    border-left: 8px solid var(--primary);
    padding: 3rem;
    background: var(--grad-tech);
}

.chart-bar {
    height: 100%;
    background: var(--primary);
    border-radius: 1px;
    transition: height 1s ease-out;
}

/* System Components */
.system-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    /* Harder tech edges */
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.system-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.system-card:hover::before {
    transform: scaleX(1);
}

.system-card:hover {
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.1);
    transform: translateY(-5px);
}

.tag-tech {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

/* Founder Section */
.founder-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.founder-image-container {
    position: relative;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.founder-image-container img {
    width: 100%;
    border-radius: 2px;
    filter: contrast(1.1) brightness(0.9);
}

.founder-image-container::after {
    content: 'EST. 2026';
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
}

/* i18n Toggler */
.lang-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    transition: var(--transition);
}

.lang-toggle:hover {
    border-color: var(--accent);
}

/* Hero Bridge Row */
.hero-bridge {
    margin-top: 0;
    margin-bottom: 80px;
    z-index: 10;
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

/* Enhanced SLA Monitor */
.ops-dashboard.sla-monitor {
    background: #020617;
    border: 1px solid var(--primary);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.1);
}

.sla-header {
    background: rgba(37, 99, 235, 0.1);
    padding: 1rem;
    border-bottom: 1px solid var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sla-glow {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        opacity: 0.6;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.6;
        transform: scale(0.9);
    }
}

.bridge-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(10px);
}

/* Code Evidence Box */
.code-evidence {
    background: #050a14;
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--primary);
    line-height: 1.4;
    border-radius: 4px;
    opacity: 0.8;
}

.code-evidence span {
    color: var(--accent);
}

.code-evidence b {
    color: var(--text-main);
}

/* Helpdesk Enhancements */
.schematic-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.02) 0%, transparent 80%);
    background-size: 40px 40px, 40px 40px, 100% 100%;
    opacity: 0.8;
    pointer-events: none;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

/* Web Design Visuals */
.web-visual-box {
    position: relative;
    padding: 2rem;
    border: 1px solid var(--border-color);
    background: rgba(30, 41, 59, 0.3);
    border-radius: 12px;
}

.browser-mockup {
    background: #0f172a;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.browser-header {
    background: #1e293b;
    padding: 10px;
    display: flex;
    gap: 6px;
}

.browser-header span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: 0.5;
}

.browser-content {
    padding: 40px 20px;
}

/* Service Separation */
.service-zone {
    border-top: 1px solid var(--border-color);
    padding-top: 80px;
    margin-top: 80px;
}

.included-badge {
    background: rgba(39, 201, 63, 0.1);
    color: #27c93f;
    border: 1px solid #27c93f;
    font-size: 0.65rem;
    padding: 2px 8px;
    text-transform: uppercase;
    font-weight: 700;
}

.bridge-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Service Plans Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.plan-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.15);
    transform: scale(1.02);
}

.plan-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.plan-scope {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-family: var(--font-mono);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    flex-grow: 1;
}

.plan-features li {
    padding: 10px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li i {
    color: var(--accent);
    font-size: 0.8rem;
}

/* Module Grid */
.module-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1rem;
}

.module-tag {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 6px 14px;
    font-family: var(--font-mono);
    border-radius: 2px;
}

/* Lifecycle Section */
.cycle-card {
    border-top: 4px solid var(--primary);
    padding-top: 1.5rem;
}

/* Glassmorphism Effect */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-heading);
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--grad-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

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

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header Navigation */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: var(--container-max);
    height: var(--header-height);
    z-index: 1000;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 50px;
    transition: var(--transition);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

header.scrolled {
    top: 0;
    width: 100%;
    max-width: none;
    border-radius: 0;
    background: rgba(10, 15, 30, 0.95);
    border-bottom: 1px solid var(--glass-border);
}

.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.desktop-nav ul li a:hover {
    color: var(--primary-light);
}

/* Mobile Toggle Style */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
    padding: 10px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition);
    display: block;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-main);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: var(--transition);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-menu nav ul li a {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.mobile-menu .lang-toggle {
    margin-top: 1rem;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 60px;
    /* Reduced bottom padding */
    position: relative;
    overflow: hidden;
    min-height: auto;
    /* Allow content to dictate size */
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
}

.hero-bg-shapes .shape:nth-child(1) {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
}

.hero-bg-shapes .shape:nth-child(2) {
    width: 500px;
    height: 500px;
    background: var(--accent);
    bottom: -100px;
    left: -100px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    padding: 3rem 2rem;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.service-card .icon-box {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.service-card ul {
    margin-top: 1.5rem;
    text-align: left;
}

.service-card ul li {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-body);
}

/* Terminal / Code Style Block */
.terminal-block {
    background: var(--code-bg);
    border: 1px solid var(--code-border);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    font-family: var(--font-mono);
}

.terminal-header {
    display: flex;
    gap: 8px;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--code-border);
    padding-bottom: 10px;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red {
    background: #ff5f56;
}

.dot-yellow {
    background: #ffbd2e;
}

.dot-green {
    background: #27c93f;
}

.code-title {
    color: var(--primary-light);
    font-weight: 600;
}

.code-keyword {
    color: #c678dd;
}

.code-func {
    color: #61afef;
}

.code-string {
    color: #98c379;
}

.code-comment {
    color: #5c6370;
}

.mono-accent {
    font-family: var(--font-mono);
    color: var(--accent);
    background: rgba(6, 182, 212, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

/* Feature Grid Adjustments */
.feature-list-tech {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.feature-item-tech {
    padding: 1.5rem;
    border-left: 3px solid var(--primary);
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition);
}
/* Global Responsiveness - Media Queries */

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-section h1 {
        font-size: 2.8rem;
    }

    .founder-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .flex-column-mobile {
        flex-direction: column;
    }

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

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .hero-bridge {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
        align-items: center;
    }

    .hero-content .reveal.flex {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .hero-content .btn {
        width: 100%;
        margin: 0;
    }

    .code-evidence {
        margin-top: 2rem;
    }

    .tag-tech {
        margin: 0 auto 1rem;
    }

    .section h2 {
        font-size: 2rem !important;
    }

    .ops-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .web-visual-box {
        margin-top: 2rem;
    }

    .form-container {
        padding: 0;
    }

    .module-grid {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }

    .tag-tech {
        font-size: 0.65rem;
    }

    header {
        padding: 0 1rem;
    }

    .logo img {
        height: 35px;
    }
}
