/* public/css/app.css */

/* =============================================
   DESIGN SYSTEM - CSS CUSTOM PROPERTIES
   ============================================= */

:root {
    /* Primary Color Palette */
    --primary: #0a0f2e;
    --primary-light: #141b4d;
    --primary-dark: #060b1f;
    --accent: #4f46e5;
    --accent-light: #6366f1;
    --accent-dark: #3730a3;
    --cyan: #06b6d4;
    --cyan-light: #22d3ee;
    --purple: #8b5cf6;
    --pink: #ec4899;

    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0a0f2e 0%, #141b4d 50%, #1e1b4b 100%);
    --gradient-accent: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #06b6d4 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    --gradient-hero: linear-gradient(135deg, #0a0f2e 0%, #1a0533 40%, #0f172a 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(79, 70, 229, 0.3) 0%, transparent 70%);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-bg-light: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-accent: 0 10px 40px rgba(79, 70, 229, 0.4);
    --shadow-cyan: 0 10px 40px rgba(6, 182, 212, 0.3);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Sora', 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;

    /* Spacing */
    --section-py: 100px;
    --section-py-sm: 60px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================
   RESET & BASE
   ============================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    background-color: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.dark-mode {
    background-color: var(--gray-900);
    color: var(--gray-100);
}

/* =============================================
   SCROLLBAR
   ============================================= */

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-light);
}

/* =============================================
   SELECTION
   ============================================= */

::selection {
    background: var(--accent);
    color: var(--white);
}

/* =============================================
   TYPOGRAPHY
   ============================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.display-hero {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 600px;
}

.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #06b6d4, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =============================================
   PAGE LOADER
   ============================================= */

#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    font-family: var(--font-display);
}

.loader-logo span {
    color: var(--accent-light);
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.loader-bar-fill {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    animation: loader-fill 1.5s ease forwards;
}

@keyframes loader-fill {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

.loader-dots {
    display: flex;
    gap: 8px;
}

.loader-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-light);
    animation: loader-dot 1.2s ease-in-out infinite;
}

.loader-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.loader-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes loader-dot {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.4;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* =============================================
   NAVIGATION
   ============================================= */

.navbar-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
}

.navbar-main.scrolled {
    padding: 12px 0;
    background: rgba(10, 15, 46, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white) !important;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.navbar-brand-text span {
    color: var(--accent-light);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 14px !important;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.08);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    width: auto;
    height: 2px;
    background: var(--accent-light);
    border-radius: var(--radius-full);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition-base);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* Dropdown Menu */
.navbar-main .dropdown-menu {
    background: rgba(10, 15, 46, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    padding: 12px;
    min-width: 220px;
    margin-top: 8px !important;
    animation: dropdownIn 0.2s ease;
}

@keyframes dropdownIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-main .dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-main .dropdown-item:hover {
    background: rgba(79, 70, 229, 0.2);
    color: var(--white);
    transform: translateX(4px);
}

.navbar-main .dropdown-item i {
    width: 20px;
    color: var(--accent-light);
}

.navbar-cta {
    background: var(--gradient-accent);
    color: var(--white) !important;
    padding: 10px 22px !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-accent);
}

.navbar-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(79, 70, 229, 0.5);
}

.navbar-cta::after {
    display: none !important;
}

/* Mobile Nav */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =============================================
   HERO SECTION
   ============================================= */

.hero-section {
    min-height: 100vh;
    background: var(--gradient-hero);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 120px;
    /* ADD this to account for fixed navbar */
    padding-bottom: 60px;
}

/* Hero Title - Fixed Height Container for Typed Text */
.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    /* Reduced from 5.5rem */
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

/* Typed Text Container - Fixed Height to Prevent Layout Shift */
.typed-wrapper {
    display: inline-block;
    min-height: 1.2em;
    line-height: 1.1;
}

#typed-text {
    display: inline;
    white-space: nowrap;
}

