/* Reset and Base Styles */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --background-dark: #0f172a;
    --background-light: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --card-background: rgba(30, 41, 59, 0.6);
    --card-background-hover: rgba(30, 41, 59, 0.8);
    --border-radius: 16px;
    --border-radius-lg: 20px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --glow-effect: 0 8px 32px rgba(37, 99, 235, 0.15);
    --glow-effect-strong: 0 12px 40px rgba(37, 99, 235, 0.25);
    --neon-border: 1px solid rgba(37, 99, 235, 0.3);
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-dark);
    background-image: 
        radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.03) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(29, 78, 216, 0.03) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
    overflow: hidden;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Animated Background */
.loader-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.loader-gradient {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    animation: gradientRotate 8s ease-in-out infinite;
    top: -50%;
    left: -50%;
}

@keyframes gradientRotate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
}

/* Floating Particles */
.loader-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.loader-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.8);
    animation: particleFloat 15s infinite;
    opacity: 0.6;
}

.loader-particles span:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.loader-particles span:nth-child(2) {
    left: 20%;
    animation-delay: 1s;
    animation-duration: 14s;
}

.loader-particles span:nth-child(3) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 13s;
}

.loader-particles span:nth-child(4) {
    left: 40%;
    animation-delay: 0.5s;
    animation-duration: 15s;
}

.loader-particles span:nth-child(5) {
    left: 50%;
    animation-delay: 1.5s;
    animation-duration: 12s;
}

.loader-particles span:nth-child(6) {
    left: 60%;
    animation-delay: 2.5s;
    animation-duration: 14s;
}

.loader-particles span:nth-child(7) {
    left: 70%;
    animation-delay: 0.8s;
    animation-duration: 13s;
}

.loader-particles span:nth-child(8) {
    left: 80%;
    animation-delay: 1.8s;
    animation-duration: 15s;
}

.loader-particles span:nth-child(9) {
    left: 90%;
    animation-delay: 2.2s;
    animation-duration: 12s;
}

.loader-particles span:nth-child(10) {
    left: 15%;
    animation-delay: 1.2s;
    animation-duration: 14s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(50px) scale(1);
        opacity: 0;
    }
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.page-loader .loader-logo-wrapper,
.page-loader .loader-logo {
    display: none;
}

.page-loader .loader-logo-glow {
    display: none;
}

.page-loader .loader-content {
    gap: 2.2rem;
}

.page-loader .loader-spinner-wrapper {
    margin-top: 0.25rem;
}

.loader-positioning {
    text-align: center;
    max-width: 820px;
    padding: 0 1.25rem;
}

.loader-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(15, 23, 42, 0.35);
    color: rgba(248, 250, 252, 0.95);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.loader-headline {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.loader-subline {
    margin-top: 0.85rem;
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    line-height: 1.55;
    color: rgba(148, 163, 184, 0.95);
}

/* Logo with Glow Effect */
.loader-logo-wrapper {
    position: relative;
    animation: logoFloat 3s ease-in-out infinite;
}

.loader-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 2s ease-in-out infinite;
    filter: blur(30px);
}

@keyframes glowPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.9;
    }
}

.loader-logo {
    position: relative;
    z-index: 1;
}

.loader-logo-img {
    width: 140px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(37, 99, 235, 0.6)) drop-shadow(0 10px 40px rgba(37, 99, 235, 0.4));
    animation: logoRotate 20s linear infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.05);
    }
}

@keyframes logoRotate {
    0% {
        filter: drop-shadow(0 0 30px rgba(37, 99, 235, 0.6)) drop-shadow(0 10px 40px rgba(37, 99, 235, 0.4)) hue-rotate(0deg);
    }
    100% {
        filter: drop-shadow(0 0 30px rgba(37, 99, 235, 0.6)) drop-shadow(0 10px 40px rgba(37, 99, 235, 0.4)) hue-rotate(360deg);
    }
}

/* Enhanced Spinner */
.loader-spinner-wrapper {
    position: relative;
}

.loader-spinner {
    position: relative;
    width: 100px;
    height: 100px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

.spinner-ring:nth-child(1) {
    animation-delay: 0s;
    border-top-color: var(--primary-color);
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.5);
}

.spinner-ring:nth-child(2) {
    width: 75%;
    height: 75%;
    top: 12.5%;
    left: 12.5%;
    animation-delay: 0.2s;
    border-top-color: var(--primary-dark);
    animation-duration: 1.2s;
    animation-direction: reverse;
    box-shadow: 0 0 20px rgba(29, 78, 216, 0.4);
}

.spinner-ring:nth-child(3) {
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
    animation-delay: 0.4s;
    border-top-color: rgba(37, 99, 235, 0.7);
    animation-duration: 1s;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.3);
}

.spinner-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--accent-gradient);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.8);
    animation: centerPulse 1s ease-in-out infinite;
}

@keyframes centerPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.7;
    }
}

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

/* Progress Bar */
.loader-progress {
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 10px;
    width: 0%;
    animation: progressLoad 2s ease-out forwards;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.6);
}

