/* ===================================
   Twinity - Dark Modern Design System
   Brand Colors: #28ae80 (green), #151c32 (dark blue)
   Font: Poppins
   =================================== */

/* CSS Variables */
:root {
    /* Brand Colors */
    --brand-green: #28ae80;
    --brand-green-light: #3dd9a0;
    --brand-green-dark: #1f8a66;
    --brand-green-glow: rgba(40, 174, 128, 0.4);

    /* Dark Theme Colors */
    --bg-primary: #0a0f1a;
    --bg-secondary: #111827;
    --bg-tertiary: #1a2234;
    --bg-card: #151c2c;
    --bg-card-hover: #1e2742;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Borders */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-light: rgba(255, 255, 255, 0.12);

    /* Accents */
    --accent: #28ae80;
    --accent-light: #3dd9a0;
    --accent-glow: rgba(40, 174, 128, 0.15);

    /* Typography */
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --container-max: 1280px;
    --section-padding: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows for dark theme */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px rgba(40, 174, 128, 0.15);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

.gradient-text {
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 15, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 42px;
    height: 42px;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    position: relative;
    padding: 0.625rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand-green);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: calc(100% - 2rem);
}

.nav-link.active {
    color: var(--brand-green);
}

.nav-link.active::after {
    width: calc(100% - 2rem);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    cursor: pointer;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--brand-green);
    color: white;
    box-shadow: 0 4px 20px var(--brand-green-glow);
}

.btn-primary:hover {
    background: var(--brand-green-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--brand-green-glow);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color-light);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--brand-green);
}

.btn-outline {
    border: 1px solid var(--brand-green);
    color: var(--brand-green);
    background: transparent;
}

.btn-outline:hover {
    background: var(--brand-green);
    color: white;
    box-shadow: 0 4px 20px var(--brand-green-glow);
}

.btn-white {
    background: white;
    color: var(--bg-primary);
}

.btn-white:hover {
    background: var(--brand-green-light);
    color: white;
}

.btn-outline-white {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: transparent;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-disabled,
.btn-disabled:hover {
    background: var(--bg-tertiary);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    cursor: not-allowed;
    opacity: 0.6;
}

/* ===================================
   Section Styles
   =================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--brand-green);
    background: var(--accent-glow);
    border: 1px solid rgba(40, 174, 128, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 6rem;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--brand-green);
    background: var(--accent-glow);
    border: 1px solid rgba(40, 174, 128, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Hero Benefits */
.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.hero-benefit {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.hero-benefit svg {
    width: 18px;
    height: 18px;
    color: var(--brand-green);
    flex-shrink: 0;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-green);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
}

.hero-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.floating-card .card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: var(--radius-lg);
    color: var(--brand-green);
}

.floating-card .card-icon svg {
    width: 24px;
    height: 24px;
}

.floating-card .card-text {
    font-weight: 600;
    color: var(--text-primary);
}

.card-1 { top: 10%; left: 10%; animation-delay: 0s; }
.card-2 { top: 30%; right: 5%; animation-delay: 1s; }
.card-3 { bottom: 30%; left: 5%; animation-delay: 2s; }
.card-4 { bottom: 10%; right: 15%; animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Hero Background */
.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(40, 174, 128, 0.2);
    top: -200px;
    right: -100px;
    animation: orbFloat1 15s ease-in-out infinite, orbPulse 8s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(40, 174, 128, 0.15);
    bottom: -100px;
    left: -100px;
    animation: orbFloat2 18s ease-in-out infinite, orbPulse 10s ease-in-out infinite 2s;
}

@keyframes orbFloat1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(-50px, 30px) scale(1.05);
    }
    50% {
        transform: translate(-30px, -50px) scale(0.95);
    }
    75% {
        transform: translate(40px, -20px) scale(1.02);
    }
}

@keyframes orbFloat2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(60px, -40px) scale(1.08);
    }
    66% {
        transform: translate(-40px, 50px) scale(0.92);
    }
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(40, 174, 128, 0.12);
    top: 40%;
    left: 30%;
    animation: orbFloat3 20s ease-in-out infinite, orbPulse 12s ease-in-out infinite 4s;
}