/* Make the typed text line span full width but fix height */
.hero-title .typed-line {
    display: block;
    min-height: 1.2em;
    /* Reserves space for the longest text */
    overflow: hidden;
}

/* Cursor */
.typed-cursor {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    background: var(--accent-light);
    margin-left: 4px;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Responsive hero title */
@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 100px;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(1.75rem, 6vw, 3rem);
    }

    #typed-text {
        white-space: normal;
        /* Allow wrap on mobile */
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }
}

/* Animated Background Particles */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: float-particle linear infinite;
    opacity: 0.15;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.15;
    }

    90% {
        opacity: 0.15;
    }

    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

/* Hero Grid Lines */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(79, 70, 229, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 70, 229, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* Hero Glow Orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orb-float 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.3) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation-delay: -4s;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
    top: 40%;
    left: 30%;
    animation-delay: -2s;
}

@keyframes orb-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 70, 229, 0.2);
    border: 1px solid rgba(79, 70, 229, 0.4);
    color: var(--accent-light);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(79, 70, 229, 0);
    }
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-light);
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn-primary-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-spring);
    box-shadow: var(--shadow-accent);
    border: none;
    cursor: pointer;
}

.btn-primary-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(79, 70, 229, 0.5);
    color: var(--white);
}

.btn-primary-hero i {
    transition: transform var(--transition-base);
}

.btn-primary-hero:hover i {
    transform: translateX(4px);
}

.btn-outline-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--white);
    padding: 15px 30px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.btn-outline-hero:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
    transform: translateY(-2px);
}

/* Animated Typing Text */
.typed-wrapper {
    display: inline-flex;
    align-items: center;
    color: var(--accent-light);
}

.typed-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--accent-light);
    margin-left: 4px;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    font-family: var(--font-display);
    line-height: 1;
}

.hero-stat-number span {
    color: var(--accent-light);
}

.hero-stat-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

/* Hero Visual Side */
.hero-visual {
    position: relative;
    height: 580px;
}

.hero-mockup {
    position: absolute;
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-mockup-main {
    width: 380px;
    height: 420px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    animation: float-main 6s ease-in-out infinite;
}

@keyframes float-main {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-20px);
    }
}

.hero-mockup-sm {
    width: 200px;
    height: 140px;
    background: rgba(79, 70, 229, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(79, 70, 229, 0.3);
}

.hero-mockup-sm-1 {
    top: 60px;
    right: 20px;
    z-index: 4;
    animation: float-sm1 7s ease-in-out infinite;
}

.hero-mockup-sm-2 {
    bottom: 80px;
    left: 10px;
    z-index: 4;
    animation: float-sm2 8s ease-in-out infinite;
}

@keyframes float-sm1 {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

@keyframes float-sm2 {

    0%,
    100% {
        transform: translateY(0) rotate(3deg);
    }

    50% {
        transform: translateY(15px) rotate(-1deg);
    }
}

/* Floating Tech Icons */
.tech-icon-float {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--glass-bg-light);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    animation: tech-float linear infinite;
    box-shadow: var(--glass-shadow);
}

@keyframes tech-float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-10px) rotate(5deg);
    }

    75% {
        transform: translateY(10px) rotate(-5deg);
    }
}

/* =============================================
   STATS COUNTER SECTION
   ============================================= */

.stats-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    opacity: 0.5;
}

.stat-card {
    text-align: center;
    padding: 32px 24px;
    position: relative;
    z-index: 1;
}