@keyframes progressLoad {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Animated Loading Text */
.loader-text {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.loading-dots {
    display: inline-block;
}

.loading-dots span:not(.dot) {
    display: inline-block;
    animation: letterBounce 1.5s ease-in-out infinite;
}

.loading-dots span:nth-child(1) { animation-delay: 0s; }
.loading-dots span:nth-child(2) { animation-delay: 0.1s; }
.loading-dots span:nth-child(3) { animation-delay: 0.2s; }
.loading-dots span:nth-child(4) { animation-delay: 0.3s; }
.loading-dots span:nth-child(5) { animation-delay: 0.4s; }
.loading-dots span:nth-child(6) { animation-delay: 0.5s; }
.loading-dots span:nth-child(7) { animation-delay: 0.6s; }

.loading-dots .dot {
    display: inline-block;
    animation: dotPulse 1.5s ease-in-out infinite;
}

.loading-dots .dot:nth-child(8) { animation-delay: 0.7s; }
.loading-dots .dot:nth-child(9) { animation-delay: 0.8s; }
.loading-dots .dot:nth-child(10) { animation-delay: 0.9s; }

@keyframes letterBounce {
    0%, 100% {
        transform: translateY(0);
        color: var(--text-primary);
    }
    50% {
        transform: translateY(-10px);
        color: var(--primary-color);
        text-shadow: 0 0 10px rgba(37, 99, 235, 0.8);
    }
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
        color: var(--primary-color);
    }
}

.loader-percentage {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 0 20px rgba(37, 99, 235, 0.6);
    letter-spacing: 0.1em;
}

/* Loader refinements: more minimal, professional look */
.loader-particles {
    display: none;
}

.loader-logo-wrapper {
    animation: none;
}

.loader-logo-img {
    animation: none;
    filter: drop-shadow(0 8px 24px rgba(15, 23, 42, 0.65));
}

.loader-spinner {
    width: 72px;
    height: 72px;
}

.spinner-ring:nth-child(2),
.spinner-ring:nth-child(3),
.spinner-center {
    display: none;
}

.spinner-ring {
    border-width: 3px;
    box-shadow: 0 0 14px rgba(15, 23, 42, 0.45);
}

.loader-progress {
    width: 220px;
}

.loader-text {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: none;
    animation: none;
}

.loading-dots span:not(.dot),
.loading-dots .dot {
    animation: none;
}

.loader-percentage {
    display: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

h3 {
    letter-spacing: -0.01em;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header.scroll-down {
    transform: translateY(-110%);
    opacity: 0;
}

.growth-highlight {
    margin-top: 78px;
    padding: 0.65rem 0;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.9), rgba(29, 78, 216, 0.9));
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
    z-index: 9;
}

.growth-highlight p {
    margin: 0;
    color: #ffffff;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.02em;
    font-size: 0.95rem;
}

.growth-highlight-link {
    display: block;
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    text-transform: uppercase;
    line-height: 1.4;
}

.growth-highlight-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
}

.nav {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links a:hover {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
}

.nav-links a.active {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    color: #1f2937;
    background: transparent;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    font-family: inherit;
}

.nav-dropdown-toggle i {
    font-size: 0.78rem;
    transition: transform 0.25s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 12px;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16);
    padding: 0.45rem;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 1100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown:hover .nav-dropdown-toggle i,
.nav-dropdown:focus-within .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-dropdown-menu a {
    width: 100%;
    justify-content: flex-start;
    padding: 0.62rem 0.75rem;
    border-radius: 8px;
    font-size: 0.94rem;
}

/* CTA Button in Navigation */
.nav-links .cta-button {
    background: var(--accent-gradient);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    color: white !important;
    background: var(--accent-gradient);
}

.nav-links .partners-nav-link {
    background: linear-gradient(135deg, #0f172a, #1e40af);
    color: #ffffff !important;
    border: 1px solid rgba(37, 99, 235, 0.35);
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 0.45rem 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

.nav-links .partners-nav-link i {
    font-size: 0.82rem;
    color: #93c5fd;
}

.nav-links .partners-nav-link:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #1e40af, #2563eb);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.32);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: #1f2937;
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .hero::after {
        background-size: contain;
        background-position: top center;
        opacity: 0.4;
    }
    .header .container {
        justify-content: flex-end;
        padding: 1rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1000;
        align-items: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Mobile CTA Button */
    .nav-links .cta-button {
        margin-top: 1rem;
        background: var(--accent-gradient);
        color: white !important;
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        font-size: 1.1rem;
    }

    .nav-links .partners-nav-link {
        margin-top: 0.2rem;
        width: 210px;
        justify-content: center;
        font-size: 1rem;
        padding: 0.75rem 1.2rem;
        border-radius: 12px;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-toggle {
        width: 100%;
        justify-content: center;
        font-size: 1.05rem;
        padding: 0.85rem 1rem;
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 1px solid rgba(37, 99, 235, 0.14);
        margin-top: 0.45rem;
        width: 100%;
        border-radius: 10px;
        background: rgba(37, 99, 235, 0.04);
    }

    .nav-dropdown-menu a {
        justify-content: center;
    }
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    text-align: left;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image img.floating-image {
    max-width: 80%;
    height: auto;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(37, 99, 235, 0.1) 49%, rgba(37, 99, 235, 0.1) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(37, 99, 235, 0.1) 49%, rgba(37, 99, 235, 0.1) 51%, transparent 52%);
    background-size: 30px 30px;
    opacity: 0.3;
    animation: gridMove 20s linear infinite;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/hero.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0.45; /* adjust for how strong you want it */
    z-index: 0;
}

.hero h1,
.hero .subheadline,
.hero .cta-button {
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    max-width: 620px;
    margin-left: 0;
    margin-right: 0;
}

.subheadline {
    font-size: clamp(1.05rem, 1.4vw, 1.22rem);
    max-width: 620px;
    margin: 0 0 1.6rem;
    color: var(--text-primary);
    opacity: 0.9;
    line-height: 1.55;
}

.hero .cta-button {
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: var(--accent-gradient);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 
        0 4px 6px -1px rgba(37, 99, 235, 0.3),
        0 2px 4px -1px rgba(37, 99, 235, 0.2);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: var(--transition);
}

.cta-button::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius);
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover::after {
    opacity: 1;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 10px 15px -3px rgba(37, 99, 235, 0.4),
        0 4px 6px -2px rgba(37, 99, 235, 0.3);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* What We Do Section */
.what-we-do {
    padding: 5rem 0;
    background-color: var(--background-dark);
    position: relative;
    overflow: hidden;
}

.what-we-do::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(at 20% 30%, rgba(37, 99, 235, 0.08) 0px, transparent 50%),
        radial-gradient(at 80% 70%, rgba(29, 78, 216, 0.08) 0px, transparent 50%);
    pointer-events: none;
}

.what-we-do-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.what-we-do-header h2 {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.what-we-do-header .section-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 1.8;
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.what-we-do-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
}

.what-we-do-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    border: var(--neon-border);
    position: relative;
    overflow: hidden;
}

.what-we-do-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.what-we-do-card:hover::before {
    transform: scaleX(1);
}

.what-we-do-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--glow-effect-strong);
    border-color: rgba(37, 99, 235, 0.5);
    background: var(--card-background-hover);
}

