/* ================== BASE ================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

/* Dark Mode */
body.dark-mode {
    background-color: #0f172a;
    color: #e2e8f0;
}

body.dark-mode .bray-page {
    background:
        radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.1) 0, transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.12) 0, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(99, 102, 241, 0.1) 0, transparent 50%);
}

/* Scope */
.bray-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.05) 0, transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.08) 0, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(99, 102, 241, 0.05) 0, transparent 50%);
}

/* Typography helpers */
.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
    font-weight: 700;
    color: #2563eb;
    margin: 0 0 12px;
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    padding: 6px 12px;
    border-radius: 99px;
}

.section-title {
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 20px;
    color: #0f172a;
    letter-spacing: -0.02em;
}

body.dark-mode .section-title {
    color: #f1f5f9;
}

.section-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #475569;
    max-width: 700px;
    margin-bottom: 30px;
}

body.dark-mode .section-lead {
    color: #cbd5e1;
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* ================== NAV ================== */
.bray-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

body.dark-mode .bray-nav {
    background: rgba(15, 23, 42, 0.85);
    border-bottom: 1px solid rgba(71, 85, 105, 0.5);
}

.bray-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

body.dark-mode .bray-nav.scrolled {
    background: rgba(15, 23, 42, 0.95);
}

.bray-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bray-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.bray-logo-img {
    max-height: 48px;
    width: auto;
}

.bray-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 0.95rem;
}

.bray-nav-links a {
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

body.dark-mode .bray-nav-links a {
    color: #cbd5e1;
}

.bray-nav-links a:hover {
    color: #2563eb;
}

.bray-nav-links .nav-cta {
    padding: 10px 20px;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}

body.dark-mode .bray-nav-links .nav-cta {
    background: #3b82f6;
}

.bray-nav-links .nav-cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #64748b;
    transition: transform 0.3s;
}

.dark-mode-toggle:hover {
    transform: rotate(20deg);
}

/* ================== SECTIONS ================== */
.bray-section {
    padding: 80px 0;
    position: relative;
}

body.dark-mode .bray-section {
    background: transparent !important;
}

.bray-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.bray-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.bray-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

