/* ============================================
   Shriram IT Ventures — Corporate Website
   ============================================ */

:root {
    --primary: #1A0505;
    --primary-light: #2D0A0A;
    --primary-dark: #0D0202;
    --secondary: #DC2626;
    --accent: #EF4444;
    --accent-dark: #B91C1C;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-sm: 0 1px 2px rgba(26, 5, 5, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(26, 5, 5, 0.08), 0 2px 4px -2px rgba(26, 5, 5, 0.05);
    --shadow-lg: 0 10px 25px -5px rgba(26, 5, 5, 0.1), 0 8px 10px -6px rgba(26, 5, 5, 0.05);
    --shadow-xl: 0 20px 40px -10px rgba(26, 5, 5, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 72px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

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

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }

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

.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary);
    margin-bottom: 12px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
    border: 2px solid transparent;
}

.btn-sm { padding: 8px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}
.btn-primary:hover {
    background: #B91C1C;
    border-color: #B91C1C;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}
.btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--gray-300);
}
.btn-outline:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-2px);
}

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

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    overflow: visible;
}

.logo-circle,
.logo-circle-pulse {
    transform-box: fill-box;
    transform-origin: center;
}

.logo-circle {
    animation: logo-circle-breathe 2.4s ease-in-out infinite;
}

.logo-circle-pulse {
    opacity: 0.45;
    animation: logo-circle-expand 2.4s ease-out infinite;
}

@keyframes logo-circle-breathe {
    0%, 100% { transform: scale(0.92); }
    50% { transform: scale(1.08); }
}

@keyframes logo-circle-expand {
    0% { transform: scale(1); opacity: 0.45; }
    70% { transform: scale(1.65); opacity: 0; }
    100% { transform: scale(1.65); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .logo-circle,
    .logo-circle-pulse {
        animation: none;
        transform: none;
        opacity: 1;
    }

    .logo-circle-pulse {
        display: none;
    }
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--primary);
    line-height: 1.2;
}

.logo-text strong 
{ 
    font-weight: 800;
    color: var(--secondary);
    font-size: 1.5rem;
}

.main-nav { flex: 1; display: flex; justify-content: center; }

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

.nav-list a {
    padding: 8px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-list a:hover,
.nav-list a.active,
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active {
    color: var(--secondary);
    background: rgba(220, 38, 38, 0.06);
}

.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-600);
    border: none;
    background: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
    transition: all var(--transition);
}

.nav-dropdown-chevron {
    width: 14px;
    height: 14px;
    transition: transform var(--transition);
}

.nav-dropdown:hover .nav-dropdown-chevron,
.nav-dropdown.open .nav-dropdown-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 200px;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li { list-style: none; }

.nav-dropdown-menu a {
    display: block;
    padding: 10px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: all var(--transition);
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
    color: var(--secondary);
    background: rgba(220, 38, 38, 0.06);
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 60px) 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 50%, rgba(220, 38, 38, 0.03) 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(26, 5, 5, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 5, 5, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

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

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 500px; height: 500px;
    background: rgba(220, 38, 38, 0.12);
    top: -10%; right: -5%;
}

.orb-2 {
    width: 400px; height: 400px;
    background: rgba(239, 68, 68, 0.1);
    bottom: 10%; left: -10%;
    animation-delay: -3s;
}

.orb-3 {
    width: 300px; height: 300px;
    background: rgba(26, 5, 5, 0.08);
    top: 40%; left: 40%;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title { margin-bottom: 20px; }
.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    margin-bottom: 32px;
    max-width: 560px;
}

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

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
}

.hero-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.hero-stat span {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 420px;
    height: 420px;
    display: none;
}

.hero-cards { position: relative; width: 100%; height: 100%; }

.hero-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--primary);
    animation: cardFloat 6s ease-in-out infinite;
}

.card-icon { font-size: 1.5rem; }

.hero-card-1 { top: 10%; left: 10%; animation-delay: 0s; }
.hero-card-2 { top: 5%; right: 5%; animation-delay: -1.5s; }
.hero-card-3 { bottom: 20%; left: 0; animation-delay: -3s; }
.hero-card-4 { bottom: 10%; right: 10%; animation-delay: -4.5s; }

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

/* Sections */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--gray-500); font-size: 1.0625rem; }
.section-cta { text-align: center; margin-top: 48px; }

/* Page Hero */
.page-hero {
    padding: calc(var(--header-height) + 80px) 0 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero .section-label { color: var(--accent); }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255, 255, 255, 0.75); font-size: 1.125rem; max-width: 600px; margin: 0 auto; }

/* Logos Carousel */
.logos-section { padding: 48px 0; background: var(--gray-50); overflow: hidden; }

.logos-carousel { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); }

.logos-track {
    display: flex;
    gap: 48px;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.logo-item {
    flex-shrink: 0;
    padding: 12px 32px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--gray-400);
    white-space: nowrap;
    transition: color var(--transition);
}

.logo-item:hover { color: var(--gray-600); }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

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

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

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(239, 68, 68, 0.08));
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    color: var(--secondary);
}

.service-icon svg { width: 24px; height: 24px; }

.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--gray-500); font-size: 0.9375rem; margin-bottom: 20px; }

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--secondary);
}

.service-link span { transition: transform var(--transition); }
.service-link:hover span { transform: translateX(4px); }

/* Why Choose Us */
.why-section { background: var(--gray-50); }

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

.why-card {
    padding: 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.why-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.why-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: var(--radius-md);
    color: var(--white);
    margin-bottom: 16px;
}

.why-icon svg { width: 22px; height: 22px; }
.why-card h3 { margin-bottom: 8px; font-size: 1.0625rem; }
.why-card p { color: var(--gray-500); font-size: 0.875rem; }

/* Industries */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.industry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    text-align: center;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--primary);
    transition: all var(--transition);
    cursor: default;
}

.industry-card:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.industry-emoji { font-size: 2rem; }

/* Tech Stack */
.tech-section { background: var(--primary); }

.tech-section .section-label { color: var(--accent); }
.tech-section h2 { color: var(--white); }
.tech-section p { color: rgba(255, 255, 255, 0.7); }

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.tech-badge {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: all var(--transition);
}

