body {
    background-color: #F5F5F3;
    color: #0A0A0A;
    -webkit-font-smoothing: antialiased;
    font-family: 'Poppins', sans-serif;
}
.editorial-line {
    height: 1px;
    background: linear-gradient(90deg, #E31E24 0%, transparent 100%);
}
h1, h2, h3 {
    letter-spacing: -0.02em;
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.25s; }
.stagger-4 { transition-delay: 0.35s; }
.stagger-5 { transition-delay: 0.45s; }
.stagger-6 { transition-delay: 0.55s; }

/* ===== HERO TEXT ANIMATION ===== */
.hero-text {
    opacity: 0;
    transform: translateY(30px);
    animation: heroSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}
.hero-sub {
    opacity: 0;
    transform: translateY(20px);
    animation: heroSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}
.hero-cta {
    opacity: 0;
    transform: translateY(20px);
    animation: heroSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}
@keyframes heroSlideUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ===== LINE DRAW ANIMATION ===== */
.line-draw {
    width: 0;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.line-draw.visible {
    width: 80px;
}

/* ===== CARD HOVER EFFECTS ===== */
.card-hover {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s ease;
}
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* ===== FAQ ANIMATIONS ===== */
.faq-answer-v2 {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
    padding-bottom: 0;
}
.faq-answer-v2.open {
    max-height: 500px;
    padding-bottom: 2rem;
}
.faq-icon-v2 {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
}
.faq-icon-v2.open { transform: rotate(45deg); }

/* ===== SMOOTH SCROLL ===== */
html { scroll-behavior: smooth; }

/* ===== MOBILE SPACING OVERRIDES ===== */
@media (max-width: 640px) {
    .mobile-stack { gap: 2rem !important; }
    .mobile-pad { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
    .mobile-text-sm { font-size: 1rem !important; line-height: 1.6 !important; }
    .mobile-h1 { font-size: 2.5rem !important; line-height: 1.05 !important; }
}

/* ===== NAVBAR SCROLL EFFECT ===== */
.nav-scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

/* ===== OVERFLOW CONTROL ===== */
body { overflow-x: hidden; }

/* ===== PAGE LOADER ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #0A0A0A;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}
.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #F5F5F3;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(10px);
    animation: loaderFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
.loader-logo span {
    font-weight: 300;
    opacity: 0.5;
}
.loader-bar-track {
    width: 200px;
    height: 2px;
    background: rgba(245, 245, 243, 0.1);
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    animation: loaderFadeIn 0.4s ease 0.2s forwards;
}
.loader-bar {
    height: 100%;
    width: 0%;
    background: #E31E24;
    border-radius: 2px;
    animation: loaderProgress 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}
@keyframes loaderProgress {
    0% { width: 0%; }
    40% { width: 60%; }
    80% { width: 90%; }
    100% { width: 100%; }
}
@keyframes loaderFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* ===== ENHANCED ELEMENT ANIMATIONS ===== */
.anim-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.anim-fade.visible { opacity: 1; transform: translateY(0); }

.anim-slide-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.anim-slide-left.visible { opacity: 1; transform: translateX(0); }

.anim-slide-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.anim-slide-right.visible { opacity: 1; transform: translateX(0); }

.anim-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.anim-scale.visible { opacity: 1; transform: scale(1); }

.anim-blur {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.anim-blur.visible { opacity: 1; filter: blur(0); transform: translateY(0); }

/* Delay utilities */
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.4s; }
.delay-6 { transition-delay: 0.48s; }
.delay-7 { transition-delay: 0.56s; }
.delay-8 { transition-delay: 0.64s; }

/* ===== ENHANCED CARD INTERACTIONS ===== */
.card-hover {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.1);
}

/* ===== TEXT HIGHLIGHT ON SCROLL ===== */
.text-reveal {
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-image: linear-gradient(transparent 60%, rgba(227, 30, 36, 0.08) 60%);
    transition: background-size 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.text-reveal.visible {
    background-size: 100% 100%;
}

/* ===== EDITORIAL LINE DRAW ===== */
.editorial-line-anim {
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #E31E24 0%, transparent 100%);
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.editorial-line-anim.visible {
    width: 80px;
}

/* ===== COUNTER NUMBER ROLL ===== */
.num-roll {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.num-roll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== QUOTE MARK ANIMATION ===== */
.quote-mark {
    display: inline-block;
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.quote-mark.visible {
    opacity: 0.15;
    transform: scale(1) rotate(0deg);
}

/* ===== BORDER DRAW ===== */
.border-draw {
    position: relative;
}
.border-draw::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #E31E24;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.border-draw.visible::after {
    width: 100%;
}

/* Navbar Hamburger X Toggle */
.mobile-hamburger.menu-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.mobile-hamburger.menu-open span:nth-child(2) { opacity: 0; }
.mobile-hamburger.menu-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ===== FAQ STYLES ===== */
.faq-item {
    border-bottom: 1px solid rgba(10, 10, 10, 0.1);
}

.faq-toggle {
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.faq-toggle:hover {
    color: #E31E24;
}

.faq-icon {
    transition: transform 0.3s ease;
    transform-origin: center center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-item.active .faq-icon,
.faq-open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding-bottom: 1.5rem;
    color: rgba(10, 10, 10, 0.6);
    line-height: 1.7;
    font-size: 1.0625rem;
    font-weight: 300;
}

.faq-item.active .faq-answer,
.faq-open .faq-answer {
    display: block;
}

/* V1 button style (growth-plans, contact) */
.faq-item .faq-toggle {
    width: 100%;
    padding: 1.5rem 0;
    text-align: left;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 500;
    color: #0A0A0A;
    transition: color 0.3s ease;
}

.faq-item .faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E31E24;
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.comparison-table thead {
    background-color: #0A0A0A;
    color: #F5F5F3;
}

.comparison-table th {
    padding: 1.25rem 1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.comparison-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(10, 10, 10, 0.05);
    font-size: 0.9375rem;
    vertical-align: middle;
}

.comparison-table td:first-child {
    font-weight: 500;
    min-width: 160px;
}

.comparison-table tbody tr:nth-child(odd) {
    background-color: #F5F5F3;
}

.comparison-table tbody tr:nth-child(even) {
    background-color: white;
}

.comparison-table .checkmark {
    color: #E31E24;
    font-weight: 700;
    font-size: 1.25rem;
}

.comparison-table .unavailable {
    color: #6B7280;
    opacity: 0.4;
}

/* Mobile table scroll hint */
@media (max-width: 640px) {
    .comparison-table th {
        padding: 1rem 0.75rem;
        font-size: 0.625rem;
    }
    .comparison-table td {
        padding: 1rem 0.75rem;
        font-size: 0.8125rem;
    }
    .comparison-table td:first-child {
        min-width: 120px;
    }
}

/* ===== PROCESS STEP CONNECTOR LINE ===== */
.process-step {
    position: relative;
}
.process-step::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background: #E31E24;
    transition: height 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.process-step.visible::before {
    height: 100%;
}

/* ===== STAT NUMBER ===== */
.stat-number {
    display: inline-block;
}

/* ===== BOUNCE ANIMATION (WhatsApp CTA) ===== */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25%); }
}

/* ===== BLOG CONTENT TYPOGRAPHY ===== */
/* Prevent animation engine from hiding blog content */
.blog-content,
.blog-content > *,
.blog-content div,
.blog-content h2,
.blog-content h3,
.blog-content p,
.blog-content ul,
.blog-content ol,
.blog-content table,
.blog-content blockquote,
.blog-content a {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    visibility: visible !important;
}

section:has(.blog-content) {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.blog-content {
    font-family: 'Poppins', sans-serif;
    color: #0A0A0A;
    line-height: 1.8;
    word-wrap: break-word;
}

.blog-content h2 {
    font-size: 2.25rem;
    font-weight: 600;
    margin-top: 4rem;
    margin-bottom: 1.75rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #0A0A0A;
}

.blog-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: #0A0A0A;
}

.blog-content p {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.85;
    margin-bottom: 2rem;
    color: rgba(10, 10, 10, 0.85);
}

.blog-content ul, .blog-content ol {
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.blog-content ul {
    list-style-type: none;
}

.blog-content ul li {
    position: relative;
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.85;
    margin-bottom: 1rem;
    color: rgba(10, 10, 10, 0.85);
    padding-left: 1.25rem;
}

.blog-content ul li::before {
    content: '\2022';
    color: #E31E24;
    position: absolute;
    left: -0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.85;
    top: 0;
}

.blog-content ol {
    list-style-type: decimal;
    list-style-position: outside;
}

.blog-content ol li {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.85;
    margin-bottom: 1rem;
    color: rgba(10, 10, 10, 0.85);
    padding-left: 0.75rem;
}

.blog-content strong {
    font-weight: 600;
    color: #0A0A0A;
}

.blog-content blockquote {
    border-left: 4px solid #E31E24;
    padding-left: 2rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    font-size: 1.5rem;
    font-weight: 500;
    font-style: italic;
    color: rgba(10, 10, 10, 0.95);
    line-height: 1.6;
    background: rgba(227, 30, 36, 0.02);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    padding-right: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.blog-content a {
    color: #E31E24;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(227, 30, 36, 0.3);
    transition: all 0.3s ease;
}

.blog-content a:hover {
    border-bottom-color: #E31E24;
    background-color: rgba(227, 30, 36, 0.05);
}

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

.blog-content th, .blog-content td {
    border: 1px solid rgba(0,0,0,0.1);
    padding: 1rem 1.25rem;
    text-align: left;
}

.blog-content th {
    background-color: rgba(10, 10, 10, 0.03);
    font-weight: 600;
    color: #0A0A0A;
}

.blog-content tr:nth-child(even) {
    background-color: rgba(10, 10, 10, 0.01);
}

.blog-content .bg-brand-obsidian p,
.blog-content .bg-brand-obsidian ul li,
.blog-content .bg-brand-obsidian ol li {
    color: rgba(245, 245, 243, 0.9) !important;
}

.blog-content .bg-brand-obsidian strong {
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .blog-content h2 { font-size: 1.875rem; margin-top: 3rem; margin-bottom: 1.5rem; line-height: 1.25; }
    .blog-content h3 { font-size: 1.375rem; margin-top: 2.25rem; margin-bottom: 1.25rem; line-height: 1.4; }
    .blog-content p { font-size: 1.0625rem; margin-bottom: 1.75rem; line-height: 1.75; }
    .blog-content ul li, .blog-content ol li { font-size: 1.0625rem; line-height: 1.75; margin-bottom: 1.25rem; }
    .blog-content blockquote { font-size: 1.25rem; padding-left: 1.25rem; margin-top: 2.5rem; margin-bottom: 2.5rem; }
    .blog-content th, .blog-content td { padding: 0.75rem 1rem; font-size: 0.95rem; }
}

/* ===== CONTACT FORM STYLES ===== */
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0A0A0A;
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    color: #0A0A0A;
    background-color: #F5F5F3;
    border: 1px solid rgba(10, 10, 10, 0.12);
    border-radius: 0;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #E31E24;
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.08);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(10, 10, 10, 0.35);
    font-weight: 300;
}

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230A0A0A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 0.875rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #ffffff;
    background-color: #E31E24;
    border: 2px solid #E31E24;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-submit:hover {
    background-color: #0A0A0A;
    border-color: #0A0A0A;
    color: #ffffff;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== SERVICE GRID (Contact Page) ===== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.service-card {
    display: block;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(245, 245, 243, 0.12);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: #F5F5F3;
    letter-spacing: -0.01em;
    margin: 0;
}

.service-card:hover {
    background: rgba(227, 30, 36, 0.08);
    border-color: #E31E24;
    transform: translateY(-4px);
}

.service-card:hover h3 {
    color: #E31E24;
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .service-card {
        padding: 1.5rem 1rem;
    }
    .service-card h3 {
        font-size: 0.9375rem;
    }
}

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

/* ===== CONTACT PAGE FAQ (faq-header/faq-content pattern) ===== */
.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    font-size: 1.25rem;
    font-weight: 500;
    color: #0A0A0A;
    transition: color 0.3s ease;
}

.faq-header:hover {
    color: #E31E24;
}

.faq-header .faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #E31E24;
    transition: transform 0.3s ease;
    transform-origin: center center;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.faq-item.active .faq-header .faq-toggle {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
    padding-bottom: 0;
}

.faq-item.active .faq-content {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

/* ===== STRICT MOBILE OVERFLOW OVERRIDE ===== */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
}
