/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES
   ========================================================================== */
:root {
    /* Color Palette */
    --color-primary: #0052FF;        /* Premium Tech Blue */
    --color-primary-dark: #003ECC;   /* Deeper Blue for hovers */
    --color-bg-dark: #0B132B;        /* Dark Navy for header/sections */
    --color-bg-navy: #0F172A;        /* Premium Slate/Navy */
    --color-text-dark: #0F172A;      /* Off-black typography */
    --color-text-muted: #475569;     /* Slate-600 */
    --color-bg-light: #F8FAFC;       /* Slate-50 */
    --color-bg-card: #FFFFFF;        /* Pure White */
    --color-border: #E2E8F0;         /* Slate-200 */
    --color-border-hover: #CBD5E1;   /* Slate-300 */
    
    /* CTA Accents */
    --color-accent: #FF6B00;         /* High-conversion Sunset Orange */
    --color-accent-dark: #E05E00;
    --color-success: #10B981;        /* Emerald green for positive metrics */
    --color-error: #EF4444;          /* Red for warnings */
    --color-whatsapp: #25D366;       /* Official WhatsApp Green */
    --color-whatsapp-dark: #128C7E;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #0052FF 0%, #0A2540 100%);
    --grad-accent: linear-gradient(135deg, #FF8A00 0%, #FF5100 100%);
    --grad-dark: linear-gradient(135deg, #0F172A 0%, #020617 100%);
    --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    
    /* Typography */
    --font-heading: 'Poppins', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacings & Layout */
    --container-max-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 20px rgba(0, 82, 255, 0.35);
    --shadow-orange-glow: 0 0 20px rgba(255, 107, 0, 0.4);

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

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-bg-card);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 0; /* Updated dynamically on mobile for sticky bar */
}

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

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

ul {
    list-style: none;
}

/* Utility Containers */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-success { color: var(--color-success) !important; }
.text-accent { color: var(--color-accent) !important; }
.text-primary { color: var(--color-primary) !important; }
.font-bold { font-weight: 700; }

/* Section Spacing */
section {
    padding: 100px 0;
    position: relative;
}

/* Scroll reveal helper classes */
.reveal-el {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-el.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   BUTTONS & FORM ELEMENTS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: var(--border-radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #FFFFFF;
    box-shadow: var(--shadow-sm);
}

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

.btn-accent {
    background: var(--grad-accent);
    color: #FFFFFF;
    box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange-glow);
}

.btn-whatsapp {
    background-color: var(--color-whatsapp);
    color: #FFFFFF;
}

.btn-whatsapp:hover {
    background-color: var(--color-whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.btn-phone {
    background-color: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-dark);
}

.btn-phone:hover {
    border-color: var(--color-text-dark);
    background-color: var(--color-bg-light);
}

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

.btn-block {
    width: 100%;
}

/* Text link styles */
.btn-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-primary);
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}

.btn-text-link:hover {
    color: var(--color-primary-dark);
    border-bottom-color: currentColor;
}

/* ==========================================================================
   HEADER NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition-normal);
}

.main-header.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition-normal);
}

.main-header.scrolled .header-container {
    height: 64px;
}

/* Logo Design */
.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

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

.logo-text {
    color: var(--color-text-dark);
}

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

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
}

.nav-link:hover {
    color: var(--color-primary);
}

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

/* ==========================================================================
   SECTION 1: HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 160px 0 100px 0;
    background-color: var(--color-bg-light);
    overflow: hidden;
}

.hero-bg-accent-1 {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 82, 255, 0.08) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-bg-accent-2 {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 50%;
    height: 70%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.05) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
    pointer-events: none;
}

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

/* Left Hero Content */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-chennai {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 82, 255, 0.08);
    border: 1px solid rgba(0, 82, 255, 0.15);
    color: var(--color-primary);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    border-radius: 50%;
    animation: pulse 1.8s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3.5); opacity: 0; }
}

.hero-headline {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(36px, 5vw, 54px);
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    color: var(--color-text-dark);
}

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

.hero-subheadline {
    font-size: clamp(16px, 2.5vw, 18px);
    color: var(--color-text-muted);
    margin-bottom: 36px;
    max-width: 600px;
}

.hero-cta-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 50px;
    width: 100%;
}

/* Trust Metrics Grid */
.trust-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    padding: 30px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 40px;
}

.metric-card {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.2;
}

.metric-value-currency {
    font-family: var(--font-heading);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.2;
}

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

/* Logo Carousel Static Grid */
.logo-carousel-wrapper {
    width: 100%;
}

.carousel-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
    opacity: 0.7;
    margin-bottom: 16px;
}

.logo-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-muted);
}