.tech-badge:hover {
    background: rgba(220, 38, 38, 0.2);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

/* Process Timeline */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.process-step {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.process-step:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.process-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.875rem;
    color: var(--white);
}

.process-content h3 { margin-bottom: 6px; font-size: 1.0625rem; }
.process-content p { color: var(--gray-500); font-size: 0.875rem; }

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.project-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.project-image {
    height: 200px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.project-category {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    backdrop-filter: blur(8px);
}

.project-body { padding: 24px; }
.project-body h3 { margin-bottom: 6px; }
.project-client { font-size: 0.8125rem; color: var(--secondary); font-weight: 500; margin-bottom: 12px; }
.project-body > p { color: var(--gray-500); font-size: 0.875rem; margin-bottom: 16px; }

.project-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.metric {
    padding: 4px 10px;
    background: var(--gray-50);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-dark);
}

/* Project Image Gradients */
.img-healthcare { background: linear-gradient(135deg, #1A0505, #DC2626); }
.img-education { background: linear-gradient(135deg, #2D0A0A, #EF4444); }
.img-ecommerce { background: linear-gradient(135deg, #1A0505, #B91C1C); }
.img-finance { background: linear-gradient(135deg, #2D0A0A, #DC2626); }
.img-realestate { background: linear-gradient(135deg, #1A0505, #EF4444); }
.img-ai { background: linear-gradient(135deg, #0D0202, #991B1B); }
.img-manufacturing { background: linear-gradient(135deg, #2D0A0A, #B91C1C); }
.img-security { background: linear-gradient(135deg, #1A0505, #DC2626); }

/* Testimonials */
.testimonials-section { background: var(--gray-50); }

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

.testimonial-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.testimonial-card:hover { box-shadow: var(--shadow-lg); }

.testimonial-rating { margin-bottom: 16px; }
.star { color: #fbbf24; font-size: 1rem; }

.testimonial-card blockquote {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

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

.author-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
}

.testimonial-author strong {
    display: block;
    font-size: 0.875rem;
    color: var(--primary);
}

.testimonial-author span {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

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

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item.active {
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    text-align: left;
    transition: background var(--transition);
}

.faq-question:hover { background: var(--gray-50); }

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--gray-400);
    transition: transform var(--transition);
}

.faq-item.active .faq-icon { transform: rotate(180deg); color: var(--secondary); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--gray-500);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* CTA Section */
.cta-section { padding: 60px 0; }

.cta-box {
    text-align: center;
    padding: 64px 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #0f3050 100%);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(220, 38, 38, 0.15), transparent 60%);
}

.cta-box h2 { color: var(--white); margin-bottom: 12px; position: relative; }
.cta-box p { color: rgba(255, 255, 255, 0.75); margin-bottom: 28px; font-size: 1.0625rem; position: relative; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; position: relative; }

/* About Page */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 { margin-bottom: 20px; }
.about-content p { margin-bottom: 16px; color: var(--gray-600); }

.about-card-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-stat-card {
    padding: 28px 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition);
}

.about-stat-card:hover { transform: translateX(8px); }
.about-stat-card.accent { background: linear-gradient(135deg, var(--secondary), var(--accent)); border: none; }
.about-stat-card.accent strong, .about-stat-card.accent span { color: var(--white); }

.about-stat-card strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.about-stat-card span { font-size: 0.875rem; color: var(--gray-500); }

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

.mission-card {
    padding: 40px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--gray-200);
}

.mission-icon { font-size: 2.5rem; margin-bottom: 16px; }
.mission-card h3 { margin-bottom: 12px; }
.mission-card p { color: var(--gray-600); font-size: 1.0625rem; font-style: italic; }

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.value-card {
    padding: 28px 20px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.value-card:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.value-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

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

.expertise-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--primary);
}

.expertise-item svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

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

.team-card {
    padding: 32px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.team-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
}

.team-card h3 { margin-bottom: 4px; }
.team-role { display: block; font-size: 0.875rem; color: var(--secondary); font-weight: 600; margin-bottom: 12px; }
.team-card p { font-size: 0.875rem; color: var(--gray-500); }

.stats-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 4px;
}

.stat-item span { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.7); }

/* Services Detail */
.service-detail { padding: 80px 0; }
.service-alt { background: var(--gray-50); }

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

.service-detail-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: var(--radius-md);
    color: var(--white);
    margin-bottom: 20px;
}

.service-detail-icon svg { width: 28px; height: 28px; }
.service-detail-content h2 { margin-bottom: 16px; }
.service-detail-content > p { color: var(--gray-500); margin-bottom: 24px; font-size: 1.0625rem; }

.service-items { margin-bottom: 28px; }
.service-items li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-weight: 500;
    color: var(--gray-700);
}

.service-items svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

.service-visual-card {
    padding: 40px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.service-alt .service-visual-card { background: var(--white); }

.visual-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 24px;
}

.visual-features { display: flex; flex-direction: column; gap: 12px; }

.visual-feature {
    padding: 14px 20px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--primary);
    transition: all var(--transition);
}

.visual-feature:hover {
    background: rgba(220, 38, 38, 0.08);
    transform: translateX(4px);
}

/* Portfolio */
.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

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

.portfolio-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.portfolio-item:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.portfolio-item.hidden { display: none; }

.portfolio-image {
    height: 240px;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.portfolio-overlay { padding: 16px; width: 100%; }

.portfolio-industry {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    backdrop-filter: blur(8px);
}

.portfolio-body { padding: 28px; }
.portfolio-body h3 { margin-bottom: 4px; }
.portfolio-client { font-size: 0.875rem; color: var(--secondary); font-weight: 500; margin-bottom: 12px; }
.portfolio-body > p { color: var(--gray-500); font-size: 0.9375rem; margin-bottom: 16px; }

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-tag {
    padding: 4px 12px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
}

.portfolio-results h4 {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.portfolio-results li {
    padding: 4px 0;
    font-size: 0.875rem;
    color: var(--accent-dark);
    font-weight: 500;
}

.portfolio-results li::before {
    content: '✓ ';
    color: var(--accent);
}

/* Case Studies */
.case-studies-section { padding-top: 60px; }

.case-study {
    padding: 48px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    margin-bottom: 32px;
    transition: all var(--transition);
}

.case-study:hover { box-shadow: var(--shadow-lg); }

.case-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.case-industry,
.case-client {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.case-industry { background: rgba(220, 38, 38, 0.1); color: var(--secondary); }
.case-client { background: var(--gray-100); color: var(--gray-600); }

.case-header h2 { margin-bottom: 32px; }

.case-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.case-challenge,
.case-solution,
.case-tech,
.case-results { grid-column: span 1; }
.case-tech,
.case-results { grid-column: span 2; }

.case-body h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.case-body h3 svg { width: 20px; height: 20px; color: var(--secondary); }
.case-body p { color: var(--gray-600); font-size: 0.9375rem; line-height: 1.7; }

.case-tech-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.result-card {
    padding: 20px;
    text-align: center;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.result-card strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 4px;
}

.result-card span { font-size: 0.8125rem; color: var(--gray-500); }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.contact-form-wrapper {
    padding: 40px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

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

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

.form-group label span { color: #ef4444; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--gray-700);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

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

.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 0.9375rem;
}

.alert svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }

.alert-success {
    background: rgba(220, 38, 38, 0.1);
    color: var(--accent-dark);
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-error ul { list-style: disc; padding-left: 20px; }

.contact-info-card {
    padding: 32px;
    background: var(--primary);
    border-radius: var(--radius-xl);
    color: var(--white);
    margin-bottom: 24px;
}

.contact-info-card h3 { color: var(--white); margin-bottom: 24px; }

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-details li:last-child { border-bottom: none; }

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

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

.contact-details strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2px;
}

.contact-details a { color: var(--white); }
.contact-details a:hover { color: var(--accent); }
.contact-details span { color: rgba(255, 255, 255, 0.9); }

.contact-social { margin-top: 24px; }
.contact-social h4 { color: var(--white); font-size: 0.875rem; margin-bottom: 12px; }

.contact-info .social-links a {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.contact-info .social-links a:hover {
    background: var(--secondary);
}

.contact-hours {
    padding: 24px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
}

.contact-hours h4 { margin-bottom: 12px; font-size: 1rem; }
.contact-hours p { font-size: 0.875rem; color: var(--gray-500); padding: 4px 0; }

.map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
}

.map-section { padding-top: 0; }

/* Footer */
.site-footer { background: var(--primary-dark); }

.footer-cta {
    position: relative;
    padding: 72px 0;
    background: linear-gradient(135deg, #450a0a 0%, var(--secondary) 45%, #ef4444 100%);
    overflow: hidden;
}

.footer-cta-glow {
    position: absolute;
    top: -40%;
    right: -10%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.footer-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.footer-cta-label {
    display: inline-block;
    padding: 5px 14px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.footer-cta-content {
    flex: 1;
    max-width: 560px;
}

.footer-cta-content h2 {
    color: var(--white);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 10px;
    line-height: 1.25;
}

.footer-cta-content p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.0625rem;
    line-height: 1.6;
    margin: 0;
}

.footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.btn-footer-primary {
    background: var(--white);
    color: var(--secondary);
    border: 2px solid var(--white);
    font-weight: 600;
    white-space: nowrap;
}
.btn-footer-primary:hover {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fef2f2;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.btn-footer-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.55);
    font-weight: 600;
    white-space: nowrap;
}
.btn-footer-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-main { padding: 60px 0 40px; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-logo .logo-text { color: var(--white); }
.footer-desc { color: rgba(255, 255, 255, 0.6); font-size: 0.875rem; margin: 16px 0 24px; line-height: 1.7; }

.social-links { display: flex; gap: 10px; }

.social-links 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.7);
    transition: all var(--transition);
}

.social-links a svg { width: 18px; height: 18px; }

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

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 0.9375rem;
    margin-bottom: 20px;
}

.footer-links li { padding: 6px 0; }

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact li svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--accent); }
.footer-contact a { color: rgba(255, 255, 255, 0.6); }
.footer-contact a:hover { color: var(--accent); }

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 0.875rem;
}

.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.4); }
.newsletter-form input:focus { outline: none; border-color: var(--accent); }

.form-success {
    margin-top: 8px;
    font-size: 0.8125rem;
    color: var(--accent);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

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

.footer-legal { display: flex; gap: 20px; }

.footer-legal a {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

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

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--delay, 0s);
}

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

/* Responsive */
@media (min-width: 1200px) {
    .hero-visual { display: block; }
    .hero .container { max-width: 1400px; }
}

@media (max-width: 1024px) {
    .services-grid,
    .why-grid,
    .projects-grid,
    .testimonials-grid,
    .team-grid { grid-template-columns: repeat(2, 1fr); }

    .process-timeline { grid-template-columns: repeat(2, 1fr); }
    .industries-grid { grid-template-columns: repeat(3, 1fr); }
    .values-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid,
    .service-detail-grid,
    .contact-grid { grid-template-columns: 1fr; }
    .case-body { grid-template-columns: 1fr; }
    .case-tech, .case-results { grid-column: span 1; }
    .results-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-cta-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .footer-cta-content { max-width: 100%; }
    .footer-cta-actions { justify-content: center; }
}

@media (max-width: 768px) {
    .footer-cta { padding: 48px 0; }
    .footer-cta-actions {
        flex-direction: column;
        width: 100%;
    }
    .footer-cta-actions .btn { width: 100%; }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--gray-200);
        padding: 16px;
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-list > li > a,
    .nav-dropdown-trigger {
        display: block;
        width: 100%;
        padding: 12px 16px;
        text-align: left;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        padding: 0 0 0 12px;
        margin-top: 4px;
        display: none;
    }

    .nav-dropdown.open .nav-dropdown-menu { display: block; }

    .nav-dropdown-menu a { padding: 10px 16px; }

    .mobile-toggle { display: flex; }
    .header-actions .btn-sm { display: none; }

    .services-grid,
    .why-grid,
    .projects-grid,
    .testimonials-grid,
    .team-grid,
    .portfolio-grid,
    .process-timeline,
    .industries-grid,
    .expertise-grid,
    .mission-grid { grid-template-columns: 1fr; }

    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-stats { gap: 20px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .section { padding: 60px 0; }
    .cta-box { padding: 40px 24px; }
    .case-study { padding: 28px; }
    .contact-form-wrapper { padding: 24px; }
    .portfolio-filters { gap: 6px; }
    .filter-btn { padding: 8px 14px; font-size: 0.8125rem; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .values-grid { grid-template-columns: 1fr; }
    .results-grid { grid-template-columns: 1fr 1fr; }
}

/* Breadcrumb */
.breadcrumb {
    padding: calc(var(--header-height) + 16px) 0 0;
    background: var(--gray-50);
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-500);
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    color: var(--gray-300);
}

.breadcrumb-list a {
    color: var(--gray-600);
    transition: color var(--transition);
}

.breadcrumb-list a:hover { color: var(--secondary); }
.breadcrumb-list li:last-child span { color: var(--primary); font-weight: 600; }

/* Detail Pages */
.detail-hero {
    padding: 40px 0 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
}

.detail-hero h1 { color: var(--white); margin-bottom: 16px; }
.detail-lead { font-size: 1.125rem; color: rgba(255, 255, 255, 0.8); line-height: 1.7; margin-bottom: 24px; }
.detail-client { font-size: 1rem; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.detail-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.detail-hero-visual .service-visual-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.detail-hero-visual .visual-feature {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.detail-hero-banner {
    height: 320px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: flex-end;
    margin-bottom: 32px;
    overflow: hidden;
}

.detail-hero-banner-content {
    display: flex;
    gap: 10px;
    padding: 20px;
    width: 100%;
}

.detail-badge {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

.detail-hero-meta h1 { color: var(--white); }
.detail-hero-meta .detail-lead { color: rgba(255, 255, 255, 0.8); }

.detail-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.meta-item strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.meta-item span { font-weight: 600; color: var(--white); }

.detail-alt { background: var(--gray-50); }

.detail-content-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 48px;
    align-items: start;
}

.detail-block {
    margin-bottom: 40px;
}

.detail-block h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-200);
}

.detail-block p { color: var(--gray-600); line-height: 1.8; font-size: 1.0625rem; }

.feature-list li,
.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-weight: 500;
    color: var(--gray-700);
}

.feature-list svg,
.benefits-list svg { width: 20px; height: 20px; color: var(--secondary); flex-shrink: 0; margin-top: 2px; }

.detail-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

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

.feature-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-card h3 { margin-bottom: 10px; font-size: 1.125rem; }
.feature-card p { color: var(--gray-500); font-size: 0.9375rem; }

.mini-process { display: flex; flex-direction: column; gap: 16px; }

.mini-process-step {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
}

.mini-step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.75rem;
    color: var(--white);
}

.mini-process-step strong { display: block; font-size: 0.9375rem; color: var(--primary); margin-bottom: 4px; }
.mini-process-step p { font-size: 0.8125rem; color: var(--gray-500); }

.sidebar-card {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

.sidebar-card h3 { font-size: 1rem; margin-bottom: 16px; }

.results-list li {
    padding: 8px 0;
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--gray-100);
}

.results-list li::before { content: '✓ '; color: var(--accent); }
.results-list li:last-child { border-bottom: none; }

.sidebar-cta { background: var(--primary); border: none; }
.sidebar-cta h3 { color: var(--white); }
.sidebar-cta p { color: rgba(255, 255, 255, 0.7); font-size: 0.875rem; margin-bottom: 16px; }

.sidebar-details li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.875rem;
}

.sidebar-details strong { color: var(--gray-500); font-weight: 500; }
.sidebar-details span { color: var(--primary); font-weight: 600; }

.related-link {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
    transition: all var(--transition);
}

.related-link:last-child { border-bottom: none; }
.related-link strong { display: block; color: var(--primary); font-size: 0.9375rem; margin-bottom: 2px; }
.related-link span { font-size: 0.8125rem; color: var(--secondary); }
.related-link:hover strong { color: var(--secondary); }

.results-banner { padding: 48px 0; background: var(--gray-50); }

.case-block {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.case-block-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

.case-block-icon svg { width: 24px; height: 24px; }
.challenge-icon { background: rgba(220, 38, 38, 0.1); color: var(--secondary); }
.solution-icon { background: rgba(34, 197, 94, 0.1); color: #16a34a; }

.service-detail-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Card Links */
.portfolio-item-link,
.project-card-link {
    display: block;
    color: inherit;
    height: 100%;
}

.portfolio-item-link:hover h3,
.project-card-link:hover h3 { color: var(--secondary); }

.view-link,
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 16px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--secondary);
    transition: gap var(--transition);
}

.portfolio-item-link:hover .view-link,
.project-card-link:hover .view-link,
.case-study-card:hover .read-more { gap: 8px; }

.project-card-link { text-decoration: none; }

/* Case Study Cards */
.case-studies-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.case-study-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition);
    color: inherit;
}

.case-study-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
    border-color: transparent;
}

