/* ======================================================
   LAITIL - Design System & Global Styles
   ====================================================== */

/* --- CSS Custom Properties --- */
:root {
    /* Light Mode (Default) - More Professional & Humanistic */
    --primary: #5b4fb9;
    --primary-light: #8b7dd4;
    --primary-dark: #3d338a;
    --secondary: #18998a;
    --secondary-light: #4ab3a4;
    --accent: #d97a8f;
    --accent-alt: #e8956b;

    /* Comprehensive Neutral Gray Scale */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --bg-body: #fafbfc;
    --bg-card: #ffffff;
    --bg-navbar: rgba(250, 251, 252, 0.95);
    --bg-footer: #f9fafb;
    --bg-cta: #f3f4f6;
    --bg-input: #ffffff;
    --bg-section-alt: #f9fafb;
    --bg-section-dark: #f3f4f6;

    --dark-900: #0f1419;
    --dark-800: #1a1f2e;
    --dark-700: #252d3d;
    --dark-600: #3a4556;
    --dark-500: #4f5a6f;

    --light-100: #f9fafb;
    --light-200: #f3f4f6;
    --light-300: #e5e7eb;
    --light-400: #d1d5db;

    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-on-dark: #f3f4f6;

    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark-900) 0%, var(--dark-700) 100%);
    --gradient-section: linear-gradient(135deg, #fafbfc 0%, #f3f4f6 100%);
    --gradient-card: linear-gradient(135deg, rgba(91, 79, 185, 0.03) 0%, rgba(24, 153, 138, 0.03) 100%);
    --gradient-hero: linear-gradient(160deg, #f9fafb 0%, #ffffff 100%);

    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: #e5e7eb;
    --glass-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 8px 24px rgba(91, 79, 185, 0.12);

    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --font-logo: 'Hina Mincho', serif;

    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-height: 80px;
}

[data-theme="dark"] {
    --bg-body: #0f1419;
    --bg-card: #1a1f2e;
    --bg-navbar: rgba(15, 20, 25, 0.95);
    --bg-footer: #0f1419;
    --bg-cta: #1a1f2e;
    --bg-input: rgba(255, 255, 255, 0.08);
    --bg-section-alt: #1a1f2e;
    --bg-section-dark: #252d3d;

    --text-primary: #f3f4f6;
    --text-secondary: #d1d5db;

    --gradient-hero: linear-gradient(160deg, #0f1419 0%, #1a2534 40%, #0f1f2e 70%, #0f1419 100%);
    --gradient-section: linear-gradient(135deg, #0f1419 0%, #1a1f2e 100%);

    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: auto;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--transition-base), color var(--transition-base);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.3px;
}

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

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

::selection {
    background: var(--primary);
    color: #fff;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-900);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-600);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}


/* --- Vue v-cloak --- */
[v-cloak] {
    display: none !important;
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    border: 2px solid var(--primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: visibility 0.6s, opacity 0.6s;
}

[data-theme="dark"] #preloader {
    border-color: var(--primary);
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    width: 200px;
}

.loader-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    animation: loaderPulse 2s infinite ease-in-out;
}

.loader-bar {
    width: 100%;
    height: 3px;
    background: #d1d5db;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

[data-theme="dark"] .loader-bar {
    background: #4b5563;
}

.loader-progress {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    animation: loaderSlide 2s infinite ease-in-out;
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

@keyframes loaderSlide {
    0% { left: -100%; }
    50% { left: 0%; }
    100% { left: 100%; }
}



/* ======================================================
   NAVBAR
   ====================================================== */
.navbar-laitil {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    padding: 0 2rem;
    transition: background var(--transition-base), box-shadow var(--transition-base);
    background: transparent;
}

.navbar-laitil.scrolled {
    background: var(--bg-navbar);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--gray-200);
    color: var(--text-primary);
    cursor: pointer;
    margin: 0 15px;
    transition: all var(--transition-base);
}

.theme-toggle:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-logo);
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity var(--transition-fast);
    letter-spacing: 1px;
    color: var(--text-primary);
}

.brand-icon {
    width: 32px;
    height: 32px;
}

.nav-brand:hover {
    opacity: 0.8;
}

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

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

.nav-link-item {
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link-item:hover {
    color: var(--text-primary);
    background: rgba(108, 92, 231, 0.1);
}

.nav-link-item.active {
    color: var(--primary-light);
    background: rgba(108, 92, 231, 0.15);
}

.nav-link-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.nav-cta {
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    background: var(--gradient-primary);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(108, 92, 231, 0.5);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

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

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

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

/* Mobile Menu */
.nav-mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-navbar);
    backdrop-filter: blur(20px);
    padding: 2rem;
    z-index: 1049;
    flex-direction: column;
    gap: 8px;
}

.nav-mobile-menu.show {
    display: flex;
}

.nav-mobile-link {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.nav-mobile-link:hover,
.nav-mobile-link.active {
    color: var(--text-primary);
    background: rgba(108, 92, 231, 0.1);
}

@media (max-width: 991px) {
    .nav-links,
    .nav-cta {
        display: none !important;
    }

    .nav-toggle {
        display: flex;
    }
}


/* ======================================================
   HERO SECTION
   ====================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    padding: calc(var(--nav-height) + 2rem) 0 4rem;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(108, 92, 231, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 92, 231, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

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

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: 10%;
    right: 15%;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: 15%;
    left: 10%;
    animation-delay: 4s;
}

.hero-orb-3 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    animation-delay: 2s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
    background: rgba(91, 79, 185, 0.08);
    border: 1px solid rgba(91, 79, 185, 0.2);
    margin-bottom: 1.5rem;
}

.hero-badge i {
    font-size: 0.75rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

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

.hero-subtitle {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

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

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--glass-border);
}

.hero-stat h3 {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

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

.hero-visual-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(20px);
    box-shadow: var(--glass-shadow);
    width: 100%;
    max-width: 480px;
}

.hero-card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 1.5rem;
}

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

.hero-card-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-code-line {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

.hero-code-line .keyword { color: var(--primary-light); }
.hero-code-line .string { color: var(--secondary); }
.hero-code-line .method { color: var(--accent); }
.hero-code-line .comment { color: var(--dark-500); }

.hero-floating-badge {
    position: absolute;
    padding: 12px 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    animation: floatBadge 4s ease-in-out infinite;
    white-space: nowrap;
}

.hero-floating-badge.badge-1 {
    top: 5%;
    right: -10%;
    animation-delay: 0s;
}

.hero-floating-badge.badge-2 {
    bottom: 10%;
    left: -10%;
    animation-delay: 2s;
}

.hero-floating-badge i {
    font-size: 1.2rem;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}


/* ======================================================
   BUTTONS
   ====================================================== */
.btn-primary-gradient {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #fff;
    background: var(--gradient-primary);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(91, 79, 185, 0.2);
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(91, 79, 185, 0.3);
    color: #fff;
}

.btn-outline-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--gray-300);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-outline-glow:hover {
    border-color: var(--primary);
    background: rgba(91, 79, 185, 0.05);
    transform: translateY(-2px);
    color: var(--primary);
}


/* ======================================================
   SECTION COMMONS
   ====================================================== */
.section-padding {
    padding: 6rem 0;
}

.section-dark {
    background: var(--bg-section-alt);
}

.section-darker {
    background: var(--bg-section-dark);
}

.section-gradient {
    background: var(--gradient-section);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.3px;
    color: var(--primary);
    background: rgba(91, 79, 185, 0.08);
    border: 1px solid rgba(91, 79, 185, 0.2);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}


/* ======================================================
   FEATURE / SOFTWARE CARDS
   ====================================================== */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-base);
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
}

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

.feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--gray-300);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.05);
}


/* ======================================================
   PRICING CARDS
   ====================================================== */
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-base);
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
    text-align: center;
}

.pricing-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.featured-card {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-glow);
    position: relative;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 30px 30px 0;
    border-color: transparent var(--primary) transparent transparent;
}

.featured-card::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 6px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--primary);
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    background: rgba(91, 79, 185, 0.08);
    color: var(--primary);
    border: 1px solid rgba(91, 79, 185, 0.15);
}

.feature-icon.icon-secondary {
    color: var(--secondary);
    background: rgba(24, 153, 138, 0.08);
    border-color: rgba(24, 153, 138, 0.15);
}

.feature-icon.icon-accent {
    color: var(--accent);
    background: rgba(217, 122, 143, 0.08);
    border-color: rgba(217, 122, 143, 0.15);
}

.feature-icon.icon-orange {
    color: var(--accent-alt);
    background: rgba(232, 149, 107, 0.08);
    border-color: rgba(232, 149, 107, 0.15);
}

.feature-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-tag {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: var(--radius-lg);
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 1rem;
    background: rgba(91, 79, 185, 0.08);
    color: var(--primary);
    border: 1px solid rgba(108, 92, 231, 0.15);
}


/* ======================================================
   SERVICE CARDS
   ====================================================== */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all var(--transition-base);
    height: 100%;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
}

