/* ============================================
   Tech Corp - Professional Corporate Website
   Colors: #18375d, #f4f4f4, #38b6ff, #333333
   Fonts: Codec Pro, Montserrat
   ============================================ */

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

/* Codec Pro trial removed - watermark on numbers.
   Using Montserrat for all text. */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    /* Brand Colors */
    --primary: #18375d;
    --primary-light: #1e4575;
    --primary-dark: #0f2640;
    --accent: #38b6ff;
    --accent-light: #5ec5ff;
    --accent-dark: #1a9ee6;
    --white: #ffffff;
    --off-white: #f0f4ff;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --border: #e0e0e0;
    --border-light: #eeeeee;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #18375d 0%, #38b6ff 100%);
    --gradient-accent: linear-gradient(135deg, #38b6ff 0%, #18375d 100%);
    --gradient-hero: linear-gradient(160deg, #0f2640 0%, #18375d 40%, #1e4575 100%);
    --gradient-card: linear-gradient(135deg, #18375d 0%, #244a7a 100%);

    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --section-padding: 120px 0;
    --container-max: 1200px;
    --container-padding: 0 24px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(24, 55, 93, 0.06);
    --shadow-md: 0 4px 24px rgba(24, 55, 93, 0.1);
    --shadow-lg: 0 8px 40px rgba(24, 55, 93, 0.12);
    --shadow-xl: 0 16px 64px rgba(24, 55, 93, 0.16);
    --shadow-accent: 0 8px 32px rgba(56, 182, 255, 0.3);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

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

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

ul {
    list-style: none;
}

input, textarea, select, button {
    font-family: var(--font-body);
    font-size: 16px;
}

::selection {
    background: var(--accent);
    color: var(--white);
}

/* ============================================
   Container
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    text-align: center;
    justify-content: center;
}

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

.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: var(--radius-md);
}

.btn-full {
    width: 100%;
}

.btn-nav {
    padding: 10px 24px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    color: var(--white);
    letter-spacing: -0.02em;
    transition: color var(--transition-base);
}

.navbar.scrolled .logo-text {
    color: var(--primary);
}

.logo-icon {
    position: relative;
    width: 36px;
    height: 36px;
}

.logo-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity var(--transition-base);
}

.logo-icon .logo-light {
    opacity: 1;
}

.logo-icon .logo-dark {
    opacity: 0;
}

.navbar.scrolled .logo-icon .logo-light {
    opacity: 0;
}

.navbar.scrolled .logo-icon .logo-dark {
    opacity: 1;
}

.footer .logo-icon .logo-light {
    opacity: 1;
}

.footer .logo-icon .logo-dark {
    opacity: 0;
}

.logo-accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-links a {
    color: var(--text);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--primary);
    background: var(--off-white);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.navbar .btn-nav {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.navbar .btn-nav:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.navbar.scrolled .btn-nav {
    color: var(--white);
    background: var(--accent);
    border-color: var(--accent);
}

/* Language Switcher */
.lang-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.navbar.scrolled .lang-btn {
    color: var(--text);
    background: var(--off-white);
    border-color: var(--border);
}

.lang-flag {
    font-size: 16px;
    line-height: 1;
}

.lang-code {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1;
    display: flex;
    align-items: center;
}

.lang-arrow {
    transition: transform var(--transition-fast);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.lang-switcher.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition-fast);
    border: 1px solid var(--border-light);
}

.lang-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    background: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: background var(--transition-fast);
}

.lang-option:hover {
    background: var(--off-white);
}

.lang-option.active {
    background: rgba(56, 182, 255, 0.1);
    color: var(--primary);
    font-weight: 600;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.navbar.scrolled .hamburger span {
    background: var(--primary);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(56, 182, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 182, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(56, 182, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: rgba(56, 182, 255, 0.15);
    border: 1px solid rgba(56, 182, 255, 0.3);
    border-radius: 50px;
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title span {
    display: block;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, #a0d8ff 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-cta-btn {
    min-width: 220px;
    text-align: center;
    justify-content: center;
}

.hero-actions .btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    text-align: left;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
    font-weight: 500;
}

/* Code Window */
.hero-visual {
    display: flex;
    justify-content: center;
}

.code-window {
    width: 100%;
    max-width: 480px;
    background: rgba(15, 38, 64, 0.8);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(56, 182, 255, 0.2);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(56, 182, 255, 0.1);
}

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

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

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }

.code-title {
    font-family: var(--font-mono);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.code-body {
    padding: 24px;
}

.code-body {
    min-height: 180px;
}

.typing-terminal {
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    white-space: pre-wrap;
    word-break: break-all;
}

.terminal-cursor {
    display: inline;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--accent);
    animation: cursorBlink 0.6s step-end infinite;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.code-keyword { color: var(--accent); }
.code-var { color: #a0d8ff; }
.code-func { color: #ffbd2e; }
.code-string { color: #28c840; }
.code-prop { color: #ec4899; }
.code-bool { color: #f97316; }
.code-comment { color: rgba(255, 255, 255, 0.35); }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

/* ============================================
   Section Styles
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 72px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(56, 182, 255, 0.1);
    color: var(--accent);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-title.left {
    text-align: left;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: var(--section-padding);
    background: var(--white);
}

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

.service-card {
    position: relative;
    padding: 40px 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card.featured {
    background: var(--primary);
    border-color: var(--primary);
}

.service-card.featured:hover {
    box-shadow: var(--shadow-xl);
}

.service-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    padding: 6px 16px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.service-icon {
    margin-bottom: 24px;
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary);
}

.service-card.featured .service-title {
    color: var(--white);
}

.service-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-card.featured .service-desc {
    color: rgba(255, 255, 255, 0.7);
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.service-card.featured .service-features li {
    color: rgba(255, 255, 255, 0.85);
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================
   Software Section
   ============================================ */
.software {
    padding: var(--section-padding);
    background: var(--off-white);
}

.software-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.software-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.software-card.reverse {
    direction: rtl;
}

.software-card.reverse > * {
    direction: ltr;
}

.software-preview {
    position: relative;
}

.software-screen {
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-base);
}

.software-screen:hover {
    transform: scale(1.02);
}

.software-screen.purple {
    background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 100%);
}

.software-screen.green {
    background: linear-gradient(135deg, #064e3b 0%, #059669 100%);
}

.screen-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.2);
    font-family: var(--font-mono);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

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

.screen-dots span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.screen-content {
    padding: 16px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Screen header extras */
.screen-tabs {
    display: flex;
    gap: 2px;
    margin-left: auto;
}

.screen-tabs .tab {
    padding: 3px 10px;
    font-size: 10px;
    border-radius: 4px;
    color: rgba(255,255,255,0.4);
    cursor: default;
}

.screen-tabs .tab.active {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
}

.screen-status {
    margin-left: auto;
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.screen-status.online::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #00D4AA;
    border-radius: 50%;
    animation: statusBlink 2s ease-in-out infinite;
}

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

/* ============================================
   DataFlow AI - Dashboard Preview
   ============================================ */
.screen-dashboard {
    gap: 10px;
}

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

.dash-metric-card {
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dash-metric-label {
    font-size: 9px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dash-metric-value {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: white;
    animation: countUp 2s ease-out;
}

.dash-metric-change {
    font-size: 10px;
    font-weight: 600;
}

.dash-metric-change.positive {
    color: #00D4AA;
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Chart area */
.dash-chart-area {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 12px;
    flex: 1;
}

.dash-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 10px;
    color: rgba(255,255,255,0.6);
}

.dash-chart-legend {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    color: rgba(255,255,255,0.4);
}

.legend-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-left: 6px;
}

.legend-dot.blue { background: var(--accent); }
.legend-dot.cyan { background: #00D4AA; }

.dash-line-chart {
    position: relative;
    height: 80px;
}

.dash-line-chart svg {
    width: 100%;
    height: 100%;
}

.chart-line-bg {
    fill: none;
    stroke: rgba(56,182,255,0.1);
    stroke-width: 20;
}

.chart-line {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2.5s ease-out forwards;
}

.chart-line-pred {
    fill: none;
    stroke: #00D4AA;
    stroke-width: 2;
    stroke-dasharray: 6 4;
    stroke-linecap: round;
    opacity: 0;
    animation: fadeIn 0.5s ease-out 2s forwards;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.chart-tooltip {
    position: absolute;
    top: 10px;
    right: 40px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: fadeIn 0.5s ease-out 1.5s forwards;
}

.chart-tooltip small {
    font-size: 9px;
    color: rgba(255,255,255,0.5);
    font-weight: 400;
}

/* Bar rows */
.dash-bar-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dash-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: rgba(255,255,255,0.6);
}

.dash-bar-row span:first-child {
    width: 80px;
    flex-shrink: 0;
    text-align: right;
}

.dash-bar-row span:last-child {
    width: 30px;
    flex-shrink: 0;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
}

.dash-bar-track {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    overflow: hidden;
}

.dash-bar-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    animation: barGrow 1.5s ease-out;
    transform-origin: left;
}

.dash-bar-fill.purple {
    background: linear-gradient(90deg, #7c3aed, #ec4899);
}

@keyframes barGrow {
    from { width: 0 !important; }
}

/* ============================================
   SecureVault - Security Preview
   ============================================ */
.screen-security {
    align-items: center;
    gap: 14px;
}

.sec-shield-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sec-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.1);
}

.sec-ring-1 {
    width: 100%;
    height: 100%;
    animation: ringRotate 8s linear infinite;
    border-color: rgba(0,212,170,0.2);
    border-top-color: rgba(0,212,170,0.6);
}

.sec-ring-2 {
    width: 80%;
    height: 80%;
    animation: ringRotate 6s linear infinite reverse;
    border-color: rgba(56,182,255,0.15);
    border-right-color: rgba(56,182,255,0.5);
}

.sec-ring-3 {
    width: 60%;
    height: 60%;
    animation: ringRotate 4s linear infinite;
    border-color: rgba(255,255,255,0.1);
    border-bottom-color: rgba(255,255,255,0.4);
}

@keyframes ringRotate {
    to { transform: rotate(360deg); }
}

.sec-shield-icon {
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

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

/* Threat log */
.sec-log {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sec-log-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    font-size: 10px;
    color: rgba(255,255,255,0.7);
    animation: slideInLog 0.5s ease-out both;
}

.sec-log-item:nth-child(1) { animation-delay: 0.2s; }
.sec-log-item:nth-child(2) { animation-delay: 0.4s; }
.sec-log-item:nth-child(3) { animation-delay: 0.6s; }
.sec-log-item:nth-child(4) { animation-delay: 0.8s; }

@keyframes slideInLog {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.sec-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sec-dot.green { background: #00D4AA; box-shadow: 0 0 6px rgba(0,212,170,0.5); }
.sec-dot.yellow { background: #ffbd2e; box-shadow: 0 0 6px rgba(255,189,46,0.5); }
.sec-dot.red { background: #ff5f57; }
.sec-dot.blue { background: var(--accent); box-shadow: 0 0 6px rgba(56,182,255,0.5); }

.sec-log-text {
    flex: 1;
}

.sec-log-time {
    color: rgba(255,255,255,0.3);
    font-size: 9px;
    flex-shrink: 0;
}

.sec-log-item.warn {
    background: rgba(255,189,46,0.08);
    border: 1px solid rgba(255,189,46,0.15);
}

/* Security stats */
.sec-stats {
    display: flex;
    gap: 16px;
    width: 100%;
    justify-content: center;
}

.sec-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.sec-stat-num {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: white;
}

.sec-stat-label {
    font-size: 9px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
}

/* ============================================
   CloudSync Pro - Cloud Preview
   ============================================ */
.screen-cloud {
    gap: 0;
}

.cloud-topology {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 180px;
}

.cloud-center-node {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.cloud-center-node span {
    font-size: 9px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cloud-provider {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    z-index: 2;
    animation: nodeAppear 0.6s ease-out both;
}

.cloud-provider.cp-1 {
    bottom: 20px;
    left: 10%;
    animation-delay: 0.3s;
}

.cloud-provider.cp-2 {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0.5s;
}

.cloud-provider.cp-3 {
    bottom: 20px;
    right: 10%;
    animation-delay: 0.7s;
}

@keyframes nodeAppear {
    from { opacity: 0; transform: scale(0.5) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.cp-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    color: white;
}

.cp-status {
    font-size: 9px;
    color: rgba(255,255,255,0.4);
}

/* Cloud connection lines */
.cloud-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.cloud-line {
    stroke: rgba(255,255,255,0.12);
    stroke-width: 1.5;
    stroke-dasharray: 4 4;
}

.cloud-line.cl-1 { animation: linePulse 3s ease-in-out infinite; }
.cloud-line.cl-2 { animation: linePulse 3s ease-in-out 0.5s infinite; }
.cloud-line.cl-3 { animation: linePulse 3s ease-in-out 1s infinite; }

@keyframes linePulse {
    0%, 100% { stroke: rgba(255,255,255,0.08); }
    50% { stroke: rgba(0,212,170,0.3); }
}

/* Data packets animation */
.data-packet {
    opacity: 0.8;
}

.data-packet.dp-1 {
    animation: packetMove1 2.5s ease-in-out infinite;
}

.data-packet.dp-2 {
    animation: packetMove2 3s ease-in-out 0.8s infinite;
}

.data-packet.dp-3 {
    animation: packetMove3 2.8s ease-in-out 1.5s infinite;
}

@keyframes packetMove1 {
    0% { cx: 150; cy: 55; opacity: 0; }
    10% { opacity: 0.9; }
    90% { opacity: 0.9; }
    100% { cx: 60; cy: 130; opacity: 0; }
}

@keyframes packetMove2 {
    0% { cx: 150; cy: 55; opacity: 0; }
    10% { opacity: 0.9; }
    90% { opacity: 0.9; }
    100% { cx: 150; cy: 130; opacity: 0; }
}

@keyframes packetMove3 {
    0% { cx: 150; cy: 55; opacity: 0; }
    10% { opacity: 0.9; }
    90% { opacity: 0.9; }
    100% { cx: 240; cy: 130; opacity: 0; }
}

/* Sync bar */
.cloud-sync-bar {
    display: flex;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    margin-top: 8px;
}

.sync-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    color: rgba(255,255,255,0.5);
}

.sync-item strong {
    color: rgba(255,255,255,0.8);
}

.software-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.software-category {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(56, 182, 255, 0.1);
    color: var(--accent-dark);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.software-name {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

.software-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.software-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.software-tags span {
    padding: 6px 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
}

/* ============================================
   Products Showcase (Homepage Grid)
   ============================================ */
.products-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

.product-card:hover .product-icon {
    transform: scale(1.1);
}

.product-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.product-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    flex: 1;
}

.product-card a {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color var(--transition-fast);
}

.product-card a:hover {
    color: var(--accent-dark);
}

.product-card a {
    padding: 10px 0;
    display: inline-block;
}

@media (max-width: 1024px) {
    .products-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .products-showcase {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-card {
        padding: 24px 20px;
    }
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: var(--section-padding);
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content .section-tag {
    display: inline-block;
}

.about-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.value {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.value-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 182, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--accent);
    flex-shrink: 0;
}

.value h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.value p {
    font-size: 14px;
    color: var(--text-light);
}

.about-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.metric-card {
    padding: 32px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.metric-card:hover {
    background: var(--white);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.metric-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================
   Tech Stack
   ============================================ */
.techstack {
    padding: 60px 0;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.techstack-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.techstack-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(56, 182, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 182, 255, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
}

.techstack-glow {
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(56, 182, 255, 0.1) 0%, transparent 70%);
}

.techstack .section-tag {
    background: rgba(56, 182, 255, 0.2);
}

.techstack .section-title {
    color: var(--white);
}

/* Categories */
.tech-category {
    margin-bottom: 20px;
}

.tech-category:last-child {
    margin-bottom: 0;
}

.tech-cat-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding-left: 4px;
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tech-cat-label svg {
    width: 14px;
    height: 14px;
}

/* Card grid */
.tech-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.tech-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: all var(--transition-base);
    cursor: default;
}

.tech-card:hover {
    background: rgba(56, 182, 255, 0.1);
    border-color: rgba(56, 182, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.tech-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

.tech-card-icon svg {
    width: 20px;
    height: 20px;
}

.tech-card:hover .tech-card-icon {
    transform: scale(1.1);
}

.tech-card-name {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.tech-card-use {
    font-size: 9px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Tech Stack Simple (Homepage) */
.tech-simple {
    text-align: center;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.tech-pills span {
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-fast);
}

.tech-pills span:hover {
    background: rgba(56, 182, 255, 0.15);
    border-color: rgba(56, 182, 255, 0.3);
    color: var(--white);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .tech-pills {
        gap: 6px;
    }

    .tech-pills span {
        padding: 6px 14px;
        font-size: 11px;
    }

    .tech-simple > div[style] {
        margin-top: 20px !important;
    }
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: var(--section-padding);
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 182, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--accent);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.contact-item a,
.contact-item span {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
}

.contact-item a:hover {
    color: var(--accent);
}

/* Form */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--off-white);
    color: var(--text);
    font-size: 15px;
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(56, 182, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--primary-dark);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.5);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   Animations
   ============================================ */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }

/* ============================================
   Touch & Mobile Optimizations
   ============================================ */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .btn {
        min-height: 48px;
        padding: 14px 28px;
    }

    .nav-links a {
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .lang-option {
        min-height: 48px;
    }

    .footer-social a {
        width: 48px;
        height: 48px;
    }

    /* Disable hover effects on touch */
    .service-card:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }

    .software-screen:hover {
        transform: none;
    }

    .metric-card:hover {
        transform: none;
    }

    .tech-card:hover {
        transform: none;
    }

    /* Tap highlight */
    a, button {
        -webkit-tap-highlight-color: rgba(56, 182, 255, 0.15);
    }
}

/* Safe area for notch devices */
@supports (padding: env(safe-area-inset-top)) {
    .navbar {
        padding-top: max(20px, env(safe-area-inset-top));
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    .hero {
        padding-top: max(80px, calc(env(safe-area-inset-top) + 60px));
    }

    .footer-bottom {
        padding-bottom: max(24px, env(safe-area-inset-bottom));
    }

    .nav-links {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }

    .container {
        padding-left: max(24px, env(safe-area-inset-left));
        padding-right: max(24px, env(safe-area-inset-right));
    }
}

/* ============================================
   Responsive - Tablet
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .hero-visual {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .services-grid .service-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }

    .software-card {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .software-card.reverse {
        direction: ltr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .section-title.left {
        text-align: center;
    }

    .about-content .section-tag {
        text-align: center;
        display: block;
    }

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

    .about-values {
        text-align: left;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-info .section-title.left {
        text-align: center;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer {
        padding: 60px 0 0;
    }

    .footer-grid {
        padding-bottom: 40px;
    }
}

/* ============================================
   Responsive - Mobile
   ============================================ */
@media (max-width: 768px) {
    :root {
        --section-padding: 48px 0;
        --container-padding: 0 18px;
    }

    /* Prevent horizontal overflow */
    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    /* Navbar Mobile */
    .navbar {
        padding: 12px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        z-index: 1000;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 20px;
        padding: 16px 32px;
        color: rgba(255, 255, 255, 0.85);
        width: 100%;
        text-align: center;
    }

    .nav-links a:hover,
    .nav-links a:active {
        background: rgba(255, 255, 255, 0.1);
    }

    .hamburger {
        display: flex;
    }

    .btn-nav {
        display: none;
    }

    .hamburger.active span {
        background: var(--white) !important;
    }

    /* Language switcher mobile */
    .lang-btn {
        padding: 8px 10px;
    }

    .lang-code {
        display: none;
    }

    .lang-dropdown {
        right: -10px;
        min-width: 160px;
    }

    /* Hero Mobile */
    .hero {
        min-height: auto;
        padding: 100px 0 48px;
    }

    .hero-title {
        font-size: clamp(26px, 7.5vw, 40px);
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 1.65;
        padding: 0 4px;
        margin-bottom: 24px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 5px 12px;
        margin-bottom: 12px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 32px;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 12px 24px;
        font-size: 14px;
    }

    .hero-cta-btn {
        min-width: unset;
    }

    .btn {
        white-space: normal;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .stat {
        text-align: center;
        min-width: 80px;
    }

    .stat-number, .stat-suffix {
        font-size: 24px;
    }

    .stat-label {
        font-size: 10px;
    }

    .scroll-indicator {
        display: none;
    }

    /* Section headers mobile */
    .section-header {
        margin-bottom: 32px;
    }

    .section-tag {
        font-size: 11px;
        padding: 5px 14px;
    }

    .section-title {
        font-size: clamp(22px, 6vw, 30px);
        white-space: normal;
    }

    .section-subtitle {
        font-size: 14px;
        padding: 0 4px;
        white-space: normal;
    }

    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .services-grid .service-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    .service-card {
        padding: 24px 18px;
    }

    .service-title {
        font-size: 18px;
    }

    .service-desc {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .service-features li {
        font-size: 12px;
    }

    .service-badge {
        top: -10px;
        right: 16px;
        font-size: 10px;
        padding: 4px 10px;
    }

    /* Software Mobile */
    .software-grid {
        gap: 32px;
    }

    .software-card {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .software-name {
        font-size: 20px;
    }

    .software-desc {
        font-size: 13px;
    }

    .software-category {
        font-size: 10px;
    }

    .software-tags {
        gap: 6px;
        margin-bottom: 16px;
    }

    .software-tags span {
        font-size: 11px;
        padding: 4px 10px;
    }

    .software-info .btn {
        width: 100%;
    }

    .screen-content {
        padding: 16px;
        min-height: 140px;
    }

    .screen-chart {
        height: 90px;
        gap: 6px;
    }

    /* About Mobile */
    .about-text {
        font-size: 14px;
    }

    .about-values {
        margin-top: 24px;
        gap: 16px;
    }

    .value-icon {
        width: 36px;
        height: 36px;
    }

    .value-icon svg {
        width: 18px;
        height: 18px;
    }

    .value {
        gap: 12px;
    }

    .value h4 {
        font-size: 14px;
    }

    .value p {
        font-size: 12px;
    }

    .about-metrics {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .metric-card {
        padding: 16px 10px;
    }

    .metric-number {
        font-size: 22px;
    }

    .metric-label {
        font-size: 10px;
    }

    /* Tech Stack Mobile */
    .techstack {
        padding: 40px 0;
    }

    .techstack .section-header {
        margin-bottom: 24px;
    }

    .tech-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .tech-card {
        padding: 10px 6px;
        gap: 4px;
    }

    .tech-card-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .tech-card-icon svg {
        width: 18px;
        height: 18px;
    }

    .tech-card-name {
        font-size: 10px;
    }

    .tech-card-use {
        font-size: 8px;
    }

    .tech-cat-label {
        font-size: 10px;
    }

    .tech-category {
        margin-bottom: 20px;
    }

    /* Contact Mobile */
    .contact-text {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .contact-details {
        gap: 14px;
        margin-bottom: 8px;
    }

    .contact-icon {
        width: 38px;
        height: 38px;
    }

    .contact-icon svg {
        width: 18px;
        height: 18px;
    }

    .contact-item a,
    .contact-item span {
        font-size: 13px;
    }

    .contact-label {
        font-size: 10px;
    }

    .contact-form {
        padding: 24px 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

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

    .form-group label {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 11px 14px;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }

    .form-group textarea {
        min-height: 90px;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* Footer Mobile */
    .footer {
        padding: 32px 0 0;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        padding-bottom: 20px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        padding-bottom: 16px;
        margin-bottom: 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-brand .logo {
        justify-content: center;
        margin-bottom: 8px;
    }

    .footer-desc {
        max-width: 100%;
        text-align: center;
        font-size: 12px;
        line-height: 1.6;
    }

    .footer-links {
        text-align: left;
    }

    .footer-links h4 {
        margin-bottom: 8px;
        font-size: 11px;
    }

    .footer-links ul {
        gap: 5px;
    }

    .footer-links a {
        font-size: 11px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 16px 0;
    }

    .footer-bottom p {
        font-size: 11px;
        line-height: 1.5;
    }

    .footer-social {
        gap: 10px;
    }

    .footer-social a {
        width: 44px;
        height: 44px;
    }

    .tech-card-use {
        font-size: 10px;
    }
}

/* ============================================
   Responsive - Small Mobile (< 400px)
   ============================================ */
@media (max-width: 400px) {
    :root {
        --container-padding: 0 14px;
    }

    .hero {
        padding: 90px 0 48px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-stats {
        gap: 16px;
    }

    .stat-number, .stat-suffix {
        font-size: 22px;
    }

    .stat-label {
        font-size: 10px;
    }

    .logo-text {
        font-size: 18px;
    }

    .logo-icon img {
        width: 28px;
        height: 28px;
    }

    .section-title {
        font-size: 20px;
    }

    .section-subtitle {
        font-size: 13px;
    }

    .service-card {
        padding: 24px 16px;
    }

    .service-title {
        font-size: 17px;
    }

    .service-desc {
        font-size: 13px;
    }

    .software-name {
        font-size: 18px;
    }

    .about-metrics {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .metric-card {
        padding: 16px 12px;
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
    }

    .metric-number {
        font-size: 22px;
        margin-bottom: 0;
    }

    .contact-form {
        padding: 20px 14px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 11px 12px;
    }

    .tech-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .tech-card {
        padding: 12px 6px;
    }

    /* Footer small mobile */
    .footer {
        padding: 24px 0 0;
    }

    .footer-grid {
        gap: 12px;
    }

    .footer-desc {
        font-size: 11px;
    }

    .footer-links h4 {
        font-size: 10px;
        margin-bottom: 6px;
    }

    .footer-links a {
        font-size: 10px;
    }

    .footer-links ul {
        gap: 4px;
    }

    .footer-bottom {
        padding: 12px 0;
        gap: 10px;
    }

    .footer-social a {
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   Landscape Mobile
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .hero-actions {
        flex-direction: row;
        margin-bottom: 20px;
    }

    .hero-stats {
        flex-direction: row;
        gap: 32px;
    }

    .nav-links a {
        font-size: 16px;
        padding: 10px 24px;
    }

    .scroll-indicator {
        display: none;
    }
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    [data-aos] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .navbar, .scroll-indicator, .hero-bg, .hamburger, .lang-switcher {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
        background: none;
    }

    .hero-title, .hero-subtitle {
        color: var(--text);
    }

    body {
        font-size: 12pt;
    }
}
