/* ============================================
   SHG Construction Inc - Professional Stylesheet
   Design System: Modern Corporate with Gradient Accents
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --primary-50: #EEF2FF;
    --primary-100: #E0E7FF;
    --primary-200: #C7D2FE;
    --primary-300: #A5B4FC;
    --primary-400: #818CF8;
    --primary-500: #6366F1;
    --primary-600: #4F46E5;
    --primary-700: #4338CA;
    --primary-800: #3730A3;
    --primary-900: #312E81;

    --blue-500: #3B82F6;
    --blue-600: #2563EB;
    --blue-700: #1D4ED8;

    --purple-500: #8B5CF6;
    --purple-600: #7C3AED;

    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --gray-950: #030712;

    --white: #FFFFFF;
    --black: #000000;

    --gradient-primary: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    --gradient-primary-hover: linear-gradient(135deg, #1D4ED8 0%, #6D28D9 100%);
    --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E1B4B 50%, #172554 100%);
    --gradient-cta: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #1E3A5F 100%);
    --gradient-card: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

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

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

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

ul {
    list-style: none;
}

/* ---------- Container ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-600);
    background: var(--primary-50);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--gray-500);
    max-width: 640px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-desc {
    margin: 0 auto;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--gradient-primary-hover);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-700);
    border: 1.5px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--primary-300);
    color: var(--primary-600);
    background: var(--primary-50);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

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

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ---------- Header / Navigation ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    padding: 10px 0;
}

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

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

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--white);
    transition: color var(--transition-base);
}

.logo-tagline {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
    transition: color var(--transition-base);
}

.header.scrolled .logo-name {
    color: var(--gray-900);
}

.header.scrolled .logo-tagline {
    color: var(--gray-400);
}

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

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

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

.header.scrolled .nav-link {
    color: var(--gray-600);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--primary-600);
    background: var(--primary-50);
}

.nav-cta {
    background: var(--gradient-primary) !important;
    color: var(--white) !important;
    margin-left: 8px;
    padding: 8px 20px !important;
    border-radius: var(--radius-md) !important;
}

.nav-cta:hover {
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transform: translateY(-1px);
}

.header.scrolled .nav-cta {
    color: var(--white) !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

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

.header.scrolled .nav-toggle span {
    background: var(--gray-700);
}

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

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

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

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

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

.hero-grid {
    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: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

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

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3), transparent);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25), transparent);
    bottom: -5%;
    left: -5%;
    animation-delay: -7s;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent);
    top: 40%;
    left: 30%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(10px, -10px) scale(1.02); }
}

.hero-content {
    position: relative;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

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

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

.hero-title {
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 580px;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-400);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* ---------- Trusted / Marquee Section ---------- */
.trusted-section {
    padding: 40px 0;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
    overflow: hidden;
}

.trusted-label {
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    margin-bottom: 24px;
}

.marquee-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

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

.marquee-item {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-400);
    white-space: nowrap;
    padding: 8px 0;
}

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

/* ---------- About Section ---------- */
.about-section {
    padding: 120px 0;
}

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

.about-text {
    font-size: 1.0625rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

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

.feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    color: var(--primary-600);
    border-radius: var(--radius-md);
}

.about-feature h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.about-feature p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* About Card Stack */
.about-visual {
    position: relative;
}

.about-card-stack {
    position: relative;
    height: 480px;
}

.about-card {
    position: absolute;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 32px;
    width: 280px;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-slow);
    opacity: 0;
    transform: translateY(30px);
}

.about-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.about-card-1 {
    top: 0;
    left: 0;
    z-index: 3;
    transition-delay: 0.1s;
}

.about-card-2 {
    top: 60px;
    left: 140px;
    z-index: 2;
    transition-delay: 0.25s;
}

.about-card-3 {
    top: 120px;
    left: 40px;
    z-index: 1;
    transition-delay: 0.4s;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    z-index: 10;
}

.card-icon-large {
    color: var(--primary-600);
    margin-bottom: 16px;
}