.service-card:hover {
    transform: translateY(-3px);
    background: var(--bg-card);
    border-color: var(--gray-300);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.05);
}

.service-icon-lg {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(91, 79, 185, 0.2);
}

.service-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.service-card p {
     font-size: 0.9rem;
     color: var(--text-secondary);
     line-height: 1.7;
}


/* ======================================================
   SERVICE SHOWCASE CARDS
   ====================================================== */
.service-showcase-card {
     background: var(--bg-card);
     border: 1px solid var(--gray-200);
     border-radius: var(--radius-lg);
     overflow: hidden;
     transition: all var(--transition-base);
     height: 100%;
     box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.service-showcase-card:hover {
     transform: translateY(-3px);
     border-color: var(--gray-300);
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-showcase-img {
     width: 100%;
     height: 240px;
     overflow: hidden;
     position: relative;
     background: var(--gray-200);
}

.service-img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform var(--transition-base);
}

.service-showcase-card:hover .service-img {
     transform: scale(1.08);
}

.service-showcase-overlay {
     position: absolute;
     inset: 0;
     background: linear-gradient(transparent 30%, rgba(15, 20, 25, 0.7) 100%);
     display: flex;
     align-items: flex-end;
     justify-content: center;
     padding-bottom: 1rem;
     opacity: 0;
     transition: opacity var(--transition-base);
}

.service-showcase-card:hover .service-showcase-overlay {
     opacity: 1;
}

.service-overlay-badge {
     display: flex;
     align-items: center;
     gap: 6px;
     background: rgba(255, 255, 255, 0.95);
     color: var(--primary);
     padding: 8px 16px;
     border-radius: 20px;
     font-size: 0.85rem;
     font-weight: 600;
}

.service-showcase-body {
     padding: 1.5rem 2rem 2rem;
}

.service-showcase-body .service-icon {
     width: 50px;
     height: 50px;
     border-radius: var(--radius-lg);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.5rem;
     margin-bottom: 1rem;
     background: var(--gradient-primary);
     color: #fff;
     box-shadow: 0 4px 12px rgba(91, 79, 185, 0.2);
}

.service-showcase-body h4 {
     font-size: 1.15rem;
     font-weight: 700;
     margin-bottom: 0.5rem;
}

.service-showcase-body p {
     font-size: 0.88rem;
     color: var(--text-secondary);
     line-height: 1.7;
}


/* ======================================================
   WHY CHOOSE US
   ====================================================== */
.why-card {
    display: flex;
    gap: 1.2rem;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.why-card:hover {
    background: var(--gray-100);
}

.why-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: var(--radius-sm);
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.why-card h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.why-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0;
}


/* ======================================================
   PORTFOLIO
   ====================================================== */
.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    height: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.portfolio-card:hover {
    transform: translateY(-3px);
    border-color: var(--gray-300);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.portfolio-img-wrap {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    background: var(--gray-200);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 30%, rgba(15, 20, 25, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1rem;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.portfolio-body {
    padding: 1.5rem 2rem 2rem;
}

.portfolio-body h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.portfolio-body p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.portfolio-metric {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    background: rgba(0, 206, 201, 0.1);
    border: 1px solid rgba(0, 206, 201, 0.15);
    margin-top: 1rem;
}


/* ======================================================
   ABOUT PAGE
   ====================================================== */
.about-timeline {
    position: relative;
    padding-left: 3rem;
}

.about-timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 1px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-dot {
    position: absolute;
    left: -3rem;
    top: 4px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--dark-800);
    border: 3px solid var(--primary);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-dot::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-light);
}

.timeline-item h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.timeline-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-base);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: rgba(108, 92, 231, 0.2);
}