/* Right Hero Sidebar: Form & Portrait */
.hero-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Karthick Custom Portrait Badge */
.karthick-badge-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--color-bg-card);
    padding: 16px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.karthick-avatar {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    flex-shrink: 0;
}

.avatar-illustration {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.portrait-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-ring {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    opacity: 0.6;
    animation: spin 8s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.karthick-info {
    display: flex;
    flex-direction: column;
}

.karthick-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-dark);
}

.karthick-title {
    font-size: 12px;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Lead Generation Form Layout */
.lead-form-card {
    background-color: var(--color-bg-card);
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.form-subtitle {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 28px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: var(--color-text-muted);
    pointer-events: none;
    opacity: 0.7;
}

.form-input {
    width: 100%;
    height: 52px;
    padding: 12px 16px 12px 46px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    outline: none;
}

.form-input:focus {
    border-color: var(--color-primary);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(0, 82, 255, 0.1);
}

.form-input::placeholder {
    color: #94A3B8;
}

/* Customized Select Styling */
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
    padding-right: 40px;
}

/* Telephone Prefix styling */
.input-prefix {
    position: absolute;
    left: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-muted);
    pointer-events: none;
    border-right: 1px solid var(--color-border);
    padding-right: 10px;
}

.form-input.has-prefix {
    padding-left: 60px;
}

/* Validations */
.error-message {
    font-size: 12px;
    color: var(--color-error);
    display: none;
    margin-top: 4px;
}

.form-group.has-error .form-input {
    border-color: var(--color-error);
    background-color: rgba(239, 68, 68, 0.02);
}

.form-group.has-error .error-message {
    display: block;
}

.btn-submit {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border-radius: var(--border-radius-sm);
    margin-top: 10px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: spin-loader 0.8s linear infinite;
    margin-left: 10px;
}

@keyframes spin-loader {
    to { transform: rotate(360deg); }
}

.submit-arrow {
    transition: transform var(--transition-fast);
}

.btn-submit:hover .submit-arrow {
    transform: translateX(4px);
}

.form-footer-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    border-top: 1px solid var(--color-border);
    padding-top: 16px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-muted);
}

.privacy-note {
    font-size: 11px;
    color: var(--color-text-muted);
    opacity: 0.8;
}

/* ==========================================================================
   SECTION 2: CLIENT PAIN POINTS
   ========================================================================== */
.pain-points-section {
    background-color: #FFFFFF;
    border-top: 1px solid var(--color-border);
}

.section-header {
    margin-bottom: 60px;
}

.section-tagline {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-primary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    color: var(--color-text-dark);
    letter-spacing: -1px;
    line-height: 1.25;
}

.section-subtitle {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-top: 12px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.section-underline {
    width: 60px;
    height: 4px;
    background-color: var(--color-primary);
    margin: 20px auto 0 auto;
    border-radius: 20px;
}

.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.pain-card {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    padding: 36px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-normal);
}

.pain-card:hover {
    background-color: var(--color-bg-card);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.pain-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(239, 68, 68, 0.08);
    color: var(--color-error);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.pain-card:hover .pain-icon-wrapper {
    background-color: rgba(0, 82, 255, 0.08);
    color: var(--color-primary);
}

.pain-card h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pain-card p {
    font-size: 14px;
    color: var(--color-text-muted);
}

.pain-transition {
    margin-top: 40px;
    border-top: 1px solid var(--color-border);
    padding-top: 40px;
}

.transition-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 20px;
}

/* ==========================================================================
   SECTION 3: SERVICES SECTION
   ========================================================================== */
.services-section {
    background-color: var(--color-bg-light);
}

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

.service-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

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

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 82, 255, 0.15);
}

.service-icon-bg {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 82, 255, 0.06) 0%, rgba(10, 37, 64, 0.06) 100%);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon-bg {
    background: var(--grad-primary);
    color: #FFFFFF;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text-dark);
}

.service-card p {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* ==========================================================================
   SECTION 4: RESULTS / CASE STUDIES
   ========================================================================== */
.results-section {
    background-color: #FFFFFF;
}

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

.result-card {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    padding: 36px;
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
}

.result-metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.metric-highlight {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--color-primary);
    background-color: rgba(0, 82, 255, 0.08);
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
}