.stat-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: rgba(79, 70, 229, 0.2);
    border: 1px solid rgba(79, 70, 229, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: var(--accent-light);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    font-family: var(--font-display);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number .suffix {
    color: var(--accent-light);
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* =============================================
   SECTION WRAPPER
   ============================================= */

.section-wrapper {
    padding: var(--section-py) 0;
}

.section-wrapper-dark {
    background: var(--gradient-primary);
    padding: var(--section-py) 0;
}

.section-wrapper-gray {
    background: var(--gray-50);
    padding: var(--section-py) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.2);
    color: var(--accent);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-badge-dark {
    background: rgba(79, 70, 229, 0.2);
    border-color: rgba(79, 70, 229, 0.4);
    color: var(--accent-light);
}

/* =============================================
   SERVICE CARDS
   ============================================= */

.service-category-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 48px;
}

.service-cat-btn {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.service-cat-btn:hover,
.service-cat-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3);
    transform: translateY(-2px);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--gray-100);
    transition: all var(--transition-spring);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform var(--transition-base);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(79, 70, 229, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card-dark {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.service-card-dark:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(79, 70, 229, 0.4);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(79, 70, 229, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 20px;
    transition: all var(--transition-spring);
    color: var(--accent);
}

.service-card:hover .service-icon {
    background: var(--gradient-accent);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-accent);
}

.service-card-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.service-card-dark .service-card-title {
    color: var(--white);
}

.service-card-desc {
    color: var(--gray-500);
    font-size: var(--text-sm);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
}

.service-card-dark .service-card-desc {
    color: rgba(255, 255, 255, 0.6);
}

.service-card-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-card-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-sm);
    color: var(--gray-600);
    padding: 4px 0;
}

.service-card-features li i {
    color: var(--accent);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    font-size: var(--text-sm);
    text-decoration: none;
    margin-top: auto;
    transition: gap var(--transition-base);
}

.service-card-link:hover {
    gap: 12px;
    color: var(--accent-dark);
}

/* =============================================
   WHY CHOOSE US
   ============================================= */

.why-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    border: 1px solid var(--gray-100);
    text-align: center;
    transition: all var(--transition-spring);
    position: relative;
    overflow: hidden;
}

.why-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 0;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.why-card:hover::after {
    opacity: 1;
}

.why-card>* {
    position: relative;
    z-index: 1;
}

.why-card:hover .why-icon,
.why-card:hover .why-title,
.why-card:hover .why-desc {
    color: var(--white);
}

.why-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
    transition: all var(--transition-base);
}

.why-card:hover .why-icon {
    transform: scale(1.2);
}

.why-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
    transition: color var(--transition-base);
}

.why-desc {
    color: var(--gray-500);
    font-size: var(--text-sm);
    line-height: 1.7;
    transition: color var(--transition-base);
}

/* =============================================
   PROCESS / TIMELINE SECTION
   ============================================= */

.process-section {
    background: var(--gradient-primary);
    padding: var(--section-py) 0;
    position: relative;
    overflow: hidden;
}

.process-timeline {
    position: relative;
    padding: 20px 0;
}

.process-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.5), rgba(6, 182, 212, 0.5), transparent);
    transform: translateY(-50%);
}

.process-step {
    text-align: center;
    position: relative;
    padding: 24px 16px;
}

.process-step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: var(--shadow-accent);
    position: relative;
    z-index: 2;
    transition: all var(--transition-spring);
}

.process-step:hover .process-step-number {
    transform: scale(1.15);
    box-shadow: 0 15px 40px rgba(79, 70, 229, 0.5);
}

.process-step-icon {
    display: block;
    font-size: 1.5rem;
    color: var(--accent-light);
    margin-bottom: 12px;
}

.process-step-title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.process-step-desc {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

/* =============================================
   PORTFOLIO GRID
   ============================================= */

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3);
}

.portfolio-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: all var(--transition-spring);
    box-shadow: var(--shadow-card);
}