.case-study-card-image {
    height: 200px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.case-duration {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

.case-study-card-body { padding: 28px; flex: 1; }
.case-study-card-body h2,
.case-study-card-body h3 { margin-bottom: 12px; font-size: 1.25rem; }
.case-study-card-body p { color: var(--gray-500); font-size: 0.9375rem; line-height: 1.7; margin-bottom: 16px; }

.case-preview-results {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.preview-metric {
    padding: 6px 12px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.preview-metric strong { color: var(--secondary); }

@media (max-width: 1024px) {
    .detail-hero-grid,
    .detail-content-grid,
    .detail-two-col { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .case-studies-cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .detail-hero-banner { height: 220px; }
    .detail-meta-row { gap: 20px; }
}

/* ============================================
   Modern Homepage V2
   ============================================ */

.btn-ghost {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--gray-300);
}
.btn-ghost:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background: rgba(220, 38, 38, 0.04);
}

.section-header-v2 {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}
.section-header-v2 h2 { margin-bottom: 12px; }
.section-header-v2 p { color: var(--gray-500); }

/* Hero V2 */
.hero-v2 {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 40px) 0 60px;
    overflow: hidden;
}

.hero-v2-bg { position: absolute; inset: 0; }
.hero-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(220, 38, 38, 0.08), transparent),
        linear-gradient(180deg, #fafafa 0%, #fff 100%);
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}
.hero-glow-1 { width: 500px; height: 500px; background: rgba(220, 38, 38, 0.12); top: -10%; right: 10%; }
.hero-glow-2 { width: 400px; height: 400px; background: rgba(239, 68, 68, 0.08); bottom: 10%; left: -5%; }

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

.hero-v2-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px; height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-v2-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-v2-sub {
    font-size: 1.125rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 480px;
}

.hero-v2-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-v2-actions .btn svg { width: 18px; height: 18px; }

.hero-v2-trust {
    display: flex;
    gap: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--gray-200);
}