@keyframes orbFloat3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    20% {
        transform: translate(80px, 60px) scale(1.1);
    }
    40% {
        transform: translate(-60px, 80px) scale(0.9);
    }
    60% {
        transform: translate(50px, -40px) scale(1.05);
    }
    80% {
        transform: translate(-30px, -60px) scale(0.95);
    }
}

@keyframes orbPulse {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.7;
    }
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(40, 174, 128, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(40, 174, 128, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ===================================
   Services Overview (Homepage)
   =================================== */
.services-overview {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-green);
    box-shadow: var(--shadow-glow);
}

.service-card.featured {
    background: linear-gradient(135deg, rgba(40, 174, 128, 0.1) 0%, var(--bg-card) 100%);
    border-color: rgba(40, 174, 128, 0.3);
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    background: var(--brand-green);
    border-radius: var(--radius-full);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: var(--radius-lg);
    color: var(--brand-green);
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-link {
    font-weight: 500;
    color: var(--brand-green);
    transition: var(--transition-fast);
}

.service-card:hover .service-link {
    color: var(--brand-green-light);
}

.services-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ===================================
   Why Us Section
   =================================== */
.why-us {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.why-us-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

.why-us-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.why-us-text .section-badge {
    display: inline-block;
}

.why-us-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: left;
}

.why-us-text .btn {
    margin-top: 1rem;
}

.section-description {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.why-us-features {
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: var(--radius-lg);
    color: var(--brand-green);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-text h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* Why Us Visual */
.why-us-visual {
    display: flex;
    justify-content: center;
}

.visual-card.main-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--border-color);
    max-width: 400px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.card-header .card-icon {
    font-size: 1.5rem;
}

.card-header .card-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-body h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-body p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.card-tags span {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
}

.card-link {
    font-weight: 500;
    color: var(--brand-green);
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cta-background .orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(40, 174, 128, 0.1);
    top: -150px;
    right: -100px;
    opacity: 0.5;
}

.cta-background .orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(40, 174, 128, 0.08);
    bottom: -100px;
    left: -50px;
    opacity: 0.5;
}

/* ===================================
   Page Header (Subpages)
   =================================== */
.page-header {
    position: relative;
    padding: 10rem 0 5rem;
    background: var(--bg-secondary);
    overflow: hidden;
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.page-title {
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(40, 174, 128, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(40, 174, 128, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ===================================
   Services Page
   =================================== */
.services-nav-section {
    padding: 2rem 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.services-quick-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.quick-nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.quick-nav-item svg {
    width: 18px;
    height: 18px;
}

.quick-nav-item:hover,
.quick-nav-item.active {
    color: var(--brand-green);
    border-color: var(--brand-green);
    background: var(--accent-glow);
}

/* Service Detail */
.service-detail {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
    scroll-margin-top: 220px;
}

.service-detail.alt-bg {
    background: var(--bg-secondary);
}

.service-detail.featured-service {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.service-badge-large {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: white;
    background: var(--brand-green);
    border-radius: var(--radius-full);
}

.service-detail-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-green);
    border-radius: var(--radius-xl);
    color: white;
}

.service-detail-icon svg {
    width: 36px;
    height: 36px;
}

.service-detail-title h2 {
    margin-bottom: 0.5rem;
}

.service-detail-title p {
    color: var(--text-muted);
    font-size: 1.0625rem;
}

.service-description {
    max-width: 800px;
    margin-bottom: 3rem;
}

.service-description p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature-card {
    padding: 1.75rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.feature-card:hover {
    border-color: rgba(40, 174, 128, 0.3);
    background: var(--bg-card-hover);
}

.feature-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: var(--radius-lg);
    color: var(--brand-green);
    margin-bottom: 1rem;
}

.feature-card-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h4 {
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.service-technologies h4 {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-tags span {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--bg-card);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
}

/* ===================================
   About Page
   =================================== */
.about-content-section {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-intro-text h2 {
    margin-bottom: 1.5rem;
}

.about-intro-text .lead {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-intro-text p {
    color: var(--text-muted);
    line-height: 1.7;
}

.about-intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-green);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-text {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* Values Section */
.values-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.value-card {
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: rgba(40, 174, 128, 0.3);
}

.value-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: var(--radius-xl);
    color: var(--brand-green);
    margin: 0 auto 1.5rem;
}

.value-icon svg {
    width: 32px;
    height: 32px;
}

.value-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--text-muted);
}

/* Process Timeline */
.how-we-work-section {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-green);
    border-radius: var(--radius-xl);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
    padding-top: 0.5rem;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-muted);
}

/* Technologies Section */
.technologies-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-category {
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
}

.tech-category h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-list span {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
}

/* ===================================
   References Page
   =================================== */
.references-section {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.references-intro {
    max-width: 700px;
    margin: 0 auto 4rem;
    text-align: center;
}

.references-intro p {
    font-size: 1.0625rem;
    color: var(--text-muted);
}

.reference-detail-card {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-bottom: 2rem;
}

.reference-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1.5rem;
}

.reference-company {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.company-logo {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-green);
    border-radius: var(--radius-lg);
    color: white;
}

.company-logo svg {
    width: 28px;
    height: 28px;
}

.company-logo:has(img) {
    background: none;
    border-radius: 0;
    width: auto;
    height: auto;
}

.company-logo-img {
    max-width: 60px;
    height: auto;
    object-fit: contain;
}

.company-info h2 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.company-type {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.reference-stats {
    display: flex;
    gap: 2rem;
}

.ref-stat {
    text-align: center;
}

.ref-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-green);
}

.ref-stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.reference-card-body {
    padding: 2rem;
}

.reference-description,
.reference-scope,
.reference-technologies,
.reference-results {
    margin-bottom: 2rem;
}

.reference-description h3,
.reference-scope h3,
.reference-technologies h3,
.reference-results h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.reference-description p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.scope-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.scope-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.scope-list svg {
    width: 20px;
    height: 20px;
    color: var(--brand-green);
    flex-shrink: 0;
    margin-top: 2px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
}

.result-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-green);
    border-radius: 50%;
    color: white;
    flex-shrink: 0;
}

.result-icon svg {
    width: 16px;
    height: 16px;
}

.result-item p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* Reference Testimonial */
.reference-testimonial {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--brand-green);
    position: relative;
}