.card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--accent-gradient);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: var(--glow-effect);
    transition: var(--transition);
}

.what-we-do-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--glow-effect-strong);
}

.what-we-do-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.what-we-do-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

.segments-showcase {
    position: relative;
    z-index: 1;
    margin-top: 8rem;
    padding-top: 6rem;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.segments-header {
    text-align: center;
    margin-bottom: 4rem;
}

.segments-header h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.segments-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.segments-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.segment-showcase-card {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 4rem 3rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    border: var(--neon-border);
    position: relative;
    overflow: hidden;
}

.segment-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

.segment-showcase-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-effect-strong);
    border-color: rgba(37, 99, 235, 0.5);
    background: var(--card-background-hover);
}

.segment-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--accent-gradient);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    box-shadow: var(--glow-effect);
}

.segment-icon-large {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: var(--accent-gradient);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: white;
    box-shadow: var(--glow-effect-strong);
    transition: var(--transition);
}

.segment-showcase-card:hover .segment-icon-large {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 16px 48px rgba(37, 99, 235, 0.4);
}

.segment-showcase-card h4 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.segment-showcase-card p {
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 1.05rem;
}

/* Personal Branding Segment Special Styling */
.segment-personal .segment-badge {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

.segment-personal:hover {
    border-color: rgba(139, 92, 246, 0.5);
}

.segment-divider {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.divider-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.divider-text {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: var(--background-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(29, 78, 216, 0.3));
    border-radius: var(--border-radius-lg);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.2),
        0 10px 10px -5px rgba(0, 0, 0, 0.1),
        var(--glow-effect-strong),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    background: var(--card-background-hover);
    border-color: rgba(37, 99, 235, 0.5);
}

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

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

.service-card i {
    font-size: 2.75rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    display: inline-block;
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.3));
}

.service-card:hover i {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(37, 99, 235, 0.5));
}

.service-hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-gradient);
    padding: 2rem;
    opacity: 0;
    transform: translateY(100%);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    overflow-y: hidden;
}

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

.service-hover ul {
    list-style: none;
    color: var(--text-primary);
}

.service-hover li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-hover li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--text-primary);
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.step {
    padding: 2.5rem 2rem;
    position: relative;
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-effect-strong);
    border-color: rgba(37, 99, 235, 0.5);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 700;
    position: relative;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.3);
}

.step-number::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(37, 99, 235, 0.3);
    animation: pulse 2s infinite;
}

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

/* Metrics */
.metrics {
    padding: 6rem 0;
    background: var(--accent-gradient);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.metric-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Integrations */
.integrations {
    padding: 6rem 0;
    background-color: var(--background-light);
}

.integration-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.integration-logos img {
    height: 40px;
    opacity: 0.7;
    transition: var(--transition);
}

.integration-logos img:hover {
    opacity: 1;
}

.section-description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-secondary);
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.partners-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.2rem;
}

.durvix-feature-card {
    text-align: center;
    padding: 3rem 2.5rem;
    max-width: 980px;
    margin: 0 auto;
}

.partner-logo-frame {
    width: 100%;
    max-width: 580px;
    height: 170px;
    margin: 0 auto 1.2rem;
    background: #ffffff;
    border-radius: 16px;
    padding: 0.8rem 1.2rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.durvix-logo-frame {
    max-width: 680px;
    height: 190px;
}

.partner-logo-image {
    width: 100%;
    max-width: 180px;
    height: 70px;
    object-fit: contain;
    border-radius: 10px;
    margin: 0 auto 1rem;
    display: block;
    background: #ffffff;
    padding: 0.35rem 0.5rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
}

.durvix-card .partner-logo-image {
    opacity: 1;
    visibility: visible;
}

.integration-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.integration-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.integration-card > * {
    position: relative;
    z-index: 1;
}

.integration-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--glow-effect-strong);
    border-color: rgba(37, 99, 235, 0.5);
}

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

