/* ===================================
   BUSINESS SERVICES PAGE STYLES
   =================================== */

/* --- Variables --- */
:root {
    --primary-gold: #c49a3c;
    --primary-dark: #0f172a;
    --secondary-blue: #1c2b4a;
    --accent-gold: #c49a3c;
    --text-dark: #1e293b;
    --text-muted: #64748b;
}

body {
    background-color: #faf9f6;
}

/* --- Section 1: Hero (Roadmap Style) --- */
.business-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at center, #1e293b, #0f172a);
    color: white;
    overflow: hidden;
    padding: 10rem 0 6rem;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.8s ease forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-heading {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(90deg, #fff, #d4b06a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subheading {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 3rem;
    line-height: 1.7;
    max-width: 500px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #c49a3c;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 0 20px rgba(196, 154, 60, 0.4);
}

.hero-btn svg {
    transition: transform 0.3s ease;
}

.hero-btn:hover svg {
    transform: translateX(5px);
}

.hero-graphic {
    position: relative;
    perspective: 1000px;
}

.roadmap-img {
    width: 100%;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
    animation: float-hero 6s ease-in-out infinite;
}

/* Animated Dot Line (Overlay) */
.dot-line-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.dot-path {
    stroke-dasharray: 10;
    stroke-dashoffset: 1000;
    animation: dashOffset 20s linear infinite;
}

@keyframes dashOffset {
    to {
        stroke-dashoffset: 0;
    }
}


/* --- Section 2: Business Journey Timeline (Redesigned Grid) --- */
.timeline-section {
    padding: 6rem 0;
    background: #faf8f4;
    border-bottom: 1px solid #ddd8ce;
    position: relative;
    overflow: hidden;
}

/* Background subtle mesh or gradient if needed */
.timeline-section::before {
    display: none;
}

.timeline-header {
    text-align: center;
    color: #1e293b;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.timeline-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #0f172a;
}

.timeline-header p {
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    position: relative;
    z-index: 2;
    max-width: 100%;
}

.process-card {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem 1rem;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.process-card:hover {
    transform: translateY(-10px);
    border-color: #c49a3c;
    background: #334155;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.card-bg-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(196, 154, 60, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.process-card:hover .card-bg-glow {
    opacity: 1;
}

.step-idx {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: -0.5rem;
    right: 0.5rem;
    line-height: 1;
    z-index: 0;
    transition: color 0.3s ease;
}

.process-card:hover .step-idx {
    color: rgba(196, 154, 60, 0.1);
}

.step-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(196, 154, 60, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto 1rem;
    color: #c49a3c;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.process-card:hover .step-icon-box {
    background: #c49a3c;
    color: white;
    transform: rotateY(180deg);
}

.process-card:hover .step-icon-box svg {
    transform: rotateY(-180deg);
    /* Counter rotate icon so it stays legible if needed, or just let it flip */
}

.process-card h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.process-card p {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* Connectors visualization (optional, subtle lines between cards if row) */
/* Ideally requires grid specific nth-child handling which is messy with wrap. Kept simple for now. */

/* Responsive: Switch to centered flex wrap on smaller screens for 3-2 layout */
@media (max-width: 1200px) {
    .process-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .process-card {
        flex: 0 0 280px;
    }
}


/* --- Section 3: New Business Registration (Split) --- */
.split-section {
    padding: 8rem 0;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.bg-light {
    background: #faf9f6;
}

.bg-white {
    background: white;
}

.content-col {
    padding-right: 2rem;
}

.visual-col {
    position: relative;
}

.section-label {
    text-transform: uppercase;
    color: #c49a3c;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    color: #0f172a;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.section-desc {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.checklist-box {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0d9cc;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    opacity: 0;
    /* JS Fade in */
    transform: translateY(10px);
}

/* --- Buttons --- */
.btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 2px solid #c49a3c;
    color: #c49a3c;
    background: transparent;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #c49a3c;
    color: white;
    box-shadow: 0 10px 20px -5px rgba(196, 154, 60, 0.4);
    transform: translateY(-2px);
}


/* --- Section 4: Incorporation (Reverse Split) --- */

.order-2 {
    order: 2;
}

.order-1 {
    order: 1;
}

.diagram-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.2);
}

.diagram-wrapper img {
    width: 100%;
    display: block;
}


/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e8e3d8;
    transition: all 0.3s ease;
    cursor: default;
}

.benefit-card strong {
    font-size: 1.1rem;
    color: #334155;
    display: block;
    line-height: 1.4;
}