.value-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    background: var(--gradient-primary);
    color: #fff;
}

.value-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.value-card p {
     font-size: 0.88rem;
     color: var(--text-secondary);
}


/* ======================================================
   TEAM & CULTURE
   ====================================================== */
.team-card {
     background: var(--bg-card);
     border: 1px solid var(--gray-200);
     border-radius: var(--radius-lg);
     overflow: hidden;
     transition: all var(--transition-base);
     height: 100%;
     box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.team-card:hover {
     transform: translateY(-3px);
     border-color: var(--gray-300);
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-img-wrap {
     width: 100%;
     height: 280px;
     overflow: hidden;
     position: relative;
     background: var(--gray-200);
}

.team-img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform var(--transition-base);
}

.team-card:hover .team-img {
     transform: scale(1.08);
}

.team-body {
     padding: 1.5rem 1.5rem 2rem;
}

.team-body h5 {
     font-size: 1.1rem;
     font-weight: 700;
     margin-bottom: 0.25rem;
}

.team-role {
     font-size: 0.85rem;
     color: var(--primary);
     font-weight: 600;
     margin-bottom: 0.75rem;
}

.team-desc {
     font-size: 0.85rem;
     color: var(--text-secondary);
     line-height: 1.6;
     margin: 0;
}

.culture-image-grid {
     display: grid;
     grid-template-columns: 2fr 1fr;
     grid-template-rows: repeat(2, 1fr);
     gap: 1rem;
}

.culture-img-large {
     grid-column: span 2;
     grid-row: span 1;
     border-radius: var(--radius-lg);
     overflow: hidden;
     height: 300px;
}

.culture-img-small {
     border-radius: var(--radius-lg);
     overflow: hidden;
     height: 140px;
}

.culture-img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform var(--transition-base);
}

.culture-image-grid:hover .culture-img {
     transform: scale(1.05);
}

.culture-values {
     display: flex;
     flex-direction: column;
     gap: 1rem;
}

.culture-value {
     display: flex;
     align-items: center;
     gap: 0.75rem;
     font-size: 0.95rem;
     color: var(--text-primary);
}

.culture-value i {
     color: var(--primary);
     font-size: 1.2rem;
     flex-shrink: 0;
}


/* ======================================================
   CONTACT
   ====================================================== */
.contact-info-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: var(--gradient-card);
    color: var(--primary-light);
    border: 1px solid rgba(108, 92, 231, 0.15);
}

.contact-info-item h6 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.contact-info-item p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0;
}

.contact-info-item a {
    color: var(--primary-light);
}

.contact-info-item a:hover {
    color: var(--secondary);
}

.contact-form-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.form-floating-custom {
    margin-bottom: 1.2rem;
}

.form-floating-custom .form-control,
.form-floating-custom .form-select {
    background: var(--bg-input);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    padding: 12px 14px;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.form-floating-custom .form-control:focus,
.form-floating-custom .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(91, 79, 185, 0.1);
    background: var(--bg-input);
    color: var(--text-primary);
}

.form-floating-custom .form-control::placeholder {
    color: var(--text-secondary);
}