.integration-card a {
    position: relative;
    z-index: 2;
}

.integration-card img {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.integration-card img.partner-logo-image {
    width: 100%;
    max-width: 240px;
    height: 90px;
    margin: 0 auto 1.2rem;
    filter: none;
}

.durvix-logo-frame .partner-logo-image {
    max-width: none;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    object-fit: contain;
    object-position: center;
    transform: scale(1.55);
    transform-origin: center;
}

.dchange-feature-card {
    max-width: 980px;
}

.dchange-logo-frame {
    max-width: 680px;
    height: 190px;
}

.dchange-logo-frame .partner-logo-image {
    max-width: none;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    object-fit: contain;
    object-position: center;
    transform: scale(1.55);
    transform-origin: center;
}

.partner-contact {
    margin-top: 1.25rem;
    display: grid;
    gap: 0.6rem;
    color: rgba(248, 250, 252, 0.9);
}

.partner-contact-item {
    font-size: 1rem;
    line-height: 1.5;
}

.partner-contact a {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(248, 250, 252, 0.35);
}

.partner-contact a:hover {
    border-bottom-color: rgba(248, 250, 252, 0.85);
}

.partners-secondary-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    max-width: 980px;
    margin: 0 auto;
}

.partners-secondary-grid .integration-card {
    min-height: 100%;
    padding: 2rem 1.6rem;
}

.partners-secondary-grid .integration-card h3 {
    font-size: 1.15rem;
}

.partners-secondary-grid .integration-card p {
    font-size: 0.94rem;
    line-height: 1.65;
}

@media (max-width: 1100px) {
    .partners-secondary-grid {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .durvix-feature-card {
        padding: 2rem 1.2rem;
    }

    .durvix-logo-frame {
        height: 140px;
        max-width: 100%;
        padding: 0.7rem 0.9rem;
    }

    .durvix-logo-frame .partner-logo-image {
        transform: scale(1.35);
    }

    .dchange-logo-frame {
        height: 140px;
        max-width: 100%;
        padding: 0.7rem 0.9rem;
    }

    .dchange-logo-frame .partner-logo-image {
        transform: scale(1.35);
    }

    .partners-secondary-grid {
        grid-template-columns: 1fr;
    }
}

.integration-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.integration-card p {
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
}

.integration-card a {
    word-break: break-word;
}

.integration-card i[class^="fas"] {
    display: block;
}

/* Our Clients Section */
.clients-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.clients-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.client-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: 
        0 2px 4px -1px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

.client-item:hover {
    transform: translateY(-6px);
    background: var(--accent-gradient);
    box-shadow: var(--glow-effect-strong);
    border-color: rgba(255, 255, 255, 0.2);
}

.client-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.client-item:hover .client-logo img {
    transform: scale(1.1);
}

.client-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.many-more-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    border: 2px dashed rgba(37, 99, 235, 0.3);
}

@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
    }
    
    .client-item {
        padding: 1.5rem 1rem;
    }
    
    .client-logo {
        width: 60px;
        height: 60px;
    }
    
    .client-name {
        font-size: 0.9rem;
    }
    
    .integration-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .integration-card {
        padding: 1.5rem;
    }
    
    .integration-card i[class^="fas"] {
        font-size: 2.5rem !important;
    }
    
    .integration-card h3 {
        font-size: 1.1rem;
    }
    
    .integration-card p {
        font-size: 0.85rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

/* Pricing */
.pricing {
    padding: 6rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

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

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--glow-effect-strong);
    border-color: rgba(37, 99, 235, 0.5);
}

.pricing-card.featured {
    background: var(--accent-gradient);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--glow-effect-strong);
    transform: scale(1.03);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.features {
    list-style: none;
    margin: 2rem 0;
}

.features li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background-color: var(--background-light);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-effect-strong);
    border-color: rgba(37, 99, 235, 0.5);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.author {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.review-stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.review-stars i {
    color: #fbbf24;
    font-size: 1.1rem;
}

.review-source {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.testimonials-footer {
    text-align: center;
    margin-top: 3rem;
}

.google-reviews-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.google-reviews-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--glow-effect);
}

.google-reviews-link i {
    font-size: 1.1rem;
}

/* About */
.about {
    padding: 6rem 0;
    text-align: center;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
}

/* Contact */
.contact {
    padding: 6rem 0;
    background-color: var(--background-light);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 8px 16px -4px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

input, select, textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: var(--text-primary);
    transition: var(--transition);
    font-size: 1rem;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 
        0 0 0 3px rgba(37, 99, 235, 0.1),
        var(--glow-effect);
    background: rgba(30, 41, 59, 0.8);
    transform: translateY(-1px);
}

input::placeholder, textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5rem;
    padding-right: 3rem;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

/* Form Success Message */
.form-success {
    display: none;
    text-align: center;
    padding: 2rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.form-success.visible {
    display: block;
    animation: fadeIn 0.3s ease-out forwards;
}

/* Footer */
.footer {
    position: relative;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.98) 100%);
    color: var(--text-primary);
    padding: 84px 0 22px;
    border-top: 1px solid rgba(37, 99, 235, 0.24);
    box-shadow: 0 -16px 40px rgba(15, 23, 42, 0.6);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section p {
    color: var(--text-secondary);
}