.benefit-card:hover {
    border-color: #c49a3c;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.orbit-section {
    padding: 8rem 0;
    background: #0f172a;
    color: white;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.orbit-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1/1;
    margin: 4rem auto 0;
}

.center-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #c49a3c, #1c2b4a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 0 50px rgba(196, 154, 60, 0.5);
    z-index: 2;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: spin 30s linear infinite;
}

.orbit-item {
    position: absolute;
    width: 80px;
    height: 80px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Reverse rotation to keep icons upright */
    animation: spin-reverse 30s linear infinite;
    cursor: pointer;
    transition: transform 0.3s;
}

.orbit-item:hover {
    transform: scale(1.2);
    border-color: #c49a3c;
}

/* Positioning items on ring using trigonometry logic approx */
.item-1 {
    top: 0;
    left: 50%;
    margin-left: -40px;
    margin-top: -40px;
}

.item-2 {
    top: 50%;
    right: 0;
    margin-right: -40px;
    margin-top: -40px;
}

.item-3 {
    bottom: 0;
    left: 50%;
    margin-left: -40px;
    margin-bottom: -40px;
}

.item-4 {
    top: 50%;
    left: 0;
    margin-left: -40px;
    margin-top: -40px;
}

@keyframes spin {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes spin-reverse {
    100% {
        transform: rotate(-360deg);
    }
}


/* --- Section 6: Business Planning (Two Col Expandable) --- */
.planning-section {
    padding: 8rem 0;
}

.planning-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.plan-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: white;
    border: 2px solid #e8e3d8;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    color: #0f172a;
    background: white;
    transition: color 0.3s ease;
    user-select: none;
}

/* Icon (Plus/Minus) */
.accordion-header span:last-child {
    font-size: 1.5rem;
    font-weight: 400;
    color: #c49a3c;
    transition: transform 0.3s ease;
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
    color: #64748b;
    line-height: 1.6;
    background: white;
}

/* Active State */
.accordion-item.active {
    border-color: #c49a3c;
    box-shadow: 0 10px 30px -10px rgba(196, 154, 60, 0.15);
}



.accordion-item.active .accordion-header span:last-child {
    transform: rotate(45deg);
    /* Rotates + to x */
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    /* ample height for text */
    padding-bottom: 1.5rem;
}


/* --- Section 7: Cash Flow (Dashboard) --- */
.dashboard-section {
    padding: 4rem 0;
    background: #0f172a;
    color: white;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    text-align: left;
}

.dashboard-mockup {
    margin-top: 0;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(196, 154, 60, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}

.dashboard-mockup img {
    width: 100%;
    display: block;
    opacity: 0.8;
}

.stats-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: auto;
    display: flex;
    gap: 2rem;
    background: rgba(15, 23, 42, 0.9);
    padding: 1.5rem 3rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-box {
    text-align: center;
}

.stat-val {
    font-size: 2rem;
    font-weight: 800;
    color: #c49a3c;
}

.stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
    text-transform: uppercase;
}


/* --- Section 8: Final CTA (Advisor Style) --- */
.final-cta {
    padding: 8rem 0;
    text-align: center;
    background: white;
    position: relative;
}

.cta-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196, 154, 60, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.cta-box {
    position: relative;
    z-index: 2;
}

.pulse-btn {
    animation: simplePulse 3s infinite;
}

@keyframes simplePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(196, 154, 60, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(196, 154, 60, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(196, 154, 60, 0);
    }
}

/* Responsive */
@media (max-width: 1024px) {

    .split-grid,
    .planning-grid,
    .dashboard-grid,
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .order-2 {
        order: 1;
    }

    /* Image on top on mobile usually better or bottom? sticky request was mobile top. Lets keep standard flow */
    .hero-text {
        text-align: center;
        margin: 0 auto;
    }

    .hero-btn {
        margin: 0 auto;
    }

    .orbit-container {
        max-width: 350px;
    }

    .orbit-ring {
        width: 80%;
        height: 80%;
    }

    .orbit-item {
        width: 60px;
        height: 60px;
        font-size: 0.8rem;
    }

    .item-1 {
        margin-left: -30px;
        margin-top: -30px;
    }

    .item-2 {
        margin-right: -30px;
        margin-top: -30px;
    }

    .item-3 {
        margin-left: -30px;
        margin-bottom: -30px;
    }

    .item-4 {
        margin-left: -30px;
        margin-top: -30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 clamp(1rem, 5vw, 1.5rem);
    }

    .hero-heading {
        font-size: 2rem;
    }

    .split-section,
    .planning-section {
        padding: 3rem 0;
    }
}