/* Global Variables */
:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #2563eb;
    --accent-dark: #1d4ed8;
    --accent-glow: #60a5fa;
    --text-main: #334155;
    --text-light: #64748b;
    --text-white: #f1f5f9;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --gradient-main: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-accent: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 0.75rem;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.mb-4 {
    margin-bottom: 2rem;
}

.section {
    padding: 5rem 0;
}

.dark-bg {
    background-color: var(--primary);
    color: var(--text-white);
}

.dark-bg h2,
.dark-bg h3,
.dark-bg p {
    color: var(--text-white);
}

.light-bg {
    background-color: var(--bg-light);
}

/* Typography */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--accent-glow);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

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

.btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

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

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

.btn-light:hover {
    background: var(--bg-light);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo-icon {
    color: var(--accent);
    font-size: 1.8rem;
}

.logo-text span {
    font-weight: 400;
    color: var(--text-light);
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    padding-top: 80px;
    /* Header height */
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 100%);
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-white);
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* About Section */
.about {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .section-subtitle {
    margin-bottom: 0.5rem;
}

.about-text p {
    margin-bottom: 1rem;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.about-feature i {
    color: var(--accent);
    font-size: 1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-box {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-box:hover::before {
    transform: scaleX(1);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 12px;
    margin: 0 auto 1rem;
    color: var(--accent);
    font-size: 1.3rem;
    transition: var(--transition);
}

.stat-box:hover .stat-icon {
    background: var(--gradient-accent);
    color: white;
}

.stat-box.highlight-stat {
    background: var(--gradient-accent);
    border: none;
}

.stat-box.highlight-stat .stat-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.stat-box.highlight-stat .stat-number,
.stat-box.highlight-stat .stat-label {
    color: white;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Services Section */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.service-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card .icon-box {
    font-size: 2.5rem;
    color: var(--accent-glow);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(96, 165, 250, 0.1);
    border-radius: 16px;
    transition: all 0.4s ease;
}

.service-card:hover .icon-box {
    background: var(--gradient-accent);
    color: white;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
}

/* Payroll Section */
.reverse {
    direction: rtl;
    /* Tricky way to reverse grid, but better to use order property or template areas if responsive issues arise. Let's fix this simpler. */
    /* Wait, for grid I can just specific column order or HTML order. I'll stick to HTML order but use CSS to swap on desktop if needed. Actually, I want Image Right, Content Left, or alternating.
    In HTML line 140: .split-layout.reverse.
    I can just style .reverse.
    */
}

.split-layout.reverse>*:first-child {
    order: 2;
    /* Visual Order */
}

.split-layout.reverse {
    direction: ltr;
    /* Reset direction */
}

.mock-dashboard {
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    font-family: monospace;
    font-size: 0.9rem;
}

.dash-header {
    background: #f1f5f9;
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
}

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

.red {
    background: #ef4444;
}

.yellow {
    background: #f59e0b;
}

.green {
    background: #22c55e;
}

.dash-body {
    padding: 1.5rem;
}

.dash-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.header-row {
    font-weight: bold;
    color: var(--text-light);
}

.status {
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status.success {
    background: #dcfce7;
    color: #166534;
}

.status.processing {
    background: #fef9c3;
    color: #854d0e;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.feature-list i {
    color: var(--accent);
}

/* Compliance Section V2 - Premium Design */
.compliance-v2 {
    position: relative;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    overflow: hidden;
}

.compliance-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.06) 0%, transparent 40%),
        linear-gradient(90deg, transparent 49.5%, rgba(37, 99, 235, 0.03) 49.5%, rgba(37, 99, 235, 0.03) 50.5%, transparent 50.5%);
    background-size: 100% 100%, 100% 100%, 100px 100px;
    pointer-events: none;
    z-index: 0;
}

.compliance-v2 .container {
    position: relative;
    z-index: 1;
}

.compliance-v2 .section-header {
    margin-bottom: 3.5rem;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

.compliance-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.compliance-card {
    position: relative;
    border-radius: 1rem;
    background: white;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.compliance-card-inner {
    position: relative;
    padding: 2.5rem 2rem;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.compliance-card-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
        linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%) border-box;
    transition: all 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.compliance-card:hover .compliance-card-border {
    background: linear-gradient(white, white) padding-box,
        linear-gradient(135deg, var(--accent) 0%, var(--accent-glow) 100%) border-box;
}

.compliance-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.15);
}

.compliance-icon-wrap {
    position: relative;
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
}

.compliance-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
    border-radius: 16px;
    font-size: 1.8rem;
    color: var(--accent);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.compliance-icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 16px;
    opacity: 0;
    filter: blur(20px);
    transition: all 0.4s ease;
    z-index: 0;
}

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

.compliance-card:hover .compliance-icon-glow {
    opacity: 0.4;
}

.compliance-card h3 {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.compliance-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.compliance-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.compliance-features span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    background: rgba(37, 99, 235, 0.08);
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.compliance-features span i {
    font-size: 0.65rem;
}

.compliance-card:hover .compliance-features span {
    background: rgba(37, 99, 235, 0.12);
}

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

@media (max-width: 640px) {
    .compliance-grid-v2 {
        grid-template-columns: 1fr;
    }

    .compliance-card-inner {
        padding: 2rem 1.5rem;
    }
}

/* Process Section - Enhanced */
.process {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
    position: relative;
}

.process .section-title {
    position: relative;
    display: inline-block;
}

.timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-glow) 50%, var(--accent) 100%);
    z-index: 0;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    padding: 0 1rem;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--gradient-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1.5rem;
    border: 4px solid white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2), 0 10px 30px rgba(37, 99, 235, 0.25);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step-number::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: var(--gradient-accent);
    opacity: 0;
    z-index: -1;
    animation: stepPulse 2s ease-in-out infinite;
}