.footer-section h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
    letter-spacing: 0.2px;
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--primary-color);
}

.footer-map {
    margin-top: 1rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-map-embed {
    display: block;
    width: 100%;
    height: 220px;
    border: 0;
}

.footer-map-link {
    display: inline-block;
    margin-top: 0.6rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

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

@media (max-width: 480px) {
    .footer-map-embed {
        height: 160px;
    }
}

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

.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

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

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.24);
    color: var(--text-secondary);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-image {
        margin-top: 2rem;
    }
    
    .hero-image img {
        max-width: 70%;
    }
    
    .what-we-do-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .segments-container {
        gap: 2rem;
    }
    
    .segment-showcase-card {
        min-width: 280px;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .growth-highlight {
        margin-top: 72px;
        padding: 0.55rem 0;
    }

    .growth-highlight p {
        font-size: 0.82rem;
        line-height: 1.35;
    }

    .growth-highlight-link {
        font-size: 0.74rem;
        letter-spacing: 0.04em;
    }

    .partner-logo-image {
        max-width: 150px;
        height: 62px;
    }

    .loader-logo-img {
        width: 100px;
    }
    
    .loader-logo-glow {
        width: 150px;
        height: 150px;
    }
    
    .loader-spinner {
        width: 80px;
        height: 80px;
    }
    
    .loader-progress {
        width: 250px;
    }
    
    .loader-text {
        font-size: 0.95rem;
    }
    
    .loader-percentage {
        font-size: 1.25rem;
    }
    
    .loader-content {
        gap: 2rem;
    }
    
    .hero-image img {
        max-width: 60%;
    }

    .founders-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-info li {
        justify-content: center;
    }

    .footer-map-embed {
        height: 180px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .logo-img {
        height: 45px;
    }

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

    .hero-text {
        max-width: 100%;
    }

    .hero-image {
        order: -1;
    }
    
    .hero h1 {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
    
    .subheadline {
        font-size: clamp(0.95rem, 2.5vw, 1.1rem);
        line-height: 1.5;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
    
    .what-we-do {
        padding: 4rem 0;
    }
    
    .what-we-do-header {
        margin-bottom: 2.5rem;
    }
    
    .what-we-do-header .section-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .what-we-do-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 4rem;
    }
    
    .what-we-do-card {
        padding: 2rem 1.5rem;
    }
    
    .segments-showcase {
        margin-top: 4rem;
        padding-top: 4rem;
    }
    
    .segments-header {
        margin-bottom: 3rem;
    }
    
    .segments-header h3 {
        font-size: 2rem;
    }
    
    .segments-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .segment-showcase-card {
        max-width: 100%;
        padding: 3rem 2rem;
    }
    
    .segment-divider {
        flex-direction: column;
        gap: 1rem;
    }
    
    .divider-line {
        width: 2px;
        height: 60px;
        background: linear-gradient(180deg, transparent, var(--primary-color), transparent);
    }
    
    .divider-text {
        transform: rotate(0deg);
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 30px 30px; }
}

.service-card, .step, .pricing-card, .testimonial {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Founders Section */
.founders {
    padding: 80px 0;
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
}

.founders::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(37, 99, 235, 0.1) 49%, rgba(37, 99, 235, 0.1) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(37, 99, 235, 0.1) 49%, rgba(37, 99, 235, 0.1) 51%, transparent 52%);
    background-size: 30px 30px;
    opacity: 0.3;
    animation: gridMove 20s linear infinite;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.founder-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.founder-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.founder-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--glow-effect-strong);
    border-color: rgba(37, 99, 235, 0.5);
}

.founder-card:hover::before {
    opacity: 1;
    transform: rotate(45deg);
}

.founder-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
    position: relative;
}

.founder-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.2), transparent);
    opacity: 0;
    transition: var(--transition);
}