.portfolio-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-card:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 15, 46, 0.95) 0%, rgba(10, 15, 46, 0.5) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-cats {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.portfolio-cat-tag {
    background: rgba(79, 70, 229, 0.7);
    color: var(--white);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.portfolio-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.portfolio-tech-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    backdrop-filter: blur(10px);
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    text-decoration: none;
    width: fit-content;
    transition: all var(--transition-base);
}

.portfolio-link:hover {
    transform: translateY(-2px);
    color: var(--white);
}

/* =============================================
   TESTIMONIALS
   ============================================= */

.testimonials-section {
    background: var(--gradient-primary);
    padding: var(--section-py) 0;
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 36px;
    backdrop-filter: blur(10px);
    position: relative;
    transition: all var(--transition-spring);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(79, 70, 229, 0.4);
    transform: translateY(-6px);
}

.testimonial-quote-icon {
    font-size: 3rem;
    color: rgba(79, 70, 229, 0.4);
    line-height: 1;
    margin-bottom: 20px;
    font-family: Georgia, serif;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-base);
    line-height: 1.8;
    margin-bottom: 28px;
    font-style: italic;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-stars i {
    color: #f59e0b;
    font-size: var(--text-sm);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(79, 70, 229, 0.5);
}

.testimonial-photo-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 700;
    color: var(--white);
    font-size: var(--text-base);
}

.testimonial-position {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

/* =============================================
   PRICING CARDS
   ============================================= */

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    border: 2px solid var(--gray-100);
    transition: all var(--transition-spring);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    background: var(--gradient-accent);
    border-color: transparent;
    box-shadow: var(--shadow-accent);
    transform: scale(1.05);
}

.pricing-card:not(.featured):hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: var(--white);
    padding: 5px 16px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-name {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.pricing-card.featured .pricing-name {
    color: var(--white);
}

.pricing-tagline {
    font-size: var(--text-sm);
    color: var(--gray-500);
    margin-bottom: 28px;
}

.pricing-card.featured .pricing-tagline {
    color: rgba(255, 255, 255, 0.75);
}

.pricing-price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 6px;
    font-family: var(--font-display);
}

.pricing-card.featured .pricing-price {
    color: var(--white);
}

.pricing-price sup {
    font-size: 1.5rem;
    font-weight: 700;
    vertical-align: super;
}

.pricing-period {
    font-size: var(--text-sm);
    color: var(--gray-400);
    margin-bottom: 28px;
}

.pricing-card.featured .pricing-period {
    color: rgba(255, 255, 255, 0.6);
}

.pricing-divider {
    height: 1px;
    background: var(--gray-100);
    margin: 24px 0;
}

.pricing-card.featured .pricing-divider {
    background: rgba(255, 255, 255, 0.2);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: var(--text-sm);
    color: var(--gray-600);
}

.pricing-card.featured .pricing-features li {
    color: rgba(255, 255, 255, 0.85);
}

.pricing-features li i.fa-check {
    color: #10b981;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.pricing-features li i.fa-times {
    color: var(--gray-300);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.pricing-card.featured .pricing-features li i.fa-check {
    color: #6ee7b7;
}

.btn-pricing {
    display: block;
    text-align: center;
    padding: 14px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--text-base);
    transition: all var(--transition-spring);
    text-decoration: none;
    border: 2px solid;
    margin-top: auto;
}

.btn-pricing-primary {
    background: var(--gradient-accent);
    border-color: transparent;
    color: var(--white);
    box-shadow: var(--shadow-accent);
}

.btn-pricing-primary:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(79, 70, 229, 0.4);
}

.btn-pricing-white {
    background: var(--white);
    border-color: var(--white);
    color: var(--accent);
}

.btn-pricing-white:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-pricing-outline {
    background: transparent;
    border-color: var(--gray-200);
    color: var(--gray-700);
}

.btn-pricing-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* =============================================
   BLOG CARDS
   ============================================= */

.blog-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: all var(--transition-spring);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(79, 70, 229, 0.15);
}

.blog-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-card-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.5);
}

.blog-cat-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: var(--white);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
}

.blog-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--text-xs);
    color: var(--gray-400);
    margin-bottom: 12px;
}

.blog-card-title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.4;
    margin-bottom: 12px;
    transition: color var(--transition-base);
}

.blog-card:hover .blog-card-title {
    color: var(--accent);
}

.blog-card-excerpt {
    color: var(--gray-500);
    font-size: var(--text-sm);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

.blog-card-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-sm);
    color: var(--gray-600);
}