@keyframes stepPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.15;
    }
}

.timeline-item:hover .step-number {
    transform: scale(1.15);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.3), 0 15px 40px rgba(37, 99, 235, 0.35);
}

.step-content {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.timeline-item:hover .step-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.1);
    border-color: var(--accent);
}

.step-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* HR Services */
.hr-services {
    background: linear-gradient(135deg, var(--primary) 0%, #0f172a 100%);
}

.hr-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.section-subtitle.light {
    color: var(--accent-glow);
}

.hr-content .section-title {
    color: white;
}

.hr-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.hr-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.hr-highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
}

.hr-highlight i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    border-radius: 50%;
    font-size: 0.7rem;
}

.service-cluster {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.cluster-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 1.5rem 1rem;
    border-radius: var(--radius);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: default;
    transition: var(--transition);
}

.cluster-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.cluster-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: 12px;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.cluster-item span {
    font-weight: 500;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .hr-layout {
        grid-template-columns: 1fr;
    }

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

/* Industries Section */
.industries {
    position: relative;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 60%);
}

.industries::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 15% 15%, rgba(37, 99, 235, 0.04) 0%, transparent 35%),
        radial-gradient(circle at 85% 85%, rgba(37, 99, 235, 0.04) 0%, transparent 35%);
    z-index: 0;
    pointer-events: none;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
    position: relative;
    z-index: 1;
}

.ind-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    gap: 1.5rem;
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.ind-card i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 4px 6px rgba(37, 99, 235, 0.15));
}

.ind-card span {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    transition: color 0.3s ease;
}

.ind-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    border-color: rgba(37, 99, 235, 0.2);
}

.ind-card:hover i {
    transform: scale(1.15) rotate(-5deg);
}

.ind-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}

.ind-card:hover::after {
    transform: scaleX(1);
}

/* Tech Section */
.tech-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.check-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.server-rack {
    width: 200px;
    height: 300px;
    background: #0f172a;
    border-radius: 10px;
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.server-light {
    width: 100%;
    height: 5px;
    background: #1e293b;
    border-radius: 2px;
    position: relative;
    animation: blink 2s infinite;
}

.server-light::after {
    content: '';
    position: absolute;
    right: 5px;
    top: 0;
    width: 5px;
    height: 5px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 5px #22c55e;
}

@keyframes blink {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Why Choose Us */
/* Why Choose Us */
.why-choose {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.section-subtitle {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.1);
    border-color: var(--accent);
}

.feature-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: 12px;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.feature-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.feature-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Clients / Trusted Partners */
.clients {
    background: var(--bg-light);
}

.clients-subtitle {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.client-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.1);
    border-color: var(--accent);
}

.client-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.client-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.client-tagline {
    font-size: 0.85rem;
    color: var(--text-light);
}

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

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: 1fr;
    }
}

/* Stats - Enhanced */
.stats {
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 2rem;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60px;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
}

.stat-item:last-child::after {
    display: none;
}

.big-num {
    font-size: 4.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-glow) 0%, #93c5fd 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 80px rgba(96, 165, 250, 0.5);
}