.trust-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--primary);
}
.trust-item span { font-size: 0.75rem; color: var(--gray-500); }

/* Dashboard Mockup */
.hero-v2-visual { position: relative; }

.dashboard-mockup {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
}
.mockup-dots span:first-child { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:nth-child(3) { background: #22c55e; }

.mockup-title { font-size: 0.75rem; color: var(--gray-500); font-weight: 500; }

.mockup-body { padding: 20px; }

.mockup-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.mockup-stat {
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    text-align: center;
}
.mockup-stat span { display: block; font-size: 0.6875rem; color: var(--gray-500); margin-bottom: 2px; }
.mockup-stat strong { font-size: 1rem; color: var(--secondary); font-weight: 700; }

.mockup-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
    margin-bottom: 20px;
    padding: 0 4px;
}

.chart-bar {
    flex: 1;
    height: var(--h);
    background: var(--gray-200);
    border-radius: 4px 4px 0 0;
    transition: height 1s ease;
}
.chart-bar.active { background: linear-gradient(180deg, var(--secondary), var(--accent)); }

.mockup-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mockup-service-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-700);
}
.mockup-service-item svg { width: 16px; height: 16px; color: var(--secondary); }

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-size: 0.8125rem;
    animation: cardFloat 5s ease-in-out infinite;
}
.floating-card svg { width: 20px; height: 20px; color: var(--secondary); flex-shrink: 0; }
.floating-card strong { display: block; color: var(--primary); font-size: 0.8125rem; }
.floating-card span { color: var(--gray-500); font-size: 0.75rem; }
.floating-card-1 { top: 10%; right: -20px; animation-delay: 0s; }
.floating-card-2 { bottom: 15%; left: -30px; animation-delay: -2.5s; }

/* Marquee */
.marquee-section {
    padding: 24px 0;
    background: var(--primary);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 48px;
    animation: scroll 25s linear infinite;
    width: max-content;
}

