:root {
    --primary: #ec4d9e;
    --primary-light: #ff7ec2;
    --secondary: #ff6fc4;
    --accent: #b95de0;
    --dark: #1a0c2f;
    --darker: #120820;
    --light: #f8fafc;
    --gray: #64748b;
    --gradient: linear-gradient(135deg, #ec4d9e 0%, #b95de0 50%, #ff6fc4 100%);
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-bg-soft: rgba(255, 255, 255, 0.02);
    --card-border: rgba(255, 255, 255, 0.08);
    --nav-bg: rgba(18, 8, 32, 0.7);
    --nav-bg-scrolled: rgba(18, 8, 32, 0.95);
    --badge-bg: rgba(236, 77, 158, 0.1);
    --badge-border: rgba(236, 77, 158, 0.2);
    --badge-text: var(--primary-light);
}

/* ---- Light theme (toggled site-wide via .light-mode + softbuiss_theme key) ---- */
body.light-mode {
    --darker: #f4f4fb;          /* page background */
    --dark:   #ffffff;          /* footer / solid surfaces */
    --light:  #28163d;          /* primary text (deep purple) */
    --gray:   #5b5470;          /* muted text */
    --primary-light: #c4359a;   /* badges/labels readable on light */
    --card-bg: #ffffff;
    --card-bg-soft: #fbf7fc;    /* slightly tinted so it's distinct from --dark/footer white */
    --card-border: rgba(236, 77, 158, 0.14);
    --nav-bg: rgba(255, 255, 255, 0.82);
    --nav-bg-scrolled: rgba(255, 255, 255, 0.96);
    /* stronger, readable pill/badge styling for light backgrounds */
    --badge-bg: rgba(236, 77, 158, 0.12);
    --badge-border: rgba(236, 77, 158, 0.35);
    --badge-text: #c4359a;
}
body.light-mode #canvas-container { opacity: 0.45; }
body.light-mode .card-3d, body.light-mode .pillar-card, body.light-mode .service-item,
body.light-mode .pricing-card, body.light-mode .testimonial-card, body.light-mode .faq-item,
body.light-mode .cta-box { box-shadow: 0 4px 20px rgba(236,77,158,0.07); }

/* Theme toggle button (landing) */
.theme-toggle {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(236, 77, 158, 0.3);
    background: var(--card-bg);
    color: var(--light);
    cursor: pointer; font-size: 1rem;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all 0.25s ease;
}
.theme-toggle:hover { border-color: var(--primary); transform: rotate(-15deg); }

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--darker);
    color: var(--light);
    overflow-x: hidden;
}

#canvas-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    z-index: 0;
    pointer-events: none;
}

#bg-canvas { width: 100%; height: 100%; }

nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(20px);
    background: var(--nav-bg);
    border-bottom: 1px solid rgba(236, 77, 158, 0.1);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 0.8rem 5%;
    background: var(--nav-bg-scrolled);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--light);
    text-decoration: none;
}

.logo svg { width: 40px; height: 40px; border-radius: 10px; }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover { color: var(--light); }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; gap: 1rem; align-items: center; }

.btn {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(236, 77, 158, 0.3);
    color: var(--light);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(236, 77, 158, 0.1);
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(236, 77, 158, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(236, 77, 158, 0.6);
}

.btn-large { padding: 1rem 2.5rem; font-size: 1rem; }

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: normal;
    padding: 8rem 5% 4rem;
    z-index: 1;
    background-color: rgba(131,0,142,0.2);
}

body.light-mode .hero {
    background-color: rgba(236, 77, 158, 0.08);
}

.hero-content { text-align: left; max-width: 900px; }
.hero-image{
    margin-left: -200px;

}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: var(--badge-bg);
    border: 1px solid var(--badge-border);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--badge-text);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease;
}