@media (max-width: 980px) {
    .bray-grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ================== HERO ================== */
.bray-hero {
    padding-top: 80px;
    padding-bottom: 100px;
    text-align: center;
}

.hero-highlight {
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 12px;
    background: #0f172a;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.4);
    text-decoration: none;
}

body.dark-mode .btn-primary {
    background: #3b82f6;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.5);
    background: #1e293b;
}

body.dark-mode .btn-primary:hover {
    background: #2563eb;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 12px;
    background: #fff;
    color: #0f172a;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

body.dark-mode .btn-secondary {
    background: #1e293b;
    color: #f1f5f9;
    border-color: #334155;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

body.dark-mode .btn-secondary:hover {
    background: #334155;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

/* ================== CARDS ================== */
.service-card {
    background: #fff;
    padding: 32px;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

body.dark-mode .service-card {
    background: #1e293b;
    border-color: #334155;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
}

body.dark-mode .service-icon {
    background: #1e3a8a;
    color: #60a5fa;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: #0f172a;
}

body.dark-mode .service-card h3 {
    color: #f1f5f9;
}

.service-card p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

body.dark-mode .service-card p {
    color: #cbd5e1;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}

.service-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #475569;
    font-size: 0.9rem;
}

body.dark-mode .service-list li {
    color: #94a3b8;
}

.service-list li::before {
    content: "•";
    color: #2563eb;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Floating Action Buttons */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cta-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.cta-whatsapp {
    background: #25d366;
}

.cta-phone {
    background: #4f46e5;
}

/* ================== TECH MARQUEE ================== */
.tech-stack-section {
    background: linear-gradient(to right, #f8fafc, #ffffff, #f8fafc);
    padding: 40px 0;
    overflow: hidden;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

body.dark-mode .tech-stack-section {
    background: linear-gradient(to right, #0b1120, #0f172a, #0b1120);
    border-color: #1e293b;
}

.tech-marquee {
    display: flex;
    gap: 48px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #334155;
    font-size: 1.1rem;
    white-space: nowrap;
}

body.dark-mode .tech-item {
    color: #cbd5e1;
}

.tech-item i {
    font-size: 1.5rem;
    color: #2563eb;
}

/* ================== TRUST BADGES ================== */
.trust-badges-wrapper {
    margin: 60px 0;
}

.trust-badge {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 16px 24px;
    border-radius: 100px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

body.dark-mode .trust-badge {
    background: #1e293b;
    border-color: #334155;
}

.trust-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

/* ================== REVEAL ANIMATIONS ================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* ================== INDUSTRIES GRID ================== */
.industries-section {
    padding: 100px 0;
    background: #f8fafc;
}

body.dark-mode .industries-section {
    background: #0b1120;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.industry-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

body.dark-mode .industry-card {
    background: #1e293b;
    border-color: #334155;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.industry-icon {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 16px;
    display: block;
}

.industry-title {
    font-weight: 600;
    color: #0f172a;
    font-size: 1.05rem;
}

.process-timeline {
    max-width: 1100px;
    margin: 80px auto 0;
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg width='1100' height='600' viewBox='0 0 1100 600' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M183 100 L 917 100 C 1017 100, 1017 350, 917 350 L 183 350 C 83 350, 83 600, 183 600 L 917 600' stroke='%23cbd5e1' stroke-width='3' stroke-dasharray='12 12' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center top 60px;
    background-size: 100% auto;
}

body.dark-mode .process-timeline {
    background-image: url("data:image/svg+xml,%3Csvg width='1100' height='600' viewBox='0 0 1100 600' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M183 100 L 917 100 C 1017 100, 1017 350, 917 350 L 183 350 C 83 350, 83 600, 183 600 L 917 600' stroke='%23334155' stroke-width='3' stroke-dasharray='12 12' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.process-step {
    background: #fff;
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

body.dark-mode .process-step {
    background: #1e293b;
    border-color: #334155;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.step-number {
    width: 70px;
    height: 70px;
    margin: -75px auto 24px;
    background: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
    border: 6px solid #fff;
    position: relative;
    z-index: 3;
}

body.dark-mode .step-number {
    border-color: #1e293b;
}

.process-step h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f172a;
}

body.dark-mode .process-step h4 {
    color: #f1f5f9;
}

.process-step p {
    color: #64748b;
    line-height: 1.6;
}

body.dark-mode .process-step p {
    color: #cbd5e1;
}

.support-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 8px 16px;
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ================== SUCCESS STORIES ================== */
.success-stories {
    padding: 100px 0;
    background: #f1f5f9;
}

body.dark-mode .success-stories {
    background: #0b1120;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.story-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

body.dark-mode .story-card {
    background: #1e293b;
    border-color: #334155;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.story-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.story-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
    letter-spacing: 0.05em;
}

.story-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #0f172a;
}

body.dark-mode .story-card h3 {
    color: #f1f5f9;
}

.story-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: auto;
}

body.dark-mode .story-card p {
    color: #cbd5e1;
}

.story-stat {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

body.dark-mode .story-stat {
    border-color: #334155;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.why-item {
    text-align: center;
    padding: 40px 32px;
    background: #fff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

body.dark-mode .why-item {
    background: #1e293b;
    border-color: #334155;
}

.why-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.why-item .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #4f46e5;
}

.why-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f172a;
}

body.dark-mode .why-item h4 {
    color: #f1f5f9;
}

.why-item p {
    color: #64748b;
    line-height: 1.6;
}

body.dark-mode .why-item p {
    color: #cbd5e1;
}

/* ================== PRICING CALCULATOR ================== */
.pricing-calculator {
    background: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%);
    padding: 80px 60px;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(79, 70, 229, 0.3);
    color: white;
    position: relative;
    overflow: hidden;
}

.pricing-calculator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.pricing-header {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
    z-index: 2;
}

.pricing-header h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.pricing-header p {
    opacity: 0.9;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.service-card-option {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 24px 16px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card-option.active {
    background: white;
    color: #4f46e5;
    border-color: white;
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-card-option i {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

.service-card-option .name {
    font-weight: 600;
    font-size: 0.9rem;
}

.timeline-slider {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.timeline-slider label {
    display: block;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 1.1rem;
}

.timeline-slider input[type="range"] {
    width: 100%;
    height: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    cursor: pointer;
}

.timeline-slider input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 32px;
    height: 32px;
    background: white;
    border: 4px solid #f59e0b;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.price-result {
    background: white;
    color: #0f172a;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    text-align: center;
}

body.dark-mode .price-result {
    background: #1e293b;
    color: #f1f5f9;
}

.price-result h3 {
    font-size: 3rem;
    font-weight: 800;
    margin: 16px 0;
    color: #4f46e5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.footer-brand h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 16px;
    color: #fff;
}

.footer-brand p {
    color: #94a3b8;
    line-height: 1.6;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 24px;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 32px;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* ================== ANIMATIONS ================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* ================== FLOATING CTA ================== */
.floating-cta {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.cta-btn:hover {
    transform: scale(1.1);
}

.cta-whatsapp {
    background: #25D366;
}

.cta-phone {
    background: #2563eb;
}

/* ================== TRUST BADGES ================== */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 48px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

body.dark-mode .trust-badge {
    background: #1e293b;
}

.trust-badge i {
    font-size: 2rem;
    color: #2563eb;
}

.trust-badge span {
    font-weight: 600;
    color: #0f172a;
}

body.dark-mode .trust-badge span {
    color: #f1f5f9;
}

/* ================== PORTFOLIO ================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.portfolio-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

body.dark-mode .portfolio-item {
    background: #1e293b;
}

.portfolio-item:hover {
    transform: translateY(-8px);
}

.portfolio-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.portfolio-content {
    padding: 24px;
}

.portfolio-content h3 {
    margin: 0 0 8px;
    color: #0f172a;
}

body.dark-mode .portfolio-content h3 {
    color: #f1f5f9;
}

.portfolio-content p {
    color: #64748b;
    margin: 0 0 16px;
}

body.dark-mode .portfolio-content p {
    color: #94a3b8;
}

.portfolio-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.portfolio-tag {
    padding: 4px 12px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
}

body.dark-mode .portfolio-tag {
    gap: 32px;
    margin-top: 48px;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

body.dark-mode .blog-card {
    background: #1e293b;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.blog-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #64748b;
}

body.dark-mode .blog-meta {
    color: #94a3b8;
}

.blog-content h3 {
    margin: 0 0 8px;
    color: #0f172a;
}

body.dark-mode .blog-content h3 {
    color: #f1f5f9;
}

.blog-content p {
    color: #64748b;
    line-height: 1.6;
}

body.dark-mode .blog-content p {
    color: #94a3b8;
}

/* ================== LAZY LOADING ================== */
img[data-src] {
    filter: blur(5px);
    transition: filter 0.3s;
}

img[data-src].loaded {
    filter: blur(0);
}

/* ================== UTILITIES ================== */
.w-100 {
    width: 100%;
}

/* ================== FINANCIAL ADVISORY SECTION ================== */
.financial-advisory-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

body.dark-mode .financial-advisory-section {
    background: linear-gradient(135deg, #0b1a2a 0%, #0f172a 100%);
}

.financial-card-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-top: 48px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.financial-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.1);
    border: 2px solid #bae6fd;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.financial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0ea5e9 0%, #0284c7 100%);
}

body.dark-mode .financial-card {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.financial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.2);
}

body.dark-mode .financial-card:hover {
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.3);
}

.financial-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.3);
}

.financial-icon i {
    font-size: 2.5rem;
    color: white;
}

.financial-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #0f172a;
}

body.dark-mode .financial-card h3 {
    color: #f1f5f9;
}

.financial-card p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 1rem;
}

body.dark-mode .financial-card p {
    color: #cbd5e1;
}

/* ================== AI SERVICES SHOWCASE ================== */
.ai-showcase-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.ai-showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.ai-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
    position: relative;
    z-index: 2;
}

.ai-feature-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.ai-feature-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.ai-feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.ai-feature-icon i {
    font-size: 2rem;
    color: white;
}

.ai-feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.ai-feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 16px;
}

.ai-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ai-feature-list li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.ai-feature-list li::before {
    content: '✓ ';
    color: #60a5fa;
    font-weight: bold;
    margin-right: 8px;
}

.ai-showcase-cta {
    text-align: center;
    margin-top: 48px;
    position: relative;
    z-index: 2;
}

.ai-showcase-cta .btn-primary {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    border: none;
    padding: 16px 40px;
    font-size: 1.1rem;
}

.ai-showcase-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(96, 165, 250, 0.4);
}

/* ================== PORTFOLIO SECTION ================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

@media (max-width: 968px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

.portfolio-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

body.dark-mode .portfolio-item {
    background: #1e293b;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.2);
}

.portfolio-image {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.portfolio-content {
    padding: 24px;
}

.portfolio-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f172a;
}

body.dark-mode .portfolio-content h4 {
    color: #f1f5f9;
}

.portfolio-content p {
    color: #64748b;
    margin-bottom: 16px;
    line-height: 1.6;
}

body.dark-mode .portfolio-content p {
    color: #cbd5e1;
}

.portfolio-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.portfolio-tags span {
    background: #ede9fe;
    color: #6d28d9;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 500;
}

body.dark-mode .portfolio-tags span {
    background: #312e81;
    color: #c4b5fd;
}

/* ================== BLOG SECTION ================== */
.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

body.dark-mode .blog-card {
    background: #1e293b;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-content {
    padding: 24px;
}

.blog-category {
    display: inline-block;
    background: #ede9fe;
    color: #6d28d9;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

body.dark-mode .blog-category {
    background: #312e81;
    color: #c4b5fd;
}

.blog-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f172a;
    line-height: 1.4;
}

body.dark-mode .blog-content h4 {
    color: #f1f5f9;
}

.blog-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
}

body.dark-mode .blog-content p {
    color: #cbd5e1;
}

.blog-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.blog-meta i {
    margin-right: 4px;
}

/* ================== TESTIMONIALS SECTION ================== */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

body.dark-mode .testimonials-section {
    background: linear-gradient(135deg, #1a1506 0%, #2d1f08 100%);
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

body.dark-mode .testimonial-card {
    background: #1e293b;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.testimonial-rating {
    color: #f59e0b;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.testimonial-text {
    color: #64748b;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 24px;
    font-style: italic;
}

body.dark-mode .testimonial-text {
    color: #cbd5e1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author strong {
    color: #0f172a;
    font-weight: 600;
}

body.dark-mode .testimonial-author strong {
    color: #f1f5f9;
}

.testimonial-author span {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ================== FAQ SECTION ================== */
.faq-section {
    padding: 100px 0;
    background: white;
}

body.dark-mode .faq-section {
    background: #0f172a;
}

/* ================== SERVICE CARDS WRAPPER ================== */
.service-cards-wrapper {
    overflow-x: auto;
    margin: 32px 0;
    padding: 12px 0;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.service-cards-wrapper::-webkit-scrollbar {
    height: 8px;
}

.service-cards-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.service-cards-wrapper::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.service-cards-wrapper::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.service-cards {
    display: flex;
    gap: 16px;
    min-width: min-content;
}

.service-card-option {
    flex: 0 0 auto;
    width: 160px;
    padding: 24px 16px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.dark-mode .service-card-option {
    background: #1e293b;
    border-color: #334155;
}

.service-card-option:hover {
    border-color: #4f46e5;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(79, 70, 229, 0.2);
}

.service-card-option.active {
    border-color: #4f46e5;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: white;
}

.service-card-option i {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

.service-card-option .name {
    font-weight: 600;
    font-size: 0.95rem;
}