.marquee-item {
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.bento-card {
    position: relative;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(220,38,38,0.04), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.bento-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}
.bento-card:hover::before { opacity: 1; }
.bento-card:hover .bento-arrow { transform: translateX(4px); color: var(--secondary); }

.bento-lg { grid-column: span 1; }
.bento-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(220, 38, 38, 0.08);
    border-radius: var(--radius-md);
    color: var(--secondary);
    margin-bottom: 16px;
}
.bento-icon svg { width: 22px; height: 22px; }
.bento-card h3 { margin-bottom: 8px; font-size: 1.0625rem; position: relative; }
.bento-card p { color: var(--gray-500); font-size: 0.875rem; line-height: 1.6; position: relative; }
.bento-arrow {
    display: inline-block;
    margin-top: 16px;
    font-weight: 700;
    color: var(--gray-400);
    transition: all var(--transition);
    position: relative;
}

/* Showcase */
.showcase-section { background: var(--gray-50); }

.showcase-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.showcase-content h2 { margin-bottom: 16px; }
.showcase-content > p { color: var(--gray-500); margin-bottom: 28px; line-height: 1.7; }

.showcase-features { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }

.showcase-feature {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.showcase-feature-icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    color: var(--secondary);
    flex-shrink: 0;
}
.showcase-feature-icon svg { width: 18px; height: 18px; }
.showcase-feature strong { display: block; font-size: 0.9375rem; color: var(--primary); margin-bottom: 2px; }
.showcase-feature span { font-size: 0.8125rem; color: var(--gray-500); }

.showcase-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.showcase-stat-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition);
}
.showcase-stat-card:hover { border-color: var(--secondary); box-shadow: var(--shadow-md); }
.showcase-stat-card strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 4px;
}
.showcase-stat-card span { font-size: 0.8125rem; color: var(--gray-500); }

/* Work Grid */
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.work-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
}
.work-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.work-card-image { height: 180px; position: relative; display: flex; align-items: flex-end; padding: 14px; }
.work-tag {
    padding: 4px 10px;
    background: rgba(255,255,255,0.9);
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 600;
}
.work-card-body { padding: 20px; }
.work-card-body h3 { margin-bottom: 4px; font-size: 1.0625rem; }
.work-card-body > p { font-size: 0.8125rem; color: var(--secondary); font-weight: 500; margin-bottom: 12px; }
.work-metrics { display: flex; flex-wrap: wrap; gap: 6px; }
.work-metrics span {
    padding: 3px 8px;
    background: var(--gray-50);
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--accent-dark);
}

/* Testimonials V2 */
.testimonials-v2 { background: var(--primary); }
.testimonials-v2 .section-label { color: var(--accent); }
.testimonials-v2 h2 { color: var(--white); }

.testimonial-slider { overflow: hidden; max-width: 700px; margin: 0 auto; }

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
    flex: 0 0 100%;
    padding: 0 20px;
    text-align: center;
}

.testimonial-stars { color: #fbbf24; font-size: 1.125rem; margin-bottom: 20px; letter-spacing: 2px; }

.testimonial-slide blockquote {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 28px;
}

.testimonial-author-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.testimonial-author-v2 strong { display: block; color: var(--white); font-size: 0.9375rem; }
.testimonial-author-v2 span { font-size: 0.8125rem; color: rgba(255,255,255,0.6); }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.slider-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}
.slider-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

/* Lead Section */
.lead-section { background: var(--gray-50); }

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

.lead-content h2 { margin-bottom: 12px; }
.lead-content > p { color: var(--gray-500); margin-bottom: 24px; line-height: 1.7; }

.lead-benefits { list-style: none; }
.lead-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-weight: 500;
    color: var(--gray-700);
    font-size: 0.9375rem;
}
.lead-benefits svg { width: 18px; height: 18px; color: var(--secondary); }

.lead-form-card {
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.lead-form .form-group { margin-bottom: 16px; }

/* Tech Marquee */
.tech-marquee-section { padding: 40px 0; }
.tech-marquee-label {
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.tech-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); }

.tech-marquee-track {
    display: flex;
    gap: 16px;
    animation: scroll 35s linear infinite;
    width: max-content;
}

.tech-marquee-item {
    flex-shrink: 0;
    padding: 8px 20px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    white-space: nowrap;
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-grid-3 { grid-template-columns: repeat(3, 1fr); }

.blog-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.blog-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }

.blog-card-link { display: block; color: inherit; text-decoration: none; }

.blog-card-image {
    height: 180px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 14px;
}

.blog-category {
    padding: 4px 10px;
    background: rgba(255,255,255,0.9);
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--primary);
}

.blog-card-body { padding: 20px; }
.blog-card-body time { font-size: 0.75rem; color: var(--gray-400); }
.blog-card-body h2, .blog-card-body h3 { margin: 8px 0; font-size: 1.0625rem; }
.blog-card-body p { color: var(--gray-500); font-size: 0.875rem; line-height: 1.6; }

.blog-article-header {
    padding: calc(var(--header-height) + 40px) 0 32px;
    text-align: center;
}
.blog-article-header h1 { max-width: 800px; margin: 12px auto 16px; }
.blog-category-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(220,38,38,0.1);
    color: var(--secondary);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
}
.blog-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: var(--gray-500);
    font-size: 0.875rem;
}
.blog-article-image { height: 400px; margin-bottom: 40px; }
.blog-article-content {
    max-width: 720px;
    margin: 0 auto 60px;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-700);
}
.blog-article-content p { margin-bottom: 20px; }

.img-software { background: linear-gradient(135deg, #1A0505, #DC2626); }

.section-title-sm { font-size: 1.5rem; margin-bottom: 24px; }
.empty-state { text-align: center; color: var(--gray-500); padding: 40px; grid-column: 1 / -1; }

.pagination-wrap { margin-top: 32px; display: flex; justify-content: center; }

/* Shop & Products */
.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.cart-link:hover { color: var(--secondary); background: rgba(220,38,38,0.06); }
.cart-link svg { width: 22px; height: 22px; }
.cart-count {
    position: absolute;
    top: 2px; right: 2px;
    min-width: 18px; height: 18px;
    display: flex; align-items: center; justify-content: center;
    background: var(--secondary);
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 100px;
    padding: 0 4px;
}

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

.shop-home-section { background: var(--gray-50); }

.shop-section { margin-bottom: 48px; }
.shop-section-title { font-size: 1.5rem; margin-bottom: 24px; }

.shop-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition);
}
.shop-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); border-color: transparent; }
.shop-card-link { display: block; color: inherit; text-decoration: none; }

.shop-card-image {
    height: 180px;
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 14px;
}