.about-card h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.about-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ---------- Services Section ---------- */
.services-section {
    padding: 120px 0;
    background: var(--gray-50);
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.service-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.service-card:hover::before {
    opacity: 1;
}

.service-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-100);
    line-height: 1;
    margin-bottom: 16px;
}

.service-card:hover .service-number {
    color: var(--primary-100);
}

.service-icon {
    color: var(--primary-600);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

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

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

.service-features li {
    font-size: 0.8125rem;
    color: var(--gray-600);
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-400);
}

.service-featured {
    grid-row: span 2;
    background: var(--gradient-card);
    border-color: var(--primary-100);
}

.service-featured .service-number {
    color: var(--primary-100);
}

/* ---------- Industries Section ---------- */
.industries-section {
    padding: 120px 0;
}

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

.industry-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition-slow);
    opacity: 0;
    transform: translateY(20px);
}

.industry-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.industry-card:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: translateY(-6px);
}

.industry-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--primary-50);
    color: var(--primary-600);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    transition: all var(--transition-base);
}

.industry-card:hover .industry-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.05);
}

.industry-card h3 {
    font-size: 0.9375rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

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

/* ---------- Process Section ---------- */
.process-section {
    padding: 120px 0;
    background: var(--gray-50);
}

.process-timeline {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.process-step {
    display: flex;
    gap: 32px;
    position: relative;
    padding-bottom: 48px;
    opacity: 0;
    transform: translateX(-20px);
}

.process-step.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.process-step:last-child {
    padding-bottom: 0;
}

.step-connector {
    position: absolute;
    left: 23px;
    top: 48px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-200), var(--gray-200));
}

.process-step:last-child .step-connector {
    display: none;
}

.step-marker {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    position: relative;
    z-index: 1;
}

.step-marker span {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    padding-top: 4px;
}

.step-content p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ---------- Why Choose Us Section ---------- */
.why-section {
    padding: 120px 0;
}

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

.why-content .section-title {
    margin-bottom: 16px;
}

.why-content .section-desc {
    margin-bottom: 0;
}

.why-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.why-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all var(--transition-slow);
    opacity: 0;
    transform: translateY(20px);
}

.why-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.why-card:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.why-card-icon {
    color: var(--primary-600);
    margin-bottom: 16px;
}

.why-card h4 {
    font-size: 0.9375rem;
    margin-bottom: 8px;
}

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

/* ---------- Testimonials Section ---------- */
.testimonials-section {
    padding: 120px 0;
    background: var(--gray-50);
}

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

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all var(--transition-slow);
    opacity: 0;
    transform: translateY(20px);
}

.testimonial-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

.testimonial-stars {
    display: flex;
    gap: 2px;
    color: #F59E0B;
    margin-bottom: 20px;
}

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

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

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

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

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

/* ---------- CTA Section ---------- */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-cta);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.2), transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.15), transparent 50%);
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Contact Section ---------- */
.contact-section {
    padding: 120px 0;
}

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

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

.contact-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(15px);
}

.contact-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.contact-card:hover {
    background: var(--gray-50);
}

.contact-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary-50);
    color: var(--primary-600);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.contact-card a {
    color: var(--primary-600);
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--primary-700);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    color: var(--gray-800);
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-400);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: var(--white);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%239CA3AF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

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

/* ---------- Footer ---------- */
.footer {
    background: var(--gray-950);
    padding: 80px 0 0;
}

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

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

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

.footer .logo-tagline {
    color: rgba(255, 255, 255, 0.5);
}

.footer-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
    max-width: 320px;
}

.footer-links-group h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.footer-links-group .mt-4 {
    margin-top: 32px;
}

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

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

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

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

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

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom-links a:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* ---------- Animation Utility ---------- */
.service-card,
.industry-card,
.testimonial-card,
.process-step,
.why-card,
.about-card,
.contact-card {
    transition-property: opacity, transform, box-shadow, border-color;
    transition-duration: 0.6s;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:nth-child(1) { transition-delay: 0.05s; }
.service-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3) { transition-delay: 0.15s; }
.service-card:nth-child(4) { transition-delay: 0.2s; }
.service-card:nth-child(5) { transition-delay: 0.25s; }
.service-card:nth-child(6) { transition-delay: 0.3s; }