.metric-time {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.result-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Case study graphic mockups */
.case-graph {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 20px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.graph-bar-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.graph-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.graph-track {
    width: 100%;
    height: 32px;
    background-color: var(--color-bg-light);
    border-radius: 4px;
    overflow: hidden;
}

.graph-fill {
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 12px;
    font-size: 11px;
    font-weight: 700;
    color: #FFFFFF;
    transition: width var(--transition-slow);
}

.fill-before {
    background-color: #94A3B8;
}

.fill-after {
    background: var(--grad-primary);
}

.bg-gradient-orange {
    background: var(--grad-accent) !important;
}

/* CPL Comparison Graphic */
.cpl-comparison {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 20px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.cpl-circle-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cpl-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.circle-before {
    background-color: var(--color-bg-light);
    border: 2px dashed var(--color-border);
    color: var(--color-text-muted);
}

.circle-after {
    background-color: rgba(16, 185, 129, 0.08);
    border: 2px solid var(--color-success);
    color: var(--color-success);
}

.cpl-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.cpl-arrow-wrapper {
    color: var(--color-text-muted);
}

.result-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--color-text-dark);
}

.stat-desc {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-muted);
}

/* ==========================================================================
   SECTION 5: TESTIMONIALS
   ========================================================================== */
.testimonials-section {
    background-color: var(--color-bg-light);
}

.testimonials-slider-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform var(--transition-slow);
}

.testimonial-slide {
    width: 100%;
    flex-shrink: 0;
    opacity: 0.3;
    transform: scale(0.95);
    transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.testimonial-slide.active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-content {
    background-color: var(--color-bg-card);
    padding: 60px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    text-align: center;
}

.rating-stars {
    color: #FBBF24; /* Golden yellow stars */
    font-size: 22px;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 500;
    color: var(--color-text-dark);
    line-height: 1.6;
    margin-bottom: 36px;
    font-style: italic;
}

.client-profile {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.client-avatar-placeholder {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.bg-gradient-blue { background: var(--grad-primary); }
.bg-gradient-purple { background: linear-gradient(135deg, #7C3AED 0%, #4C1D95 100%); }
.bg-gradient-orange { background: var(--grad-accent); }

.client-info {
    display: flex;
    flex-direction: column;
}

.client-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-dark);
}

.client-desc {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 30px;
}

.slider-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--color-text-dark);
}

.slider-arrow:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background-color: var(--color-bg-light);
}

.slider-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-border);
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot.active {
    width: 24px;
    border-radius: 4px;
    background-color: var(--color-primary);
}

/* ==========================================================================
   SECTION 6: PROCESS SECTION
   ========================================================================== */
.process-section {
    background-color: #FFFFFF;
}

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

.process-step {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

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

.step-number-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-num {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-bg-light);
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--color-primary);
    position: relative;
    z-index: 2;
    transition: var(--transition-normal);
}

.process-step:hover .step-num {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #FFFFFF;
    box-shadow: var(--shadow-glow);
}

.step-line-connection {
    width: 2px;
    position: absolute;
    top: 60px;
    bottom: -50px;
    background-color: var(--color-border);
    z-index: 1;
}

.step-content {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    padding: 30px 40px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-normal);
}

.process-step:hover .step-content {
    background-color: var(--color-bg-card);
    border-color: rgba(0, 82, 255, 0.15);
    box-shadow: var(--shadow-md);
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-content p {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* ==========================================================================
   SECTION 7: WHY CHOOSE KARTHICK
   ========================================================================== */
.why-choose-section {
    background-color: var(--color-bg-light);
    overflow: hidden;
}

.why-choose-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.why-choose-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.why-choose-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.why-choose-desc {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 36px;
}

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

.why-item {
    display: flex;
    gap: 20px;
    background-color: var(--color-bg-card);
    padding: 24px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border);
    transition: var(--transition-normal);
}

.why-item:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.why-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.08);
    color: var(--color-success);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.why-item h5 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.why-item p {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ==========================================================================
   SECTION 8: FAQ SECTION
   ========================================================================== */
.faqs-section {
    background-color: #FFFFFF;
}

.faqs-wrapper {
    max-width: 800px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    background-color: var(--color-bg-light);
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--color-border-hover);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-dark);
    cursor: pointer;
    outline: none;
}