.pricing-badge {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pricing-one_time { background: rgba(255,255,255,0.95); color: var(--primary); }
.pricing-subscription { background: var(--secondary); color: var(--white); }

.shop-card-body { padding: 24px; }
.shop-type {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary);
}
.shop-card-body h3 { margin: 8px 0; font-size: 1.125rem; }
.shop-card-body p { color: var(--gray-500); font-size: 0.875rem; line-height: 1.6; margin-bottom: 16px; }

.shop-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}
.shop-price { font-family: var(--font-heading); font-size: 1.25rem; color: var(--primary); }
.shop-cta { font-size: 0.8125rem; font-weight: 600; color: var(--secondary); }

/* Product Detail */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.product-hero-image {
    height: 400px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: flex-start;
    padding: 20px;
}

.product-detail-info h1 { margin-bottom: 12px; }
.product-short { color: var(--gray-500); font-size: 1.0625rem; line-height: 1.7; margin-bottom: 24px; }

.product-price-block { margin-bottom: 28px; }
.product-price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
}
.product-billing { display: block; font-size: 0.875rem; color: var(--gray-500); margin-top: 4px; }

.product-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.inline-form { display: inline; }

.product-features { list-style: none; }
.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-weight: 500;
    color: var(--gray-700);
}
.product-features svg { width: 18px; height: 18px; color: var(--secondary); flex-shrink: 0; }

.product-description { max-width: 720px; }
.product-description h2 { margin-bottom: 16px; }
.product-description p { color: var(--gray-600); line-height: 1.8; }

/* Cart */
.page-hero-sm { padding: calc(var(--header-height) + 40px) 0 32px; }

.cart-layout {
    display: grid;
    grid-template-columns: 1.5fr 0.5fr;
    gap: 32px;
    align-items: start;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
}

.cart-item h3 { font-size: 1rem; margin-bottom: 4px; }
.cart-item h3 a { color: inherit; text-decoration: none; }
.cart-item h3 a:hover { color: var(--secondary); }
.cart-item p { font-size: 0.8125rem; color: var(--gray-500); }

.cart-qty-form input {
    width: 60px;
    padding: 8px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    text-align: center;
}

.cart-line-total { font-size: 1.0625rem; color: var(--primary); white-space: nowrap; }

.cart-remove {
    width: 32px; height: 32px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    font-size: 1.25rem;
    color: var(--gray-500);
    cursor: pointer;
    transition: all var(--transition);
}
.cart-remove:hover { background: #fee2e2; color: #991b1b; }

.cart-summary, .checkout-summary {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.cart-summary h3, .checkout-summary h3 { margin-bottom: 20px; }

.summary-row, .checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9375rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
}

.continue-shopping {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 0.875rem;
    color: var(--gray-500);
    text-decoration: none;
}
.continue-shopping:hover { color: var(--secondary); }

.empty-cart { text-align: center; padding: 60px 20px; }
.empty-cart p { color: var(--gray-500); margin-bottom: 20px; font-size: 1.125rem; }

/* Checkout */
.checkout-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: start;
}

.checkout-form-card {
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
}
.checkout-form-card h2 { margin-bottom: 24px; }
.checkout-note { font-size: 0.8125rem; color: var(--gray-500); margin-top: 12px; }

/* Checkout Result */
.checkout-result { padding: 80px 0; }

.result-card {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    padding: 48px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.result-icon {
    width: 64px; height: 64px;
    margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}
.result-icon svg { width: 32px; height: 32px; }
.result-icon.success { background: #dcfce7; color: #166534; }
.result-icon.cancel { background: #fee2e2; color: #991b1b; }

.result-card h1 { margin-bottom: 12px; }
.result-card > p { color: var(--gray-500); margin-bottom: 20px; }

.result-info {
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 0.9375rem;
    color: var(--gray-600);
}

.result-paid { color: var(--secondary); font-weight: 600; }

.result-items { margin: 24px 0; text-align: left; }
.result-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9375rem;
}

.result-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1024px) {
    .shop-grid, .product-detail-grid, .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .cart-summary, .checkout-summary { position: static; }
}

@media (max-width: 768px) {
    .shop-grid { grid-template-columns: 1fr; }
    .cart-item { grid-template-columns: 1fr; gap: 12px; }
    .product-actions { flex-direction: column; }
    .product-actions .btn { width: 100%; }
}

/* Product Landing (Exicube-style) */
.product-landing-hero {
    padding: calc(var(--header-height) + 48px) 0 80px;
    background: linear-gradient(135deg, var(--primary) 0%, #3b0a0a 50%, var(--secondary) 100%);
    color: var(--white);
    overflow: hidden;
}

.product-landing-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.product-landing-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.product-landing-hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    line-height: 1.15;
}

.product-landing-lead {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: 12px;
}

.product-landing-price-line {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.product-landing-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.product-landing-highlights span {
    padding: 6px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.product-landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-ghost-light {
    background: transparent;
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-ghost-light:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.product-landing-card {
    min-height: 420px;
    border-radius: var(--radius-xl);
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.15);
}

.product-landing-card-price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin: auto 0 20px;
}

.product-landing-card-features { display: flex; flex-direction: column; gap: 8px; }
.product-landing-card-feature {
    padding: 10px 14px;
    background: rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
}

.product-video-wrap {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 16/9;
    background: var(--primary);
}

.product-video-wrap iframe,
.product-video-wrap video {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.product-use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-use-case {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    transition: all var(--transition);
}
.product-use-case:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.product-use-case-icon { font-size: 2rem; display: block; margin-bottom: 12px; }
.product-use-case h3 { margin-bottom: 8px; font-size: 1.0625rem; }
.product-use-case p { color: var(--gray-500); font-size: 0.9375rem; line-height: 1.6; }

.product-showcase-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
    align-items: start;
}

.product-showcase-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-showcase-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: all var(--transition);
}
.product-showcase-tab:hover { border-color: var(--secondary); }
.product-showcase-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.product-showcase-num {
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0.6;
    min-width: 24px;
}
.product-showcase-tab-icon { font-size: 1.25rem; }
.product-showcase-tab strong { font-size: 0.875rem; }

.product-showcase-panels { position: relative; min-height: 320px; }

.product-showcase-panel {
    display: none;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
}
.product-showcase-panel.active { display: block; }
.product-showcase-panel h3 { margin: 8px 0 12px; font-size: 1.5rem; }
.product-showcase-panel > p { color: var(--gray-500); margin-bottom: 20px; line-height: 1.7; }

.product-showcase-features { list-style: none; display: grid; gap: 10px; }
.product-showcase-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--gray-700);
}
.product-showcase-features svg { width: 18px; height: 18px; color: var(--secondary); flex-shrink: 0; }

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

.product-feature-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-weight: 500;
}
.product-feature-card svg { width: 20px; height: 20px; color: var(--secondary); flex-shrink: 0; }

.product-about { max-width: 760px; }
.product-about p { color: var(--gray-600); line-height: 1.8; font-size: 1.0625rem; }