.industry-card:nth-child(1) { transition-delay: 0.05s; }
.industry-card:nth-child(2) { transition-delay: 0.1s; }
.industry-card:nth-child(3) { transition-delay: 0.15s; }
.industry-card:nth-child(4) { transition-delay: 0.2s; }
.industry-card:nth-child(5) { transition-delay: 0.25s; }
.industry-card:nth-child(6) { transition-delay: 0.3s; }
.industry-card:nth-child(7) { transition-delay: 0.35s; }
.industry-card:nth-child(8) { transition-delay: 0.4s; }

.process-step:nth-child(1) { transition-delay: 0.05s; }
.process-step:nth-child(2) { transition-delay: 0.15s; }
.process-step:nth-child(3) { transition-delay: 0.25s; }
.process-step:nth-child(4) { transition-delay: 0.35s; }
.process-step:nth-child(5) { transition-delay: 0.45s; }

.testimonial-card:nth-child(1) { transition-delay: 0.05s; }
.testimonial-card:nth-child(2) { transition-delay: 0.15s; }
.testimonial-card:nth-child(3) { transition-delay: 0.25s; }

.contact-card:nth-child(1) { transition-delay: 0.05s; }
.contact-card:nth-child(2) { transition-delay: 0.1s; }
.contact-card:nth-child(3) { transition-delay: 0.15s; }
.contact-card:nth-child(4) { transition-delay: 0.2s; }

/* ---------- Responsive Design ---------- */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-card-stack {
        height: auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .about-card {
        position: static;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-featured {
        grid-row: span 1;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid .testimonial-card:nth-child(3) {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 24px 24px;
        gap: 4px;
        box-shadow: var(--shadow-2xl);
        transition: right var(--transition-base);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        color: var(--gray-700) !important;
        padding: 12px 16px;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-600) !important;
        background: var(--primary-50) !important;
    }

    .nav-cta {
        margin-left: 0 !important;
        margin-top: 8px;
        text-align: center;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .about-card-stack {
        grid-template-columns: 1fr;
    }

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

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

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

    .testimonials-grid .testimonial-card:nth-child(3) {
        grid-column: span 1;
        max-width: none;
    }

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

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

    .contact-form-wrapper {
        padding: 28px 24px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

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

    .footer-brand {
        grid-column: span 1;
    }

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

    .why-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stat-number,
    .stat-suffix {
        font-size: 1.75rem;
    }
}

/* ---------- Legal Pages (Privacy & Terms) ---------- */
.legal-page {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.legal-page .header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.legal-page .logo-name {
    color: var(--gray-900);
}

.legal-page .logo-tagline {
    color: var(--gray-400);
}

.legal-page .nav-link {
    color: var(--gray-600);
}

.legal-page .nav-link:hover {
    color: var(--primary-600);
    background: var(--primary-50);
}

.legal-page .nav-toggle span {
    background: var(--gray-700);
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-100);
}

.legal-header h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.legal-header p {
    font-size: 0.9375rem;
    color: var(--gray-400);
}

.legal-content {
    max-width: 780px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.375rem;
    margin-top: 48px;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.legal-content h3 {
    font-size: 1.125rem;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--gray-800);
}

.legal-content p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content li {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 8px;
    list-style-type: disc;
}

.legal-content ol li {
    list-style-type: decimal;
}

.legal-content a {
    color: var(--primary-600);
    font-weight: 500;
}

.legal-content a:hover {
    color: var(--primary-700);
    text-decoration: underline;
}

.legal-content strong {
    color: var(--gray-800);
    font-weight: 600;
}

.legal-footer-note {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-100);
    text-align: center;
}

.legal-footer-note p {
    font-size: 0.8125rem;
    color: var(--gray-400);
}