.founder-card:hover .founder-image::after {
    opacity: 1;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.founder-card:hover .founder-image img {
    transform: scale(1.05);
}

.founder-card h3 {
    color: var(--text-primary);
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.founder-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.founder-bio {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .founders-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .founder-image {
        width: 150px;
        height: 150px;
    }
}

.plan-title {
    font-size: 2rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
    position: relative;
    padding-bottom: 1rem;
}

.plan-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.pricing-card.featured .plan-title {
    color: var(--text-primary);
    text-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
}

.pricing-card.featured .plan-title::after {
    width: 70px;
    background: var(--text-primary);
}

.powered-by {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    font-style: italic;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background-color: var(--background-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    box-shadow: 
        0 2px 4px -1px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-effect-strong);
    border-color: rgba(37, 99, 235, 0.5);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

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

.consultation-text {
    text-align: center;
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Outcome-focused visual polish */
.hero-proof-line {
    text-align: left;
    font-size: 0.98rem;
    line-height: 1.55;
    margin: 0.55rem 0 0;
    color: rgba(248, 250, 252, 0.92);
    max-width: 600px;
    position: relative;
    padding-left: 1.4rem;
}

.hero-proof-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.hero-outcomes {
    position: relative;
    overflow: hidden;
}

.hero-outcomes::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 12% 20%, rgba(59, 130, 246, 0.14), transparent 40%);
    pointer-events: none;
}

.hero-outcomes h2,
.proof-strip h2,
.why-dcomm h2 {
    margin-bottom: 2rem;
}

.hero-outcomes h2::after,
.proof-strip h2::after,
.why-dcomm h2::after {
    content: 'Outcomes';
    display: inline-flex;
    margin-left: 0.75rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.32rem 0.58rem;
    border: 1px solid rgba(96, 165, 250, 0.4);
    border-radius: 999px;
    color: #bfdbfe;
    background: rgba(30, 64, 175, 0.25);
    vertical-align: middle;
}

.proof-strip h2::after {
    content: 'Proof';
}

.why-dcomm h2::after {
    content: 'Why Us';
}

.hero-outcomes .service-card {
    text-align: left;
    border: 1px solid rgba(96, 165, 250, 0.22);
    padding: 2.1rem 1.6rem;
}

.hero-outcomes .services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.hero-outcomes .services-grid .service-card {
    flex: 0 1 31%;
    min-width: 260px;
    max-width: 360px;
}

.hero-outcomes .service-card i {
    margin-bottom: 0.85rem;
}

.hero-outcomes .service-card p {
    color: rgba(241, 245, 249, 0.95);
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.55;
}

.what-we-do-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}

.what-we-do-card {
    padding: 2rem 1.35rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.what-we-do-card .card-icon {
    margin: 0 0 1.1rem;
}

.what-we-do-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.6rem;
}

.what-we-do-card p {
    font-size: 1rem;
    line-height: 1.62;
    margin-bottom: 0.95rem;
}

.what-we-do-card .outcomes-list,
.segment-showcase-card .segment-outcomes-list {
    list-style: none;
    margin: 1.2rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.62rem;
}

.what-we-do-card .outcomes-list li,
.segment-showcase-card .segment-outcomes-list li {
    padding: 0.52rem 0.72rem 0.52rem 1.9rem;
    text-align: left;
    border-radius: 12px;
    position: relative;
    background: rgba(15, 23, 42, 0.36);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
    font-size: 0.93rem;
    line-height: 1.4;
}

.what-we-do-card .outcomes-list li::before,
.segment-showcase-card .segment-outcomes-list li::before {
    content: '';
    position: absolute;
    left: 0.78rem;
    top: 50%;
    width: 0.56rem;
    height: 0.56rem;
    border-radius: 999px;
    transform: translateY(-50%);
    background: var(--accent-gradient);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.6);
}

.why-dcomm .pricing-grid {
    max-width: 900px;
    margin: 0 auto;
}

.why-dcomm .pricing-card {
    text-align: left;
    border: 1px solid rgba(96, 165, 250, 0.3);
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.82), rgba(15, 23, 42, 0.82));
}

.why-dcomm .features {
    margin: 0;
    display: grid;
    gap: 0.8rem;
}

.why-dcomm .features li {
    margin: 0;
    color: #e2e8f0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.02rem;
}

.why-dcomm .features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #60a5fa;
    font-weight: 700;
}

.proof-strip .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.proof-strip .service-card {
    cursor: default;
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.82), rgba(15, 23, 42, 0.82));
    border: 1px solid rgba(96, 165, 250, 0.24);
}

.proof-strip .service-card h3 {
    margin-bottom: 0.35rem;
    font-size: 2.15rem;
    color: #93c5fd;
    letter-spacing: -0.03em;
}

.proof-strip .service-card p {
    margin-bottom: 0;
    color: #e2e8f0;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero h1,
    .subheadline {
        margin-left: auto;
        margin-right: auto;
    }

    .what-we-do-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .what-we-do-card {
        padding: 1.8rem 1.2rem;
    }

    .hero-proof-line {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        padding-left: 1.25rem;
        max-width: 460px;
    }

    .hero-proof-line::before {
        top: 0.65rem;
    }

    .hero-outcomes h2::after,
    .proof-strip h2::after,
    .why-dcomm h2::after {
        display: block;
        width: fit-content;
        margin: 0.85rem auto 0;
    }

    .why-dcomm .pricing-card {
        text-align: center;
    }

    .why-dcomm .features li {
        text-align: left;
    }
}

.contact .cta-button {
    width: 100%;
    font-size: 1.1rem;
    padding: 1.2rem;
    background: var(--accent-gradient);
    color: var(--text-primary);
    border: none;
    margin-top: 1rem;
}

.contact .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* Privacy Policy Popup */
.privacy-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 999999;
    max-width: 400px;
    display: none;
    animation: slideIn 0.5s ease-out;
    border: 1px solid #e5e7eb;
}

.privacy-popup.visible {
    display: block !important;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.privacy-popup-content {
    text-align: left;
    position: relative;
}

.privacy-popup h3 {
    margin-bottom: 15px;
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 600;
}

.privacy-popup p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #4b5563;
}

.privacy-popup a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.privacy-popup a:hover {
    text-decoration: underline;
}

.privacy-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.secondary-button {
    background: #f3f4f6;
    color: #4b5563;
    border: 1px solid #e5e7eb;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.secondary-button:hover {
    background: #e5e7eb;
}

