: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);
}

/* ---- 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: #ffffff;
    --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);
}
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: center;
    padding: 8rem 5% 4rem;
    z-index: 1;
}

.hero-content { text-align: center; max-width: 900px; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(236, 77, 158, 0.1);
    border: 1px solid rgba(236, 77, 158, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary-light);
    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;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    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: rgba(236, 77, 158, 0.1);
    border: 1px solid rgba(236, 77, 158, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-light);
    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: rgba(236, 77, 158, 0.1);
    border: 1px solid rgba(236, 77, 158, 0.2);
}

.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(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.pricing-card {
    background: var(--card-bg-soft);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(236, 77, 158, 0.3);
}

.pricing-card.featured {
    background: rgba(236, 77, 158, 0.05);
    border-color: rgba(236, 77, 158, 0.3);
    transform: scale(1.05);
}

.pricing-card.featured:hover { transform: scale(1.05) translateY(-10px); }

.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;
}

.pricing-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 1.5rem 0;
}

.pricing-card .price span { font-size: 1rem; color: var(--gray); font-weight: 400; }

.pricing-features { list-style: none; margin: 1.5rem 0; }

.pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li::before { content: '✓'; color: #22c55e; font-weight: 700; }
.pricing-card .btn { width: 100%; justify-content: center; margin-top: 1rem; }

.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;
}

.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: rgba(236, 77, 158, 0.1);
    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); }

.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: 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: 160px;
    height: auto;

}

.footer-site-logo{
    width: 160px;
    height: auto;
    display: block;
}

.footer-logo{
    display: inline-flex;
    align-items: center;
}