.faq-arrow {
    transition: transform var(--transition-normal);
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.faq-item.active {
    background-color: #FFFFFF;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) cubic-bezier(0, 1, 0, 1);
}

.faq-answer-inner {
    padding: 0 24px 24px 24px;
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   SECTION 9: FINAL CTA SECTION
   ========================================================================== */
.final-cta-section {
    background: var(--grad-dark);
    color: #FFFFFF;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 82, 255, 0.15) 0%, rgba(15,23,42,0) 70%);
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.final-cta-section .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.cta-badge {
    display: inline-block;
    background-color: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.2);
    color: var(--color-accent);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: clamp(16px, 2.5vw, 18px);
    color: #94A3B8;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.cta-trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 13px;
    font-weight: 600;
    color: #94A3B8;
}

/* ==========================================================================
   SECTION 10: FOOTER
   ========================================================================== */
.main-footer {
    background-color: #030712;
    color: #94A3B8;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.brand-col .logo-text {
    color: #FFFFFF;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--color-primary);
    color: #FFFFFF;
}

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

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

.footer-links a:hover {
    color: #FFFFFF;
    padding-left: 4px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
}

.footer-contact li svg {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

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

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

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

.footer-privacy-links a:hover {
    color: #FFFFFF;
}

/* ==========================================================================
   STICKY BOTTOM MOBILE CTA BAR & FLOATING WIDGET
   ========================================================================== */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    display: none; /* Only visible on Mobile */
    grid-template-columns: 0.8fr 1.4fr 0.8fr;
    background-color: #FFFFFF;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--color-border);
}

.sticky-cta-btn {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #FFFFFF;
    text-align: center;
}

.sticky-call {
    background-color: #0F172A;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sticky-consult {
    background: var(--grad-accent);
    font-size: 13px;
}

.sticky-whatsapp {
    background-color: var(--color-whatsapp);
}

/* Floating WhatsApp Widget for Desktop */
.floating-whatsapp-widget {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--color-whatsapp);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: var(--transition-normal);
}

.floating-whatsapp-widget:hover {
    background-color: var(--color-whatsapp-dark);
    transform: scale(1.08) translateY(-5px);
}

.widget-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--color-whatsapp);
    border-radius: 50%;
    z-index: -1;
    animation: widget-pulse-anim 2s infinite ease-out;
}

@keyframes widget-pulse-anim {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ==========================================================================
   THANK YOU PAGE SPECIFIC STYLES
   ========================================================================== */
.thank-you-body {
    background-color: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

.thank-you-container {
    width: 100%;
    max-width: 600px;
}

.thank-you-card {
    background-color: var(--color-bg-card);
    padding: 60px 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    text-align: center;
}

/* Success Checkmark Animation */
.success-checkmark-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.success-checkmark {
    width: 80px;
    height: 80px;
}

.checkmark-svg {
    width: 80px;
    height: 80px;
    display: block;
}

.checkmark-circle {
    stroke-width: 2;
    stroke: var(--color-success);
    stroke-miterlimit: 10;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-width: 3;
    stroke: var(--color-success);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}

.thank-you-headline {
    font-family: var(--font-heading);
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 800;
    color: var(--color-text-dark);
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.thank-you-subheadline {
    font-size: 15px;
    color: var(--color-text-muted);
    margin-bottom: 30px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.info-alert-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(0, 82, 255, 0.05);
    border: 1px solid rgba(0, 82, 255, 0.1);
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 40px;
}

.alert-icon {
    flex-shrink: 0;
}

.thank-you-cta-section {
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
    margin-bottom: 30px;
}

.cta-prompt-text {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.thank-you-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.thank-you-footer {
    margin-top: 20px;
}

/* ==========================================================================
   RESPONSIVENESS (MEDIA QUERIES)
   ========================================================================== */

/* Tablet & Smaller Desktops (1024px) */
@media (max-width: 1024px) {
    section {
        padding: 80px 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-content {
        align-items: center;
        text-align: center;
    }
    
    .hero-headline {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta-actions {
        justify-content: center;
    }
    
    .trust-metrics-grid {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .logo-carousel-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .logo-grid {
        justify-content: center;
    }
    
    .hero-sidebar {
        max-width: 550px;
        width: 100%;
        margin: 0 auto;
    }
    
    .pain-points-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-choose-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .why-choose-left {
        align-items: center;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .brand-col {
        grid-column: span 2;
    }
}

/* Mobile Devices (768px and down) */
@media (max-width: 768px) {
    body {
        padding-bottom: 60px; /* Space for Mobile Sticky CTA */
    }

    section {
        padding: 60px 0;
    }

    .nav-links {
        display: none; /* Hide standard navigation links to avoid distractions */
    }

    .btn-header-phone {
        display: none; /* Call now is on bottom bar */
    }

    .btn-header-cta {
        padding: 8px 16px;
        font-size: 13px;
    }

    .hero-section {
        padding-top: 110px;
    }

    .hero-cta-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-cta-actions .btn {
        width: 100%;
    }

    .pain-points-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-content {
        padding: 30px 20px;
    }

    .process-step {
        grid-template-columns: 60px 1fr;
        gap: 20px;
    }

    .step-line-connection {
        bottom: -60px;
    }

    .step-content {
        padding: 20px;
    }

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

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

    /* Mobile Sticky CTA Bar & Widgets */
    .mobile-sticky-cta {
        display: grid;
    }

    .floating-whatsapp-widget {
        display: none; /* Hide widget on mobile to prevent overlapping sticky bar */
    }

    /* Lead form layout adjustments on mobile */
    .lead-form-card {
        padding: 24px;
    }
    
    .form-footer-badge {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}