/* Privacy Policy Section */
.privacy-policy {
    padding: 60px 0;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.privacy-content {
    max-width: 1200px;
    margin: 0 auto;
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.privacy-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.privacy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.privacy-card i {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 15px;
}

.privacy-card h3 {
    color: #1f2937;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.privacy-card p {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
}

.privacy-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.privacy-footer p {
    color: #6b7280;
    font-size: 0.9rem;
}

.privacy-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.privacy-link:hover {
    text-decoration: underline;
}

/* Case Studies Page Styles */
.case-studies {
    padding: 6rem 0;
    background-color: var(--background-light);
}

.case-studies-overview {
    margin-bottom: 3rem;
}

.case-studies-overview h2 {
    text-align: left;
    margin-bottom: 0.75rem;
}

.case-studies-overview .section-description {
    max-width: 640px;
    margin: 0 0 1.75rem 0;
    text-align: left;
}

.case-studies-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.case-studies-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 0.25rem 0.5rem 0;
    scrollbar-width: none;
}

.case-studies-track::-webkit-scrollbar {
    display: none;
}

.case-card {
    flex: 0 0 280px;
    max-width: 320px;
    scroll-snap-align: start;
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.84), rgba(15, 23, 42, 0.84));
    border-radius: var(--border-radius-lg);
    padding: 1.75rem 1.5rem;
    border: 1px solid rgba(96, 165, 250, 0.24);
    text-decoration: none;
    color: var(--text-primary);
    box-shadow:
        0 12px 26px rgba(2, 6, 23, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.case-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(37,99,235,0.22), transparent 55%);
    opacity: 0;
    transition: var(--transition);
}

.case-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.case-tag {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.case-metric {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.case-card:hover {
    transform: translateY(-6px);
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow:
        0 18px 34px rgba(2, 6, 23, 0.48),
        0 0 0 1px rgba(59, 130, 246, 0.2);
}

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

.case-slider-arrow {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.8);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.case-slider-arrow i {
    font-size: 0.9rem;
}

.case-slider-arrow:hover {
    background: rgba(37, 99, 235, 0.95);
    border-color: transparent;
    transform: translateY(-1px);
}

.case-slider-arrow:disabled {
    opacity: 0.4;
    cursor: default;
    transform: none;
}

.case-study {
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.84), rgba(15, 23, 42, 0.84));
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(96, 165, 250, 0.24);
    box-shadow:
        0 12px 26px rgba(2, 6, 23, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}

.case-study:hover {
    transform: translateY(-5px);
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow:
        0 18px 34px rgba(2, 6, 23, 0.48),
        0 0 0 1px rgba(59, 130, 246, 0.2);
}

.case-study-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
}

.case-study-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: left;
}

.case-study-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.case-study-stats span {
    background: rgba(37, 99, 235, 0.1);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.case-study-content {
    display: grid;
    gap: 2rem;
}

.case-study-section {
    background: rgba(15, 23, 42, 0.38);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(96, 165, 250, 0.22);
}

.case-study-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.case-study-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

.case-study-section ul {
    list-style: none;
    padding: 0;
}

.case-study-section li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.case-study-section li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* CTA Section for Case Studies */
.cta-section {
    padding: 4rem 0;
    background: var(--background-dark);
}

.cta-card {
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.84), rgba(15, 23, 42, 0.84));
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(96, 165, 250, 0.24);
    box-shadow:
        0 12px 26px rgba(2, 6, 23, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    max-width: 800px;
    margin: 0 auto;
}

.cta-card h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Mobile Responsive for Case Studies */
@media (max-width: 768px) {
    .case-study {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .case-study-header h2 {
        font-size: 2rem;
    }
    
    .case-study-stats {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .case-study-stats span {
        text-align: center;
    }
    
    .case-study-section {
        padding: 1.5rem;
    }
    
    .case-study-section h3 {
        font-size: 1.25rem;
    }
    
    .cta-card {
        padding: 2rem 1.5rem;
    }
    
    .cta-card h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .what-we-do-header .section-description {
        font-size: 0.95rem;
    }
    
    .what-we-do-card {
        padding: 1.5rem 1.25rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }
    
    .what-we-do-card h3 {
        font-size: 1.35rem;
    }
    
    .what-we-do-card p {
        font-size: 0.95rem;
    }
    
    .segments-header h3 {
        font-size: 1.75rem;
    }
    
    .segment-showcase-card {
        padding: 2.5rem 1.5rem;
    }
    
    .segment-icon-large {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
    
    .loader-logo-img {
        width: 80px;
    }
    
    .loader-logo-glow {
        width: 120px;
        height: 120px;
    }
    
    .loader-spinner {
        width: 60px;
        height: 60px;
    }
    
    .spinner-center {
        width: 15px;
        height: 15px;
    }
    
    .loader-progress {
        width: 200px;
    }
    
    .loader-text {
        font-size: 0.85rem;
    }
    
    .loader-percentage {
        font-size: 1.1rem;
    }
    
    .loader-content {
        gap: 1.5rem;
    }
    
    .loader-particles span {
        width: 3px;
        height: 3px;
    }
    
    .case-study {
        padding: 1.5rem 1rem;
    }
    
    .case-study-header h2 {
        font-size: 1.75rem;
    }
    
    .case-study-section {
        padding: 1rem;
    }
    
    .cta-card {
        padding: 1.5rem 1rem;
    }
    
    .cta-card h2 {
        font-size: 1.75rem;
    }
} 

/* Unified card theme across the site */
.service-card,
.what-we-do-card,
.segment-showcase-card,
.pricing-card,
.integration-card,
.step,
.testimonial,
.faq-item,
.client-item {
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.84), rgba(15, 23, 42, 0.84));
    border: 1px solid rgba(96, 165, 250, 0.24);
    box-shadow:
        0 12px 26px rgba(2, 6, 23, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.service-card::before,
.what-we-do-card::before,
.segment-showcase-card::before,
.pricing-card::before,
.integration-card::before {
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.18), rgba(15, 23, 42, 0));
    opacity: 1;
}

.service-card:hover,
.what-we-do-card:hover,
.segment-showcase-card:hover,
.pricing-card:hover,
.integration-card:hover,
.step:hover,
.testimonial:hover,
.faq-item:hover,
.client-item:hover {
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow:
        0 18px 34px rgba(2, 6, 23, 0.48),
        0 0 0 1px rgba(59, 130, 246, 0.2);
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.9));
}