.product-cta-banner {
    background: linear-gradient(135deg, var(--primary), #3b0a0a);
    color: var(--white);
    padding: 60px 0;
}

.product-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.product-cta-inner h2 { color: var(--white); margin-bottom: 8px; }
.product-cta-inner p { color: rgba(255,255,255,0.75); }
.product-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.section-header.center { text-align: center; }
.section-header.center p { color: var(--gray-500); margin-top: 8px; }

@media (max-width: 1024px) {
    .product-landing-hero-grid,
    .product-showcase-layout,
    .product-use-cases-grid,
    .product-features-grid { grid-template-columns: 1fr; }
    .product-cta-inner { flex-direction: column; text-align: center; }
    .product-cta-actions { justify-content: center; }
}

@media (max-width: 768px) {
    .product-landing-actions { flex-direction: column; }
    .product-landing-actions .btn { width: 100%; }
}

/* Customer Account Portal */
.account-section { padding-top: calc(var(--header-height) + 32px); }

.account-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
}

.account-sidebar {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 24px;
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.account-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--gray-100);
}

.account-avatar {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.125rem;
}

.account-user strong { display: block; font-size: 0.9375rem; }
.account-user span { font-size: 0.8125rem; color: var(--gray-500); }

.account-nav { display: flex; flex-direction: column; gap: 4px; }
.account-nav a {
    padding: 10px 12px;
    border-radius: var(--radius-md);
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all var(--transition);
}
.account-nav a:hover, .account-nav a.active {
    background: rgba(220,38,38,0.08);
    color: var(--secondary);
}

.account-logout { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--gray-100); }
.account-logout button {
    width: 100%;
    padding: 10px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
}
.account-logout button:hover { background: #fee2e2; color: #991b1b; border-color: #fecaca; }

.account-main { min-width: 0; }
.account-title { font-size: 1.75rem; margin-bottom: 4px; }
.account-subtitle { color: var(--gray-500); margin-bottom: 28px; }
.account-section-title { font-size: 1.125rem; margin-bottom: 16px; }
.account-back { display: inline-block; color: var(--gray-500); text-decoration: none; margin-bottom: 16px; font-size: 0.875rem; }
.account-back:hover { color: var(--secondary); }

.account-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.account-stat {
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    text-align: center;
}
.account-stat-num { display: block; font-size: 2rem; font-weight: 800; color: var(--secondary); }
.account-stat-label { font-size: 0.8125rem; color: var(--gray-500); }

.account-orders-list { display: flex; flex-direction: column; gap: 8px; }
.account-order-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 16px;
    align-items: center;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
}
.account-order-row:hover { border-color: var(--secondary); box-shadow: var(--shadow-md); }
.account-order-row strong { display: block; }
.account-order-row span { font-size: 0.8125rem; color: var(--gray-500); }
.account-sub-status { display: block; font-size: 0.75rem; color: var(--gray-400); }
.account-view-all { display: inline-block; margin-top: 16px; color: var(--secondary); font-weight: 600; text-decoration: none; }

.account-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
}
.badge-pending { background: #fef3c7; color: #b45309; }
.badge-paid, .badge-confirmed { background: #dcfce7; color: #166534; }
.badge-processing { background: #dbeafe; color: #1d4ed8; }
.badge-completed { background: #d1fae5; color: #065f46; }
.badge-cancelled { background: #f1f5f9; color: #64748b; }
.badge-cancellation_requested { background: #ffedd5; color: #c2410c; }
.badge-failed { background: #fee2e2; color: #991b1b; }
.badge-refunded { background: #fef3c7; color: #b45309; }
.badge-active { background: #dcfce7; color: #166534; }
.badge-past_due { background: #fee2e2; color: #991b1b; }
.badge-paused { background: #fef3c7; color: #b45309; }
.badge-trialing { background: #e0e7ff; color: #4338ca; }
.badge-cancelled.badge-cancelled { background: #f1f5f9; color: #64748b; }

.account-empty { text-align: center; padding: 48px 20px; color: var(--gray-500); }
.account-empty p { margin-bottom: 16px; }

.account-orders-table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); }
.account-orders-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.account-orders-table th, .account-orders-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--gray-100); }
.account-orders-table th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-500); }
.account-orders-table small { display: block; color: var(--gray-400); font-size: 0.75rem; }

.account-order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.account-order-header h1 { font-size: 1.5rem; }
.account-order-header p { color: var(--gray-500); font-size: 0.875rem; }
.account-order-badges { display: flex; gap: 8px; flex-wrap: wrap; }

.account-info-box {
    padding: 14px 18px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: var(--radius-md);
    color: #9a3412;
    font-size: 0.9375rem;
    margin-bottom: 20px;
}

.account-order-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.account-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 20px;
}
.account-card h2 { font-size: 1.0625rem; margin-bottom: 16px; }

.account-order-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    gap: 12px;
}
.account-order-item strong { display: block; }
.account-order-item span { font-size: 0.8125rem; color: var(--gray-500); }

.account-order-total {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    font-size: 1.125rem;
}

.account-form .form-group { margin-bottom: 16px; }
.account-form label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 6px; }
.account-form input, .account-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.9375rem;
}
.account-form input:focus, .account-form textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}

.account-detail-list { display: grid; grid-template-columns: 100px 1fr; gap: 8px 16px; font-size: 0.9375rem; }
.account-detail-list dt { color: var(--gray-500); font-weight: 500; }

.account-subscription-card p { color: var(--gray-500); margin-bottom: 16px; }
.account-subscription-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.btn-danger { color: #991b1b !important; border-color: #fecaca !important; }
.btn-danger:hover { background: #fee2e2 !important; }

.account-timeline { display: flex; flex-direction: column; gap: 12px; }
.account-timeline-item {
    padding: 12px 16px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--secondary);
}
.account-timeline-date { display: block; font-size: 0.75rem; color: var(--gray-400); margin-bottom: 4px; }
.account-timeline-item p { font-size: 0.875rem; color: var(--gray-600); margin-top: 4px; }

.account-login-section { padding-top: calc(var(--header-height) + 60px); }
.account-login-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}
.account-login-card h1 { margin-bottom: 8px; }
.account-login-card > p { color: var(--gray-500); margin-bottom: 24px; }
.account-login-form .form-group { margin-bottom: 16px; }
.account-login-form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.875rem; }
.account-login-form input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: inherit;
}
.btn-block { width: 100%; }
.account-login-note { margin-top: 20px; font-size: 0.8125rem; color: var(--gray-400); text-align: center; }
.account-dev-link { margin-top: 8px; font-size: 0.875rem; }
.account-dev-link a { color: var(--secondary); font-weight: 600; }