.blog-card-author img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.blog-read-more {
    color: var(--accent);
    font-size: var(--text-sm);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition-base);
}

.blog-read-more:hover {
    gap: 10px;
    color: var(--accent-dark);
}

/* =============================================
   CONTACT SECTION
   ============================================= */

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--gray-100);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-100);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(79, 70, 229, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-item-label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    margin-bottom: 4px;
    font-weight: 600;
}

.contact-item-value {
    font-size: var(--text-base);
    color: var(--gray-800);
    font-weight: 500;
    text-decoration: none;
}

.contact-item-value:hover {
    color: var(--accent);
}

/* Contact Form */
.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
    display: block;
}

.form-control,
.form-select {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: var(--gray-800);
    background: var(--white);
    transition: all var(--transition-base);
    outline: none;
    font-family: var(--font-primary);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
}

.form-control.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.invalid-feedback {
    font-size: var(--text-xs);
    color: #ef4444;
    margin-top: 6px;
    display: block;
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--text-base);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-spring);
    box-shadow: 0 6px 24px rgba(79, 70, 229, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(79, 70, 229, 0.4);
    color: var(--white);
}

.btn-primary-custom:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--accent);
    padding: 13px 30px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-base);
    text-decoration: none;
    border: 2px solid var(--accent);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-secondary-custom:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--accent);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--text-base);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-spring);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.btn-white-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
    color: var(--accent);
}

/* Loading State */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* =============================================
   CTA SECTION
   ============================================= */

.cta-section {
    background: var(--gradient-accent);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-desc {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
    background: var(--primary-dark);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.5), transparent);
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-brand-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    font-family: var(--font-display);
    margin-bottom: 4px;
}

.footer-brand-name span {
    color: var(--accent-light);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-sm);
    margin-bottom: 24px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.55);
    font-size: var(--text-sm);
    line-height: 1.8;
    margin-bottom: 28px;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all var(--transition-base);
    font-size: 0.9rem;
}

.social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-heading {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--accent-light);
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-contact-item i {
    color: var(--accent-light);
    font-size: 0.9rem;
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
}

.footer-contact-item a,
.footer-contact-item span {
    color: rgba(255, 255, 255, 0.55);
    font-size: var(--text-sm);
    text-decoration: none;
    line-height: 1.5;
}

.footer-contact-item a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: var(--text-sm);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.4);
    font-size: var(--text-sm);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-bottom-links a:hover {
    color: var(--accent-light);
}

/* =============================================
   FLOATING CHAT WIDGET
   ============================================= */

.chat-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.chat-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all var(--transition-spring);
}

.chat-options.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.chat-option-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 12px 18px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    color: var(--gray-800);
    font-size: var(--text-sm);
    font-weight: 600;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.chat-option-btn:hover {
    transform: translateX(-6px);
    color: var(--gray-800);
    box-shadow: var(--shadow-xl);
}

.chat-option-btn i {
    font-size: 1.25rem;
}

.chat-option-btn.whatsapp i {
    color: #25d366;
}

.chat-option-btn.messenger i {
    color: #0084ff;
}

.chat-option-btn.email i {
    color: var(--accent);
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-accent);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-accent);
    transition: all var(--transition-spring);
    color: var(--white);
    font-size: 1.4rem;
    position: relative;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 16px 40px rgba(79, 70, 229, 0.5);
}

.chat-toggle-btn .chat-icon-close {
    position: absolute;
    opacity: 0;
    transform: rotate(-90deg);
    transition: all var(--transition-base);
}

.chat-widget.open .chat-toggle-btn .chat-icon-open {
    opacity: 0;
    transform: rotate(90deg);
}

.chat-widget.open .chat-toggle-btn .chat-icon-close {
    opacity: 1;
    transform: rotate(0deg);
}

.chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: #ef4444;
    border-radius: 50%;
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