.form-floating-custom label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: block;
}

.form-floating-custom textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-fast);
}

.social-link:hover {
     color: #fff;
     background: var(--primary);
     border-color: var(--primary);
     transform: translateY(-2px);
}


/* ======================================================
   OFFICE SHOWCASE
   ====================================================== */
.office-showcase-grid {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     gap: 1rem;
     margin-top: 2rem;
}

.office-img-large {
     grid-column: span 2;
     grid-row: span 2;
     border-radius: var(--radius-lg);
     overflow: hidden;
     height: 100%;
     min-height: 400px;
}

.office-img-small {
     border-radius: var(--radius-lg);
     overflow: hidden;
     height: 190px;
}

.office-showcase-grid img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform var(--transition-base);
}

.office-showcase-grid:hover img {
     transform: scale(1.05);
}

@media (max-width: 768px) {
     .office-showcase-grid {
         grid-template-columns: repeat(2, 1fr);
         gap: 0.75rem;
     }
     
     .office-img-large {
         grid-column: span 2;
         grid-row: span 1;
         min-height: 200px;
     }
     
     .office-img-small {
         height: 150px;
     }
}

@media (max-width: 576px) {
     .office-showcase-grid {
         grid-template-columns: 1fr;
         gap: 0.5rem;
     }
     
     .office-img-large {
         grid-column: span 1;
         grid-row: span 1;
     }
}


/* ======================================================
   FOOTER
   ====================================================== */
.footer-main {
    background: var(--bg-footer);
    border-top: 1px solid var(--gray-200);
    padding: 5rem 0 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.footer-brand-icon {
    width: 32px;
    height: 32px;
}

.footer-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-logo);
    letter-spacing: 1px;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 320px;
    line-height: 1.8;
}

.footer-heading {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid var(--gray-200);
    padding-top: 2rem;
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}


/* ======================================================
   PAGE HEADER (INNER PAGES)
   ====================================================== */
.page-header {
    padding: calc(var(--nav-height) + 4rem) 0 4rem;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-header .hero-bg-grid {
    opacity: 0.5;
}

.page-header-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
}

.page-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.breadcrumb-nav a {
    color: var(--primary);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.breadcrumb-nav a:hover {
    color: var(--secondary);
}

.breadcrumb-sep {
    color: var(--dark-500);
}


/* ======================================================
   CTA SECTION
   ====================================================== */
.cta-section {
    padding: 6rem 0;
    background: var(--bg-cta);
    position: relative;
    overflow: hidden;
}

.cta-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(91, 79, 185, 0.2);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-card h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    letter-spacing: -0.3px;
}

.cta-card p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
}

.btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: var(--radius-xl);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    background: #fff;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    z-index: 1;
}

.btn-cta-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}


/* ======================================================
   BACK TO TOP
   ====================================================== */