.pricing-card.featured {
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.9));
    border-color: rgba(96, 165, 250, 0.35);
    transform: none;
    box-shadow:
        0 12px 26px rgba(2, 6, 23, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.pricing-card.featured:hover {
    transform: translateY(-8px);
}

.plan-title {
    font-size: 1.85rem;
    color: #dbeafe;
    text-transform: none;
    letter-spacing: 0.01em;
    margin-bottom: 1.2rem;
    text-shadow: none;
    padding-bottom: 0.7rem;
}

.plan-title::after {
    width: 44px;
    height: 2px;
    background: rgba(96, 165, 250, 0.85);
}

.pricing-card.featured .plan-title {
    color: #dbeafe;
    text-shadow: none;
}

.pricing-card.featured .plan-title::after {
    width: 44px;
    background: rgba(96, 165, 250, 0.85);
}

.pricing-card .features li,
.step p,
.step h3,
.pricing-card p {
    color: #e2e8f0;
}

/* Match large cards with small-card palette exactly */
.pricing-card,
.why-dcomm .pricing-card,
.case-study,
.cta-card {
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.84), rgba(15, 23, 42, 0.84));
    border: 1px solid rgba(96, 165, 250, 0.24);
    box-shadow:
        0 12px 26px rgba(2, 6, 23, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.pricing-card:hover,
.why-dcomm .pricing-card:hover,
.case-study:hover,
.cta-card:hover {
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.9));
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow:
        0 18px 34px rgba(2, 6, 23, 0.48),
        0 0 0 1px rgba(59, 130, 246, 0.2);
}

.plan-title {
    color: var(--text-primary);
}

/* Mobile optimization pass */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .header .container {
        padding: 0.8rem 1rem;
    }

    .nav-links {
        padding: 2rem 1.25rem;
        justify-content: flex-start;
        overflow-y: auto;
    }

    .nav-links a {
        width: 100%;
        justify-content: center;
        font-size: 1.05rem;
        padding: 0.85rem 1rem;
    }

    .hero {
        padding: 7.25rem 0 3.25rem;
    }

    .hero h1 {
        font-size: clamp(1.9rem, 8vw, 2.45rem);
        line-height: 1.15;
        margin-bottom: 1rem;
    }

    .subheadline {
        margin-bottom: 1.2rem;
        font-size: 1rem;
    }

    .hero .cta-button {
        width: 100%;
        max-width: 260px;
    }

    .services,
    .what-we-do,
    .how-it-works,
    .pricing,
    .testimonials,
    .about,
    .faq,
    .contact {
        padding: 4.25rem 0;
    }

    .services-grid,
    .what-we-do-grid,
    .pricing-grid,
    .testimonials-slider,
    .faq-grid,
    .steps {
        gap: 1rem;
    }

    .service-card,
    .what-we-do-card,
    .pricing-card,
    .step,
    .testimonial,
    .faq-item {
        padding: 1.25rem;
        border-radius: 14px;
    }

    .segment-showcase-card {
        padding: 2rem 1.25rem;
    }

    .hero-outcomes .services-grid .service-card {
        min-width: 0;
        flex: 1 1 100%;
        max-width: 100%;
    }

    .proof-strip .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.9rem;
    }

    .proof-strip .service-card h3 {
        font-size: 1.65rem;
    }

    .proof-strip .service-card p {
        font-size: 0.76rem;
        letter-spacing: 0.04em;
    }

    .case-studies-slider {
        gap: 0.5rem;
    }

    .case-slider-arrow {
        width: 34px;
        height: 34px;
    }

    .case-card {
        flex: 0 0 86%;
        max-width: 86%;
        padding: 1.2rem 1rem;
    }

    .case-study {
        padding: 1.4rem 1rem;
        margin-bottom: 1.6rem;
    }

    .case-study-header h2 {
        font-size: 1.45rem;
    }

    .case-study-section {
        padding: 1rem 0.9rem;
    }
}

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

    h2 {
        margin-bottom: 2rem;
        font-size: clamp(1.65rem, 7vw, 2rem);
    }

    .hero {
        padding: 6.8rem 0 3rem;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 9vw, 2.15rem);
    }

    .hero-proof-line {
        font-size: 0.9rem;
    }

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

    .case-card {
        flex-basis: 92%;
        max-width: 92%;
    }

    .contact-form {
        padding: 1.25rem 1rem;
    }
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.9rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
    z-index: 10000;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.38);
}

@media (max-width: 768px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
        font-size: 1.7rem;
    }
}