.testimonial-quote-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-green);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.testimonial-quote-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 1.5rem;
    quotes: """ """ "'" "'";
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid var(--brand-green);
}

.author-photo svg {
    width: 28px;
    height: 28px;
    color: var(--text-secondary);
}

.author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
    margin: 0;
}

.author-position {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin: 0;
}

/* More References */
.more-references {
    margin-top: 3rem;
}

.more-references-card {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    border: 2px dashed var(--border-color-light);
}

.more-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-xl);
    color: var(--text-muted);
    margin: 0 auto 1.5rem;
}

.more-icon svg {
    width: 32px;
    height: 32px;
}

.more-references-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.more-references-card p {
    color: var(--text-muted);
}

/* ===================================
   Career Page
   =================================== */
.career-benefits-section {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.benefit-card {
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(40, 174, 128, 0.3);
    box-shadow: var(--shadow-glow);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: var(--radius-xl);
    color: var(--brand-green);
    margin: 0 auto 1.5rem;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
}

.benefit-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* Positions Section */
.positions-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.no-positions-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-color);
}

.no-positions-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-xl);
    color: var(--text-muted);
    margin: 0 auto 1.5rem;
}

.no-positions-icon svg {
    width: 36px;
    height: 36px;
}

.no-positions-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.no-positions-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Career CTA */
.career-cta-section {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.career-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem;
    background: var(--brand-green);
    border-radius: var(--radius-2xl);
    flex-wrap: wrap;
    gap: 2rem;
}