/* =============================================
   SCROLL TO TOP
   ============================================= */

.scroll-top-btn {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-accent);
    z-index: 800;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-spring);
    text-decoration: none;
    font-size: 1rem;
}

.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-4px);
}

/* =============================================
   PAGE TRANSITION
   ============================================= */

.page-transition {
    position: fixed;
    inset: 0;
    background: var(--gradient-primary);
    z-index: 99998;
    pointer-events: none;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.4s cubic-bezier(0.77, 0, 0.18, 1);
}

.page-transition.entering {
    clip-path: inset(0 0% 0 0);
}

.page-transition.leaving {
    clip-path: inset(0 0 0 100%);
}

/* =============================================
   HOSTING PLANS
   ============================================= */

.hosting-plan-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 2px solid var(--gray-100);
    overflow: hidden;
    transition: all var(--transition-spring);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hosting-plan-card.featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-accent);
}

.hosting-plan-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.hosting-plan-header {
    padding: 28px 28px 20px;
    background: var(--gradient-accent);
    text-align: center;
}

.hosting-plan-card:not(.featured) .hosting-plan-header {
    background: var(--gray-50);
}

.hosting-plan-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
    color: var(--white);
}

.hosting-plan-card:not(.featured) .hosting-plan-icon {
    color: var(--accent);
}

.hosting-plan-name {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.hosting-plan-card:not(.featured) .hosting-plan-name {
    color: var(--gray-900);
}

.hosting-plan-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    font-family: var(--font-display);
    line-height: 1;
    margin: 16px 0 4px;
}

.hosting-plan-card:not(.featured) .hosting-plan-price {
    color: var(--accent);
}

.hosting-plan-period {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
}

.hosting-plan-card:not(.featured) .hosting-plan-period {
    color: var(--gray-500);
}

.hosting-plan-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hosting-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.hosting-spec-item {
    text-align: center;
}

.hosting-spec-value {
    font-weight: 700;
    color: var(--accent);
    font-size: var(--text-base);
    display: block;
}

.hosting-spec-label {
    font-size: var(--text-xs);
    color: var(--gray-500);
}

.hosting-features-list {
    list-style: none;
    margin-bottom: 24px;
    flex: 1;
}

.hosting-features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    font-size: var(--text-sm);
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-50);
}

.hosting-features-list li:last-child {
    border-bottom: none;
}

.hosting-features-list li i {
    color: #10b981;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* =============================================
   KNOWLEDGE BASE
   ============================================= */

.kb-search-bar {
    position: relative;
    max-width: 600px;
    margin: 0 auto 48px;
}

.kb-search-input {
    width: 100%;
    padding: 18px 60px 18px 24px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: var(--text-base);
    color: var(--gray-800);
    outline: none;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.kb-search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1), var(--shadow-md);
}

.kb-search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-accent);
    border: none;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.kb-search-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.kb-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    z-index: 100;
    overflow: hidden;
    display: none;
}

.kb-search-results.show {
    display: block;
    animation: dropdownIn 0.2s ease;
}

.kb-search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--gray-100);
    text-decoration: none;
    transition: background var(--transition-fast);
}

.kb-search-result-item:last-child {
    border-bottom: none;
}

.kb-search-result-item:hover {
    background: var(--gray-50);
}

.kb-cat-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 28px;
    border: 1px solid var(--gray-100);
    transition: all var(--transition-spring);
    height: 100%;
}

.kb-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 70, 229, 0.2);
}

.kb-cat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(79, 70, 229, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 16px;
    transition: all var(--transition-spring);
}

.kb-cat-card:hover .kb-cat-icon {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.1);
}

/* =============================================
   CAREER CARDS
   ============================================= */

.job-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 28px 32px;
    border: 1px solid var(--gray-100);
    transition: all var(--transition-spring);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 70, 229, 0.2);
}

.job-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    background: rgba(79, 70, 229, 0.08);
    color: var(--accent);
    border: 1px solid rgba(79, 70, 229, 0.2);
    margin-bottom: 10px;
}