.stat-item .label {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Clients */
.logo-strip {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: center;
    opacity: 0.6;
}

.client-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
    text-transform: uppercase;
}

/* FAQ */
.accordion {
    max-width: 800px;
    margin: 3.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.accordion-item:hover {
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.accordion-item.is-open {
    border-color: var(--accent);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.1);
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.5rem 2rem;
    background: white;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary);
    transition: color 0.3s ease;
}

.accordion-item.is-open .accordion-header {
    color: var(--accent);
}

.accordion-header .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--bg-light);
    border-radius: 50%;
    color: var(--primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.accordion-item.is-open .accordion-header .icon {
    background: var(--accent);
    color: white;
    transform: rotate(45deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-main);
    background: white;
    padding: 0 2rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.accordion-item.is-open .accordion-body {
    max-height: 200px;
    padding-bottom: 1.5rem;
    opacity: 1;
    transform: translateY(0);
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, #1d4ed8 50%, #1e40af 100%);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

/* Ensure content is above background */
.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.cta-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cta-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.trust-item i {
    color: #86efac;
}

/* CTA Contact Form */
.cta-contact-form {
    width: 100%;
}

.form-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-title {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

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

.input-group {
    position: relative;
    width: 100%;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: var(--bg-light);
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: var(--primary);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

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

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    background: white;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    pointer-events: none;
    font-size: 1rem;
}

/* Specific adjustment for textarea icon */
.input-group textarea+i {
    top: 1.25rem;
    transform: none;
}

.input-group select {
    appearance: none;
    cursor: pointer;
    color: var(--text-light);
}

.input-group select option {
    background: white;
    color: var(--primary);
    padding: 10px;
}

.full-width {
    width: 100%;
}

.btn-full {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-full i {
    transition: transform 0.3s ease;
}

.btn-full:hover i {
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .cta-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

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

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #0a0f1a 0%, var(--primary) 100%);
    color: rgba(255, 255, 255, 0.7);
    padding: 0 0 2rem;
    position: relative;
}

.footer-wave {
    color: var(--primary);
    line-height: 0;
    margin-bottom: -1px;
}

.footer-wave svg {
    width: 100%;
    height: auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 4rem;
    padding: 3rem 0;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
}

.footer-logo .logo-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: 12px;
    font-size: 1.3rem;
    color: white;
}

.footer-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.footer-logo .logo-text span {
    color: var(--accent-glow);
    font-weight: 400;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-col ul li a i {
    font-size: 0.6rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-col ul li a:hover i {
    transform: translateX(3px);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-item i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--accent);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.contact-item a,
.contact-item span {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.contact-item a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

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

.footer-bottom-links a:hover {
    color: white;
}

@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

@media (max-width: 768px) {
    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Animations */
.reveal,
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active,
.animate-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .split-layout.reverse>*:first-child {
        order: unset;
    }

    .grid-3,
    .compliance-grid,
    .industries-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .timeline {
        flex-direction: column;
        gap: 2rem;
    }

    .timeline::before {
        width: 2px;
        height: 100%;
        top: 0;
        left: 25px;
    }

    .timeline-item {
        text-align: left;
        padding-left: 5rem;
    }

    .step-number {
        position: absolute;
        left: 0;
        margin: 0;
    }

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

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: white;
        padding: 2rem;
        transition: 0.3s;
        border-bottom: 2px solid var(--accent);
    }

    .nav.active {
        left: 0;
    }

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

    .menu-toggle {
        display: block;
    }

    .sm-hidden {
        display: none;
    }

    .hero {
        min-height: 100vh;
        padding-top: 80px;
        padding-bottom: 40px;
    }

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

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        gap: 0.75rem;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }

    .grid-3,
    .compliance-grid,
    .industries-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .about-stats,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Stats section mobile responsiveness */
    .stats-row {
        flex-direction: column;
        gap: 2rem;
        padding: 1rem 0;
    }

    .stat-item {
        padding: 1.5rem 2rem;
        width: 100%;
        text-align: center;
    }

    .stat-item::after {
        /* Change vertical divider to horizontal for mobile */
        width: 60%;
        height: 1px;
        right: auto;
        left: 50%;
        top: auto;
        bottom: 0;
        transform: translateX(-50%);
    }

    .stat-item:last-child::after {
        display: none;
    }

    .big-num {
        font-size: 3rem;
    }

    .stat-item .label {
        font-size: 1rem;
    }

    .hero-bg .overlay {
        background: rgba(15, 23, 42, 0.92);
    }
}