.account-status-banner {
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}
.account-status-banner strong { display: block; margin-bottom: 4px; }
.account-status-banner p { font-size: 0.9375rem; margin: 0; }
.account-status-pending { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.account-status-approved { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.account-status-denied { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

.purchase-gate-msg {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #b45309;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--radius-md);
}
.purchase-gate-denied { color: #991b1b; background: #fef2f2; border-color: #fecaca; }

.product-landing-actions .purchase-gate-msg-hero { width: 100%; }

.checkout-profile-note { color: var(--gray-500); font-size: 0.875rem; margin-bottom: 20px; }

.payment-methods { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.payment-method-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition);
}
.payment-method-option:has(input:checked) { border-color: var(--secondary); background: rgba(220,38,38,0.04); }
.payment-method-option input { accent-color: var(--secondary); }
.payment-method-label { display: flex; flex-direction: column; }
.payment-method-label strong { font-size: 0.9375rem; }
.payment-method-label small { color: var(--gray-500); font-size: 0.8125rem; }

.payment-instructions-box {
    padding: 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    font-size: 0.9375rem;
}
.payment-instructions-box h4 { margin-bottom: 8px; font-size: 0.9375rem; }
.payment-instructions-box p { margin: 4px 0; color: var(--gray-600); }
.payment-instructions-note { margin-top: 10px !important; font-size: 0.8125rem !important; color: var(--gray-500) !important; }
.checkout-divider { border: none; border-top: 1px solid var(--gray-200); margin: 24px 0; }

@media (max-width: 1024px) {
    .account-layout, .account-order-grid, .account-stats { grid-template-columns: 1fr; }
    .account-sidebar { position: static; }
}

@media (max-width: 768px) {
    .account-order-row { grid-template-columns: 1fr; }
    .account-subscription-actions { flex-direction: column; }
    .account-subscription-actions .btn { width: 100%; }
}

/* Homepage V2 Responsive */
@media (max-width: 1024px) {
    .hero-v2-grid { grid-template-columns: 1fr; }
    .hero-v2-visual { display: none; }
    .bento-grid { grid-template-columns: 1fr 1fr; }
    .showcase-grid, .lead-grid { grid-template-columns: 1fr; }
    .work-grid, .blog-grid, .blog-grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .bento-grid { grid-template-columns: 1fr; }
    .hero-v2-trust { gap: 20px; }
    .work-grid, .blog-grid, .blog-grid-3 { grid-template-columns: 1fr; }
    .showcase-stats { grid-template-columns: 1fr 1fr; }
}

/* Services Page — Modern Layout */
.services-hero {
    position: relative;
    padding: calc(var(--header-height) + 64px) 0 72px;
    overflow: hidden;
}

.services-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: end;
}

.services-hero-content h1 {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.services-hero-sub {
    font-size: 1.125rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 540px;
}

.services-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.services-hero-actions .btn svg { width: 18px; height: 18px; }

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

.services-stat-card {
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

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

.services-stat-card strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.services-stat-card span {
    font-size: 0.75rem;
    color: var(--gray-500);
    line-height: 1.4;
}

.services-pill-nav {
    position: sticky;
    top: var(--header-height);
    z-index: 90;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    padding: 12px 0;
}

.services-pill-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
}

.services-pill-track::-webkit-scrollbar { display: none; }

.services-pill {
    flex-shrink: 0;
    padding: 8px 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-600);
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
}

.services-pill:hover,
.services-pill:focus-visible {
    background: var(--white);
    border-color: var(--secondary);
    color: var(--secondary);
    box-shadow: var(--shadow-sm);
}

.services-deep { background: var(--gray-50); }

.services-modern-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-modern-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    padding: 36px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    scroll-margin-top: calc(var(--header-height) + 64px);
}

.service-modern-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-xl);
}

.service-modern-card.is-reversed .service-modern-content { order: 2; }
.service-modern-card.is-reversed .service-modern-visual { order: 1; }

.service-modern-num {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--secondary);
    margin-bottom: 16px;
}

.service-modern-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 38, 38, 0.08);
    border-radius: var(--radius-md);
    color: var(--secondary);
    margin-bottom: 16px;
}

.service-modern-icon svg { width: 24px; height: 24px; }

.service-modern-content h2 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.service-modern-content > p {
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-modern-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.service-tag {
    padding: 6px 12px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-600);
}

.service-modern-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.service-modern-actions .btn svg { width: 16px; height: 16px; }

.service-modern-visual {
    border-radius: var(--radius-lg);
    padding: 3px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
}

.service-accent-software-development { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.service-accent-website-development { background: linear-gradient(135deg, #0ea5e9, #06b6d4); }
.service-accent-ecommerce-development { background: linear-gradient(135deg, #f97316, #fb923c); }
.service-accent-wordpress-development { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.service-accent-ai-automation { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.service-accent-cybersecurity { background: linear-gradient(135deg, #059669, #10b981); }

.service-visual-panel {
    background: var(--primary);
    border-radius: calc(var(--radius-lg) - 2px);
    overflow: hidden;
    min-height: 280px;
}

.service-visual-header {
    display: flex;
    gap: 6px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.service-visual-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.service-visual-dot:first-child { background: #ef4444; }
.service-visual-dot:nth-child(2) { background: #f59e0b; }
.service-visual-dot:nth-child(3) { background: #22c55e; }

.service-visual-body { padding: 24px; }

.service-visual-label {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

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

.service-visual-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    transition: all var(--transition);
}

.service-visual-chip svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #4ade80;
}

.service-visual-chip:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateX(4px);
}

.process-v2-section { background: var(--white); }

.process-v2 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    position: relative;
}

.process-v2::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, var(--gray-200), var(--secondary), var(--gray-200));
    z-index: 0;
}

.process-v2-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 24px 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.process-v2-step:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.process-v2-num {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8125rem;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.process-v2-step h3 {
    font-size: 0.9375rem;
    margin-bottom: 8px;
}

.process-v2-step p {
    font-size: 0.8125rem;
    color: var(--gray-500);
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .services-hero-inner { grid-template-columns: 1fr; }
    .services-hero-stats { max-width: 480px; }
    .service-modern-card,
    .service-modern-card.is-reversed { grid-template-columns: 1fr; }
    .service-modern-card.is-reversed .service-modern-content,
    .service-modern-card.is-reversed .service-modern-visual { order: unset; }
    .process-v2 { grid-template-columns: repeat(3, 1fr); }
    .process-v2::before { display: none; }
}

@media (max-width: 768px) {
    .services-hero { padding-bottom: 48px; }
    .services-hero-stats { grid-template-columns: 1fr 1fr; }
    .service-modern-card { padding: 24px; }
    .service-modern-actions { flex-direction: column; }
    .service-modern-actions .btn { width: 100%; }
    .process-v2 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .services-hero-stats { grid-template-columns: 1fr; }
    .process-v2 { grid-template-columns: 1fr; }
}