.job-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
    transition: color var(--transition-base);
}

.job-card:hover .job-title {
    color: var(--accent);
}

.job-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.job-meta-item i {
    color: var(--accent);
    font-size: 0.8rem;
}

/* =============================================
   TEAM MEMBERS
   ============================================= */

.team-card {
    text-align: center;
    transition: all var(--transition-spring);
}

.team-photo-wrap {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid transparent;
    background: var(--gradient-accent);
    padding: 3px;
    transition: all var(--transition-spring);
}

.team-card:hover .team-photo-wrap {
    transform: scale(1.05);
    box-shadow: var(--shadow-accent);
}

.team-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: var(--gray-200);
}

.team-photo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--gray-500);
}

.team-name {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.team-position {
    color: var(--accent);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.team-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all var(--transition-base);
}

.team-social a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

/* =============================================
   CASE STUDY CARDS
   ============================================= */

.case-study-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: all var(--transition-spring);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.case-study-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.case-study-thumbnail {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.case-study-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.case-study-card:hover .case-study-thumbnail img {
    transform: scale(1.08);
}

.case-study-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-study-industry {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    margin-bottom: 14px;
}

.case-study-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.metric-item {
    text-align: center;
}

.metric-value {
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--accent);
    display: block;
}

.metric-label {
    font-size: 0.65rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =============================================
   WORDPRESS PAGE
   ============================================= */

.wp-service-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--gray-100);
    transition: all var(--transition-spring);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.wp-service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.04);
    transition: all var(--transition-slow);
}

.wp-service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.wp-service-card:hover::before {
    transform: scale(3);
    background: rgba(79, 70, 229, 0.03);
}

/* =============================================
   BREADCRUMB
   ============================================= */

.breadcrumb-section {
    background: var(--gradient-primary);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.breadcrumb-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(79, 70, 229, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 70, 229, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
}

.breadcrumb-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
}

.breadcrumb-nav {
    position: relative;
}

.breadcrumb-nav .breadcrumb-item {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-nav .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-base);
}

.breadcrumb-nav .breadcrumb-item a:hover {
    color: var(--accent-light);
}

.breadcrumb-nav .breadcrumb-item.active {
    color: var(--accent-light);
}

.breadcrumb-nav .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3);
}

/* =============================================
   PAGINATION
   ============================================= */

.pagination-custom {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 48px;
}

.pagination-custom .page-item .page-link {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--gray-200);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: var(--text-sm);
    text-decoration: none;
    transition: all var(--transition-base);
}

.pagination-custom .page-item.active .page-link,
.pagination-custom .page-item .page-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 991.98px) {
    :root {
        --section-py: 70px;
    }

    .hero-visual {
        display: none;
    }

    .process-line {
        display: none;
    }

    .pricing-card.featured {
        transform: none;
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 3.5rem);
    }
}

@media (max-width: 767.98px) {
    :root {
        --section-py: 56px;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-stat-number {
        font-size: 1.75rem;
    }

    .contact-form-card {
        padding: 24px;
    }

    .chat-widget {
        bottom: 16px;
        right: 16px;
    }

    .scroll-top-btn {
        right: 16px;
        bottom: 88px;
    }
}

/* =============================================
   AOS CUSTOM OVERRIDES
   ============================================= */

[data-aos] {
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============================================
   UTILITY CLASSES
   ============================================= */

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
}

.divider-gradient {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 20px 0;
}

.badge-accent {
    background: rgba(79, 70, 229, 0.1);
    color: var(--accent);
    border: 1px solid rgba(79, 70, 229, 0.2);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
}

.tag-item {
    display: inline-block;
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 500;
    transition: all var(--transition-base);
}

.tag-item:hover {
    background: var(--accent);
    color: var(--white);
}

.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overflow-hidden {
    overflow: hidden;
}

.z-1 {
    position: relative;
    z-index: 1;
}