.badge-dot {
    width: 8px; height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    /*margin: 0 auto 2.5rem;*/
        padding-bottom: 10px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: normal;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
    display: flex;
    /*justify-content: center;*/
    gap: 3rem;
    margin-top: 4rem;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat { text-align: center; }

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label { font-size: 0.85rem; color: var(--gray); margin-top: 0.25rem; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

section { position: relative; z-index: 1; padding: 6rem 5%; }

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--badge-bg);
    border: 1px solid var(--badge-border);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--badge-text);
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header p { color: var(--gray); font-size: 1.1rem; line-height: 1.7; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card-3d {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.card-3d::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.card-3d:hover {
    transform: translateY(-10px) rotateX(5deg);
    border-color: rgba(236, 77, 158, 0.3);
    box-shadow: 0 20px 40px rgba(236, 77, 158, 0.15);
}

.card-3d:hover::before { transform: scaleX(1); }

.card-icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--badge-bg);
    border: 1px solid var(--badge-border);
}

.card-3d h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; }
.card-3d p { color: var(--gray); font-size: 0.9rem; line-height: 1.6; }

.pillars-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pillar-card {
    background: var(--card-bg-soft);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.pillar-card:hover {
    background: rgba(236, 77, 158, 0.05);
    border-color: rgba(236, 77, 158, 0.2);
    transform: translateX(5px);
}

.pillar-num { font-size: 1.5rem; font-weight: 800; color: var(--primary); min-width: 40px; }
.pillar-content h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.pillar-content p { font-size: 0.85rem; color: var(--gray); line-height: 1.5; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.service-item {
    background: var(--card-bg-soft);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.service-item:hover {
    background: rgba(236, 77, 158, 0.05);
    transform: translateY(-5px);
    border-color: rgba(236, 77, 158, 0.2);
}

.service-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1rem;
    background: var(--gradient);
}

.service-item h4 { font-size: 1rem; font-weight: 600; }

.industries-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.industry-tag {
    padding: 0.75rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.industry-tag:hover {
    background: var(--gradient);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(236, 77, 158, 0.3);
}

.steps-container { max-width: 700px; margin: 0 auto; }

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem 0;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 24px; top: 70px;
    width: 2px;
    height: calc(100% - 40px);
    background: linear-gradient(to bottom, var(--primary), transparent);
}

.step-number {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(236, 77, 158, 0.4);
}

.step-content h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.step-content p { color: var(--gray); font-size: 0.9rem; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card.basic, .pricing-card.standard, .pricing-card.premium, .pricing-card.custom {
    background: var(--card-bg-soft);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(236, 77, 158, 0.3);
}

.pricing-card.featured, .pricing-card.standard {
    background: rgba(236, 77, 158, 0.05);
    border-color: rgba(236, 77, 158, 0.3);
}

.pricing-card.featured:hover {
    transform: translateY(-10px);
}

.pricing-card.basic {
    border-color: rgba(34, 197, 94, 0.15);
}
.pricing-card.basic:hover {
    border-color: rgba(34, 197, 94, 0.4);
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.1);
}
.pricing-card.basic .price {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.pricing-card.basic .btn-outline:hover {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.pricing-card.premium {
    border-color: rgba(236, 77, 158, 0.3);
    background: rgba(236, 77, 158, 0.05);
}
.pricing-card.premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(236, 77, 158, 0.15);
}

.pricing-card.custom {
    border-color: rgba(185, 93, 224, 0.15);
    padding-top: 2.5rem;
    transform: translateY(-0.75rem);
}
.pricing-card.custom:hover {
    border-color: rgba(185, 93, 224, 0.4);
    box-shadow: 0 20px 40px rgba(185, 93, 224, 0.1);
}
.pricing-card.custom .price {
    background: linear-gradient(135deg, #b95de0 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.pricing-card.custom .btn-outline:hover {
    border-color: var(--accent);
    background: rgba(185, 93, 224, 0.1);
}

.popular-badge {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    color: #fff;
}

.popular-badge.premium-badge {
    background: linear-gradient(135deg, #b95de0 0%, #ec4d9e 50%, #ff6fc4 100%);
}

.value-badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #16a34a;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    margin-left: 0.4rem;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sub-line {
    display: block;
    font-size: 0.78rem;
    color: var(--gray);
    margin-top: 0.25rem;
    font-weight: 400;
}

.pricing-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; min-height: 1.8rem; }

.pricing-card .price {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0.75rem 0 1rem;
    line-height: 1.2;
    min-height: 2.5rem;
}

.pricing-card .price span { font-size: 1rem; color: var(--gray); font-weight: 400; }
.pricing-card .price .starting-label { font-size: 0.85rem; font-weight: 500; color: var(--gray); margin-right: 0.25rem; letter-spacing: 0.5px; text-transform: uppercase; }

.pricing-features {
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
    flex: 1;
    width: 100%;
}

.pricing-features li {
    margin: 0;
    padding: 0.5rem 0;
    padding-left: 0;
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    width: 100%;
}

.pricing-features li::before {
    content: '✓';
    color: #16a34a;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    width: 1rem;
    min-width: 1rem;
    text-align: center;
    line-height: 1.5;
}
.pricing-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--gray);
    font-size: 0.85rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--card-bg-soft);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
    top: 10px; left: 20px;
    font-family: serif;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author { display: flex; align-items: center; gap: 1rem; }

.author-avatar {
    width: 45px; height: 45px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.author-info h4 { font-size: 0.9rem; font-weight: 600; }
.author-info p { font-size: 0.8rem; color: var(--gray); }

.faq-container { max-width: 800px; margin: 0 auto; }

.faq-item {
    border-bottom: 1px solid var(--card-border);
    padding: 1.5rem 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.faq-question:hover { color: var(--primary-light); }

.faq-toggle {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--badge-bg);
    color: var(--badge-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle { transform: rotate(45deg); background: var(--primary); color: #fff; }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer { max-height: 200px; padding-top: 1rem; }

.cta-section { text-align: center; padding: 6rem 5%; }

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(236, 77, 158, 0.05);
    border: 1px solid rgba(236, 77, 158, 0.2);
    border-radius: 30px;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(236, 77, 158, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.cta-box h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-box p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cta-link {
    margin-top: 1rem;
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

.cta-link a { color: var(--primary-light); text-decoration: none; }

footer {
    background: var(--dark);
    padding: 4rem 5% 2rem;
    border-top: 1px solid var(--card-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-brand p { color: var(--gray); font-size: 0.9rem; line-height: 1.7; margin-top: 1rem; }

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--primary-light); }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
    color: var(--gray);
    font-size: 0.85rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px; left: 0;
    width: 100%;
    background: var(--nav-bg-scrolled);
    padding: 2rem;
    z-index: 999;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu.active { display: flex; }

.mobile-menu a {
    color: var(--light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.mission-text {
    text-align: center;
    max-width: 700px;
    margin: 3rem auto 0;
    color: var(--gray);
    line-height: 1.8;
}

.cost-text {
    text-align: center;
    margin-top: 3rem;
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.solution-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.solution-flow {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-stats { gap: 1.5rem; }
    .pillars-container { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: none; }
    .testimonials-grid { grid-template-columns: 1fr; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-site-logo {
        width: 120px;
        margin: 0 auto;
    }

    .steps-container { padding: 0 1rem; }
}

.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--darker); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }


.site-logo{
    width: 100px;
    height: auto;

}

.footer-site-logo{
    width: 160px;
    height: auto;
    display: block;
}

.footer-logo{
    display: inline-flex;
    align-items: center;
}

/* ═══════════════════════════════════════════
   CONSULTATION FLIP CARD (Landing Page)
═══════════════════════════════════════════ */
.consultation-card-wrapper {
    perspective: 1500px;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}

.consultation-flip-card {
    position: relative;
    width: 100%;
    min-height: 0;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.consultation-flip-card.flipped {
    transform: rotateY(180deg);
}

/* ── Faces ── */
.consultation-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 28px;
    overflow: hidden;
}

/* ── Front ── */
.consultation-front {
    position: relative;
    inset: auto;
    width: 100%;
    background: linear-gradient(165deg, rgba(236, 77, 158, 0.08) 0%, rgba(185, 93, 224, 0.05) 50%, rgba(26, 12, 47, 0.95) 100%);
    border: 1px solid rgba(236, 77, 158, 0.2);
    box-shadow: 0 25px 60px rgba(236, 77, 158, 0.15), 0 0 0 1px rgba(236, 77, 158, 0.05) inset, 0 0 80px rgba(185, 93, 224, 0.08);
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
}

.consultation-front::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient);
}

.consultation-front::after {
    content: '';
    position: absolute;
    top: -40%; right: -40%;
    width: 80%; height: 80%;
    background: radial-gradient(circle, rgba(236, 77, 158, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

/* ── Back ── */
.consultation-back {
    transform: rotateY(180deg);
    background: linear-gradient(165deg, rgba(185, 93, 224, 0.08) 0%, rgba(236, 77, 158, 0.05) 50%, rgba(26, 12, 47, 0.95) 100%);
    border: 1px solid rgba(185, 93, 224, 0.2);
    box-shadow: 0 25px 60px rgba(185, 93, 224, 0.15), 0 0 0 1px rgba(185, 93, 224, 0.05) inset, 0 0 80px rgba(236, 77, 158, 0.08);
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
}

.consultation-back::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(135deg, #b95de0 0%, #ec4d9e 50%, #ff6fc4 100%);
}

/* ── Decorative Glows ── */
.consultation-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
}

.consultation-glow-1 {
    top: -60px;
    right: -60px;
    background: var(--primary);
}

.consultation-glow-2 {
    bottom: -60px;
    left: -60px;
    background: var(--accent);
}

/* ── Front Content ── */
.consultation-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--badge-bg);
    border: 1px solid var(--badge-border);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--badge-text);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    width: fit-content;
}

.consultation-badge-dot {
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.consultation-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    position: relative;
    z-index: 1;
}

.consultation-subtitle {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1.8rem;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.consultation-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.consultation-currency {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-light);
    align-self: flex-start;
    margin-top: 0.3rem;
}

.consultation-amount {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.consultation-period {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 400;
}

.consultation-price-note {
    font-size: 0.75rem;
    color: var(--gray);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* ── Features ── */
.consultation-features {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    position: relative;
    z-index: 1;
}

.consultation-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0;
    font-size: 0.88rem;
    color: var(--light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.consultation-features li:last-child {
    border-bottom: none;
}

.consultation-feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

/* ── CTA Button ── */
.consultation-cta {
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(236, 77, 158, 0.4);
    position: relative;
    z-index: 1;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
}

.consultation-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(236, 77, 158, 0.55);
}

.consultation-cta:active {
    transform: translateY(-1px);
}

.consultation-arrow {
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

.consultation-cta:hover .consultation-arrow {
    transform: translateX(4px);
}

/* ── Back Content ── */
.consultation-back-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.consultation-back-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.consultation-back-title {
    font-size: 1.3rem;
    font-weight: 800;
}

.consultation-back-subtitle {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    line-height: 1.5;
}

/* ── Form ── */
.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    position: relative;
    z-index: 1;
    flex: 1;
}

.consultation-form-group {
    position: relative;
}

.consultation-form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.consultation-form-group input,
.consultation-form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--light);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    outline: none;
}

.consultation-form-group input::placeholder,
.consultation-form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.consultation-form-group input:focus,
.consultation-form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(236, 77, 158, 0.06);
    box-shadow: 0 0 0 3px rgba(236, 77, 158, 0.12);
}

.consultation-form-group textarea {
    resize: vertical;
    min-height: 70px;
}

.consultation-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.consultation-form-submit {
    width: 100%;
    padding: 0.9rem 2rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(236, 77, 158, 0.4);
    font-family: 'Inter', sans-serif;
    margin-top: 0.25rem;
}

.consultation-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(236, 77, 158, 0.55);
}

.consultation-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.consultation-back-btn {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
    margin-top: 0.75rem;
    align-self: center;
}

.consultation-back-btn:hover {
    color: var(--light);
}

/* ── Loading Spinner ── */
.consultation-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: none;
}

.consultation-form-submit.loading .consultation-spinner {
    display: block;
}

.consultation-form-submit.loading .consultation-btn-text {
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ── Success Overlay ── */
.consultation-success {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 10;
    border-radius: 28px;
    background: linear-gradient(165deg, rgba(185, 93, 224, 0.12) 0%, rgba(26, 12, 47, 0.98) 100%);
}

.consultation-success.visible {
    opacity: 1;
    pointer-events: all;
}

.consultation-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    border: 2px solid rgba(34, 197, 94, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    animation: consultationSuccessPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes consultationSuccessPop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.consultation-success-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.consultation-success-message {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.consultation-success-btn {
    padding: 0.75rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid rgba(236, 77, 158, 0.3);
    background: transparent;
    color: var(--light);
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.consultation-success-btn:hover {
    border-color: var(--primary);
    background: rgba(236, 77, 158, 0.1);
}

/* ── Light Mode Overrides ── */
body.light-mode .consultation-front {
    background: linear-gradient(165deg, rgba(236, 77, 158, 0.06) 0%, rgba(185, 93, 224, 0.03) 50%, rgba(255, 255, 255, 0.98) 100%);
    border-color: rgba(236, 77, 158, 0.2);
    box-shadow: 0 25px 60px rgba(236, 77, 158, 0.1), 0 4px 20px rgba(236, 77, 158, 0.07);
}

body.light-mode .consultation-back {
    background: linear-gradient(165deg, rgba(185, 93, 224, 0.06) 0%, rgba(236, 77, 158, 0.03) 50%, rgba(255, 255, 255, 0.98) 100%);
    border-color: rgba(185, 93, 224, 0.2);
    box-shadow: 0 25px 60px rgba(185, 93, 224, 0.1), 0 4px 20px rgba(236, 77, 158, 0.07);
}

body.light-mode .consultation-form-group input,
body.light-mode .consultation-form-group textarea {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(236, 77, 158, 0.15);
    color: var(--light);
}

body.light-mode .consultation-form-group input::placeholder,
body.light-mode .consultation-form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.3);
}

body.light-mode .consultation-form-group input:focus,
body.light-mode .consultation-form-group textarea:focus {
    background: rgba(236, 77, 158, 0.04);
}

body.light-mode .consultation-features li {
    border-bottom-color: rgba(0, 0, 0, 0.06);
    color: var(--light);
}

body.light-mode .consultation-success {
    background: linear-gradient(165deg, rgba(185, 93, 224, 0.08) 0%, rgba(255, 255, 255, 0.98) 100%);
}

/* ── Responsive ── */
@media (max-width: 520px) {
    .consultation-flip-card {
        min-height: 580px;
    }

    .consultation-front,
    .consultation-back {
        padding: 1.75rem;
        border-radius: 22px;
    }

    .consultation-title {
        font-size: 1.35rem;
    }

    .consultation-amount {
        font-size: 2.8rem;
    }

    .consultation-form-row {
        grid-template-columns: 1fr;
    }

    .consultation-features li {
        font-size: 0.82rem;
        padding: 0.55rem 0;
    }
}

.problem-visual {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.problem-pusher-img {
    position: absolute;
    right: 70.60%;
    bottom: -20px;
    height: 480px;
    width: auto;
    z-index: 2;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, black 88%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 88%, transparent 100%);
}

.problem-visual .card-grid {
    grid-template-columns: repeat(3, 1fr);
    padding-left: 340px;
}

@media (max-width: 1024px) {
    .problem-pusher-img { display: none; }
    .problem-visual .card-grid {
        grid-template-columns: 1fr;
        padding-left: 0;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .problem-visual .card-grid { grid-template-columns: repeat(2, 1fr); padding-left: 300px; }
}