.btn-back-top,
.whatsapp-float,
.ai-float {
    position: fixed;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1040;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-back-top {
    bottom: 2rem;
    background-color: #5b4fb9;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

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

.btn-back-top:hover {
    background-color: #4a3ea8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.whatsapp-float {
    bottom: 6rem;
    background-color: #25D366;
}

.whatsapp-float:hover {
    background-color: #1da853;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.ai-float {
    bottom: 10rem;
    background-color: #dc2626;
}

.ai-float:hover {
    background-color: #b91c1c;
}

.ai-float:hover {
    background-color: #4a3ea8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

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

.btn-back-top:hover {
    background-color: #4a3ea8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* ======================================================
   WHATSAPP FLOATING BUTTON
   ====================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1040;
    text-decoration: none;
    border: none;
}

.whatsapp-float:hover {
    background-color: #1da853;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
}
}

/* ======================================================
   AI CHAT ASSISTANT FLOATING BUTTON
   ====================================================== */
.ai-float {
    position: fixed;
    bottom: 10rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #5b4fb9;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1050;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.ai-float:hover {
    background: #4a3ea8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.ai-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(91, 79, 185, 0.5);
}

/* ======================================================
   AI CHAT POPUP
   ====================================================== */
.ai-popup {
    position: fixed;
    bottom: 11rem;
    right: 6rem;
    width: 320px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 1041;
    overflow: hidden;
    font-family: var(--font-primary);
}

.ai-popup-header {
    background: linear-gradient(135deg, #6C5CE7, #00CEC9);
    color: #fff;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.ai-popup-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

.ai-popup-body {
    height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.ai-popup-body::-webkit-scrollbar {
    width: 4px;
}

.ai-popup-body::-webkit-scrollbar-track {
    background: transparent;
}

.ai-popup-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

body.chat-hover {
    overflow: hidden !important;
}

.ai-message {
    background: linear-gradient(135deg, #5b4fb9, #18998a);
    color: #fff;
    padding: 10px 14px;
    border-radius: 12px 12px 12px 4px;
    margin-bottom: 8px;
    max-width: 85%;
    font-size: 0.9rem;
    word-wrap: break-word;
}

.ai-message.typing {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 60px;
}

.ai-message.typing span {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite ease-in-out;
}

.ai-message.typing span:nth-child(1) { animation-delay: 0s; }
.ai-message.typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-message.typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

.ai-user-message {
    background: #e5e7eb;
    color: #333;
    padding: 10px 14px;
    border-radius: 12px 12px 4px 12px;
    margin-bottom: 8px;
    margin-left: auto;
    max-width: 85%;
    font-size: 0.9rem;
    word-wrap: break-word;
}

.ai-popup-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #eee;
    background: #fff;
}

.ai-popup-input input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.9rem;
    outline: none;
}

.ai-popup-input input:focus {
    border-color: var(--primary);
}

.ai-popup-input button {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-left: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .ai-popup {
        right: 4rem;
        bottom: 9rem;
        width: calc(100vw - 5rem);
        max-width: 280px;
    }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
    background: #20BD5A;
}

@media (max-width: 768px) {
    .btn-back-top,
    .whatsapp-float,
    .ai-float {
        right: 1rem;
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    .btn-back-top {
        bottom: 1rem;
    }
    
    .whatsapp-float {
        bottom: 5rem;
    }
    
    .ai-float {
        bottom: 9rem;
    }
    
    .ai-popup {
        right: 4rem;
        bottom: 9rem;
        width: calc(100vw - 5rem);
        max-width: 280px;
    }
    
    .whatsapp-popup {
        display: none;
    }
}

.whatsapp-popup {
    position: fixed;
    bottom: 8rem;
    right: 6rem;
    background: #333;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    white-space: nowrap;
    z-index: 1039;
    opacity: 0;
    animation: fadeInOut 3s ease-in-out 1s forwards;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(10px); }
    15% { opacity: 1; transform: translateY(0); }
    85% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; }
}


/* ======================================================
   TECH STACK MARQUEE
   ====================================================== */
.marquee-wrap {
    overflow: hidden;
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(108, 92, 231, 0.02);
}

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

.marquee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.marquee-item i {
    font-size: 1.4rem;
    color: var(--primary-light);
}

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


/* ======================================================
   TESTIMONIALS
   ====================================================== */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: all var(--transition-base);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
}

.testimonial-card:hover {
    border-color: var(--gray-300);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 1rem;
    color: #ffeaa7;
    font-size: 0.9rem;
}

.testimonial-card blockquote {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

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

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

.testimonial-author h6 {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}


/* ======================================================
   PROCESS STEPS
   ====================================================== */
.process-step {
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

.process-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.2rem;
    box-shadow: 0 8px 24px rgba(108, 92, 231, 0.3);
}

.process-step h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.process-connector {
    position: absolute;
    top: 32px;
    right: -10%;
    width: 20%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
}

@media (max-width: 767px) {
    .process-connector {
        display: none;
    }
}


/* ======================================================
   ALERT / TOAST
   ====================================================== */
.toast-success {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 14px 28px;
    background: var(--secondary);
    color: var(--dark-900);
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 9999;
    opacity: 0;
    transition: all var(--transition-base);
    box-shadow: 0 8px 30px rgba(0, 206, 201, 0.3);
}

.toast-success.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}


/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 767px) {
    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .hero-visual {
        margin-top: 3rem;
    }

    .hero-floating-badge {
        display: none;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .cta-card {
        padding: 3rem 1.5rem;
    }

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

    .contact-form-card {
        padding: 1.5rem;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 2.2rem;
    }

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

    .hero-actions .btn-primary-gradient,
    .hero-actions .btn-outline-glow {
        width: 100%;
        justify-content: center;
    }

    .navbar-laitil {
        padding: 0 1rem;
    }
}

/* ======================================================
   SOFTWARE DETAIL
   ====================================================== */
.software-detail-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.software-detail-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.software-detail-features li i {
    color: var(--secondary);
    margin-top: 4px;
    font-size: 0.85rem;
}

.tech-badge {
     display: inline-flex;
     align-items: center;
     gap: 4px;
     padding: 4px 12px;
     border-radius: var(--radius-xl);
     font-size: 0.75rem;
     font-weight: 500;
     background: rgba(0, 206, 201, 0.08);
     color: var(--secondary);
     border: 1px solid rgba(0, 206, 201, 0.12);
     margin: 3px;
}


/* ======================================================
   SOFTWARE PRODUCT CARDS
   ====================================================== */
.software-product-card {
     background: var(--bg-card);
     border: 1px solid var(--gray-200);
     border-radius: var(--radius-lg);
     overflow: hidden;
     transition: all var(--transition-base);
     height: 100%;
     box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
     display: flex;
     flex-direction: column;
}

.software-product-card:hover {
     transform: translateY(-3px);
     border-color: var(--gray-300);
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.software-product-img {
     width: 100%;
     height: 200px;
     overflow: hidden;
     position: relative;
     background: var(--gray-200);
}

.product-img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform var(--transition-base);
}

.software-product-card:hover .product-img {
     transform: scale(1.08);
}

.software-product-body {
     padding: 2rem;
     flex-grow: 1;
     display: flex;
     flex-direction: column;
}

.software-product-body > *:last-child {
     margin-top: auto;
}


/* ======================================================
   TAB STYLE FOR SOFTWARE PAGE
   ====================================================== */
.software-tab-nav {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 6px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.software-tab-btn {
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.software-tab-btn:hover {
    color: var(--text-primary);
}

.software-tab-btn.active {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

/* ======================================================
   PROMOTIONAL BANNER
   ====================================================== */

.promo-banner {
    padding: 24px 0;
    background: linear-gradient(135deg, #6C5CE7 0%, #00CEC9 100%);
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.promo-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.promo-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.promo-banner-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 200px;
    color: #fff;
}

.promo-banner-left i {
    font-size: 1.8rem;
    animation: pulse-glow 2s ease-in-out infinite;
}

.promo-banner-left h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.promo-banner-left p {
    margin: 4px 0 0 0;
    font-size: 0.9rem;
    opacity: 0.95;
}

.promo-banner-middle {
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.promo-banner-right {
    display: flex;
    align-items: center;
}

.btn-promo {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-promo:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-promo i {
    font-size: 0.85rem;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 1;
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
    }
    50% {
        opacity: 0.8;
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.6));
    }
}

/* Responsive adjustments for promo banner */
@media (max-width: 768px) {
    .promo-banner {
        padding: 16px 0;
    }

    .promo-banner-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .promo-banner-left {
        flex-direction: column;
        justify-content: center;
        width: 100%;
    }

    .promo-banner-right {
        width: 100%;
        justify-content: center;
    }

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

/* ======================================================
   TRUST BADGES
   ====================================================== */

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

.trust-badge {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.trust-badge:hover {
    border-color: var(--gray-300);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.trust-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(91, 79, 185, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    margin: 0 auto 1rem;
}

.trust-badge h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.trust-badge p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}