.cta-text {
    flex: 1;
    min-width: 300px;
}

.cta-text h2 {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.8);
}

.cta-action .btn-large svg {
    width: 20px;
    height: 20px;
}

/* ===================================
   Blog Page
   =================================== */
.blog-section {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.blog-intro {
    max-width: 700px;
    margin: 0 auto 4rem;
    text-align: center;
}

.blog-intro p {
    font-size: 1.0625rem;
    color: var(--text-muted);
}

.blog-coming-soon {
    margin-bottom: 4rem;
}

.coming-soon-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-color);
}

.coming-soon-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: var(--radius-2xl);
    color: var(--brand-green);
    margin: 0 auto 2rem;
}

.coming-soon-icon svg {
    width: 40px;
    height: 40px;
}

.coming-soon-card h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.coming-soon-card > p {
    color: var(--text-muted);
    font-size: 1.0625rem;
    margin-bottom: 2rem;
}

.coming-soon-topics {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.coming-soon-topics h4 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.topic-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.topic-item svg {
    width: 24px;
    height: 24px;
    color: var(--brand-green);
    flex-shrink: 0;
}

.topic-item span {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Newsletter */
.newsletter-section {
    margin-top: 4rem;
}

.newsletter-card {
    background: var(--brand-green);
    border-radius: var(--radius-2xl);
    padding: 3rem;
}

.newsletter-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-content h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

/* ===================================
   Contact Page
   =================================== */
.contact-section {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info-card,
.billing-info-card,
.contact-form-card {
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-color);
}

.contact-info-card h2,
.contact-form-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-form-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: var(--radius-lg);
    color: var(--brand-green);
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-item-content a,
.contact-item-content p {
    color: var(--text-muted);
}

.contact-item-content a:hover {
    color: var(--brand-green);
}

/* Contact full-width layout (without form) */
.contact-info-full {
    margin-bottom: 0;
}

.contact-items-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.billing-info-full {
    margin-top: 1.5rem;
}

.billing-info-full .billing-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 3rem;
}

/* Billing Info */
.billing-info-card {
    margin-top: 1.5rem;
}

.billing-info-card h3 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.billing-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.billing-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.billing-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.billing-value {
    color: var(--text-muted);
}

/* Contact Form */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--brand-green);
    background: var(--bg-card);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
}

.contact-form .btn {
    grid-column: span 2;
    justify-content: center;
}

/* Map Section */
.map-section {
    padding: 0 0 var(--section-padding);
    background: var(--bg-primary);
}

.map-header {
    text-align: center;
    margin-bottom: 2rem;
}

.map-header h2 {
    font-size: 1.5rem;
}

.map-container {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-container iframe {
    display: block;
    filter: grayscale(100%) invert(92%) contrast(83%);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer .logo-text {
    color: var(--text-primary);
}

.footer-tagline {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--brand-green);
    border-color: var(--brand-green);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a,
.footer-column li {
    color: var(--text-muted);
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--brand-green);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-legal-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-legal-links .separator {
    opacity: 0.5;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-benefits {
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .why-us-content {
        grid-template-columns: 1fr;
    }

    .about-intro {
        grid-template-columns: 1fr;
    }

    .about-intro-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-items-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        padding: 2rem 1.5rem;
        gap: 2rem;
        border-bottom: 1px solid var(--border-color);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 1rem 1.5rem 1.5rem 1.5rem;
        font-size: 1.125rem;
        text-align: center;
        line-height: 1.5;
    }

    .nav-link::after {
        bottom: 0.5rem;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 7rem 0 4rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-benefits {
        align-items: center;
    }

    .services-quick-nav {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .quick-nav-item {
        white-space: nowrap;
    }

    .service-detail-header {
        flex-direction: column;
        text-align: center;
    }

    .about-intro-stats {
        grid-template-columns: 1fr;
    }

    .contact-items-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .contact-form .btn {
        grid-column: span 1;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-legal {
        flex-direction: column;
        text-align: center;
    }

    .career-cta-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-text {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .process-step {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
