/* 
    StartLaunch Bangladesh - Main Style Sheet
    Theme: Light, Magazine-style Asymmetric Grid
    Colors: Mint Green (#01e090), White (#ffffff), Light Gray (#f5f5f5), Dark (#0a0a0a)
*/

:root {
    /* Colors */
    --primary: #01e090;
    --primary-light: #e8fff8;
    --bg-white: #ffffff;
    --bg-gray: #f5f5f5;
    --text-main: #0a0a0a;
    --border-color: #1a1a1a;
    --dark-bg: #0a0a0a;
    --white: #ffffff;

    /* Typography */
    --font-display: 'Barlow Condensed', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Grid & Spacing */
    --border-width: 1px;
    --grid-gap: 0px; /* Borders act as dividers */
    --section-padding: 80px 0;
    --container-width: 100%; /* Full width with internal padding */
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .display-text {
    font-family: var(--font-display);
    text-transform: uppercase;
    line-height: 0.9;
    font-weight: 900;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

button, .cta-button {
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Layout Utilities */
.section {
    width: 100%;
    border-bottom: var(--border-width) solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.grid-container {
    display: grid;
    width: 100%;
}

.panel {
    padding: 40px;
    border-right: var(--border-width) solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.panel:last-child {
    border-right: none;
}

.panel-white { background-color: var(--bg-white); }
.panel-gray { background-color: var(--bg-gray); }
.panel-mint { background-color: var(--primary); }
.panel-mint-light { background-color: var(--primary-light); }
.panel-dark { background-color: var(--dark-bg); color: var(--white); }

.label-tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.pill-tag {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    border: var(--border-width) solid var(--border-color);
    font-size: 13px;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 8px;
    background: var(--bg-white);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: var(--bg-white);
    border-bottom: var(--border-width) solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.logo h1 {
    font-size: 24px;
    letter-spacing: -1px;
}

.logo span {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.hamburger {
    display: none;
    font-size: 24px;
}

/* Marquee */
.marquee-strip {
    height: 60px;
    background: var(--dark-bg);
    color: var(--white);
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    padding: 0 30px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Specific Section Grid Layouts */
.grid-hero { grid-template-columns: 60% 40%; height: calc(100vh - 70px); margin-top: 0; }
.hero-right-col { display: grid; grid-template-rows: 1fr 1fr 1fr; border-right: none; padding: 0; }
.hero-right-col .panel { border-right: none; border-bottom: var(--border-width) solid var(--border-color); }
.hero-right-col .panel:last-child { border-bottom: none; }

.grid-3-col { grid-template-columns: 1fr 1fr 1fr; }
.grid-4-col { grid-template-columns: 1fr 1fr 1fr 1fr; }
.grid-60-40 { grid-template-columns: 60% 40%; }
.grid-40-60 { grid-template-columns: 40% 60%; }
.grid-25-75 { grid-template-columns: 25% 75%; }
.grid-75-25 { grid-template-columns: 75% 25%; }
.grid-20-80 { grid-template-columns: 20% 80%; }
.grid-80-20 { grid-template-columns: 80% 20%; }

/* Buttons */
.btn-black {
    background: var(--dark-bg);
    color: var(--white);
    padding: 15px 30px;
    font-size: 18px;
}

.btn-black:hover {
    background: var(--primary);
    color: var(--dark-bg);
}

.btn-mint {
    background: var(--primary);
    color: var(--dark-bg);
    padding: 15px 30px;
    font-size: 18px;
}

/* FAQ Accordion */
.faq-item {
    border: var(--border-width) solid var(--border-color);
    margin-bottom: -1px;
}

.faq-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
}

.faq-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-content {
    max-height: 200px;
    padding: 0 20px 20px 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .grid-container, 
    .grid-hero, 
    .grid-3-col, 
    .grid-4-col, 
    .grid-60-40, 
    .grid-40-60,
    .grid-25-75,
    .grid-20-80 {
        grid-template-columns: 1fr !important;
    }
    
    .panel {
        border-right: none;
        border-bottom: var(--border-width) solid var(--border-color);
    }
    
    .hero-right-col {
        grid-template-rows: auto;
    }
    
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
}

/* Placeholder styles */
.placeholder-img {
    background: #ddd;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    color: #999;
}

.abstract-shape {
    width: 80%;
    height: 80%;
    background: rgba(0,0,0,0.1);
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}

/* --- VISUAL IMPROVEMENTS (REF: visual improvement.md) --- */

:root {
    --mint: #01e090;
    --mint-light: #e8fff8;
    --dark: #0a0a0a;
    --border: #1a1a1a;
    --gray-bg: #f5f5f5;
    --text-muted: #666666;
}

/* Typography Overrides */
h1, h2, h3, h4, .display-text {
    font-family: 'Barlow Condensed', sans-serif !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: -0.02em !important;
}

p, li, label, input, select, textarea {
    font-family: 'Inter', sans-serif !important;
}

#hero h1 {
    font-size: clamp(64px, 9vw, 130px) !important;
    line-height: 0.93 !important;
}

section h2 {
    font-size: clamp(32px, 4vw, 64px) !important;
    line-height: 0.95 !important;
}

body {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #444 !important;
    padding-top: 64px !important;
    font-family: 'Inter', sans-serif !important;
}

.label-tag {
    font-size: 11px !important;
    letter-spacing: 0.2em !important;
    color: var(--text-muted) !important;
    font-family: 'Inter' !important;
    font-weight: 600 !important;
}

/* Colors & Panels */
[class*="dark"], [class*="black"], .panel-dark, .marquee-strip {
    background-color: #0a0a0a !important;
    color: #ffffff !important;
}

[class*="mint"], [class*="green"], [class*="accent"], .panel-mint {
    background-color: #01e090 !important;
    color: #0a0a0a !important;
}

/* Specific Section Adjustments (Stats, Results, Platforms) */
section:nth-child(4) .panel:nth-child(2) { background-color: #01e090 !important; }
section:nth-child(4) .panel:nth-child(4) { background-color: #0a0a0a !important; color: white !important; }

/* Pricing middle card */
#pricing .panel-mint-light {
    background-color: #e8fff8 !important;
    border: 2px solid #01e090 !important;
}

/* Borders */
.panel, .section, .grid-container > div, .faq-item, table, th, td {
    border-color: #1a1a1a !important;
}

.section {
    border-bottom: 1px solid #1a1a1a !important;
}

/* Buttons */
.btn-black, .cta-button, button[type="submit"] {
    background: #0a0a0a !important;
    color: white !important;
    padding: 14px 32px !important;
    font-family: 'Inter' !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer !important;
}

.btn-black:hover, .cta-button:hover, button[type="submit"]:hover {
    background: #01e090 !important;
    color: #0a0a0a !important;
}

.btn-mint {
    background: #01e090 !important;
    color: #0a0a0a !important;
}

.btn-mint:hover {
    background: #00c97a !important;
}

/* Tags/Pills */
.pill-tag {
    border: 1px solid #1a1a1a !important;
    border-radius: 999px !important;
    padding: 5px 14px !important;
    font-size: 12px !important;
    font-family: 'Inter' !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    display: inline-block !important;
    background: transparent !important;
}

.pill-tag:hover {
    background: #01e090 !important;
    border-color: #01e090 !important;
}

/* Cards (Portfolio, Blog, Team) */
#work .panel-white, #work .panel-gray,
section:nth-child(23) .panel,
#blog .panel,
#team .panel-white, #team .panel-mint-light {
    transition: 0.2s ease !important;
}

#work .panel-white:hover, #work .panel-gray:hover,
section:nth-child(23) .panel:hover, 
#blog .panel:hover,
#team .panel-white:hover, #team .panel-mint-light:hover {
    transform: translateY(-3px) !important;
    box-shadow: 4px 4px 0 #0a0a0a !important;
}

/* Image Placeholders */
.placeholder-img {
    background: #f0f0f0 !important;
    color: #999 !important;
    font-size: 13px !important;
    font-family: 'Inter' !important;
}

/* Form Inputs */
input, select, textarea {
    border: 1px solid #1a1a1a !important;
    border-radius: 0 !important;
    padding: 13px 16px !important;
    font-family: 'Inter' !important;
    font-size: 15px !important;
    width: 100% !important;
    outline: none !important;
    background: white !important;
}

input:focus, select:focus, textarea:focus {
    border-color: #01e090 !important;
    box-shadow: 0 0 0 3px rgba(1,224,144,0.15) !important;
}

/* Navbar */
.navbar {
    background: white !important;
    border-bottom: 1px solid #1a1a1a !important;
    height: 64px !important;
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 999 !important;
}

.logo h1 {
    font-family: 'Barlow Condensed' !important;
    font-weight: 700 !important;
    font-size: 20px !important;
    text-transform: uppercase !important;
}

/* Section Alternating BG */
section:nth-child(even) {
    background: #f5f5f5 !important;
}

section:nth-child(odd) {
    background: #ffffff !important;
}

/* Dark sections must stay dark */
.panel-dark, .marquee-strip, [class*="dark"], [class*="black"], #results .panel-dark {
    background-color: #0a0a0a !important;
    color: #ffffff !important;
}

/* About Section Fixes */
#about .panel-gray {
    position: relative !important;
    overflow: hidden !important;
}

#about .panel-gray h1 {
    position: absolute !important;
    bottom: 20px !important;
    left: 24px !important;
}

#about .panel-gray p {
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) rotate(90deg) !important;
    transform-origin: center center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

/* --- INTERACTIVITY & ANIMATIONS --- */

.reveal { 
    opacity: 0; 
    transform: translateY(40px); 
    transition: opacity 0.6s ease, transform 0.6s ease; 
}

.reveal.visible { 
    opacity: 1; 
    transform: translateY(0); 
}

nav.scrolled { 
    box-shadow: 0 2px 20px rgba(0,0,0,0.08) !important; 
    background: rgba(255,255,255,0.97) !important; 
    backdrop-filter: blur(8px) !important; 
}

.navbar {
    transition: all 0.3s ease !important;
}

.nav-links a.active { 
    color: #01e090 !important; 
}

/* Responsive Overrides */
@media (max-width: 768px) {
    /* Layout Reset */
    .grid-container, 
    .grid-hero, 
    .grid-3-col, 
    .grid-4-col, 
    .grid-60-40, 
    .grid-40-60,
    .grid-25-75,
    .grid-75-25,
    .grid-20-80,
    .grid-80-20,
    .grid-50-50 {
        grid-template-columns: 1fr !important;
        height: auto !important;
    }
    
    .panel {
        border-right: none !important;
        border-bottom: var(--border-width) solid var(--border-color) !important;
        padding: 30px 20px !important;
    }
    
    .panel:last-child {
        border-bottom: none !important;
    }

    /* Hero Section */
    .grid-hero {
        display: flex !important;
        flex-direction: column !important;
    }

    .hero-right-col {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }

    #hero h1 {
        font-size: 48px !important;
    }

    /* Typography Adjustments */
    section h2 {
        font-size: 32px !important;
    }

    h1, h2 {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* About Section Fixes */
    #about .panel-gray h1 {
        position: relative !important;
        font-size: 5rem !important;
        left: 0 !important;
        bottom: 0 !important;
        opacity: 0.1 !important;
        margin-bottom: -40px !important;
    }

    #about .panel-gray p {
        position: relative !important;
        transform: none !important;
        top: 0 !important;
        right: 0 !important;
        opacity: 0.5 !important;
        margin-top: 20px !important;
        font-size: 10px !important;
        text-align: right !important;
    }

    /* Services Grid Overrides */
    section#services .grid-60-40,
    section#services .grid-60-40 > div:last-child {
        grid-template-columns: 1fr !important;
    }

    /* Client Logo Grid */
    section:nth-child(7) div[style*="display: grid; grid-template-columns: repeat(5, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: auto !important;
    }

    /* Stats Grid */
    .grid-4-col {
        grid-template-columns: 1fr 1fr !important;
    }

    /* Service List Grids */
    ul[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* Pricing Table */
    table {
        display: block !important;
        overflow-x: auto !important;
    }

    /* Footer Grid */
    section:last-of-type .grid-4-col {
        grid-template-columns: 1fr !important;
    }

    /* Navbar & Hamburger */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-bottom: 1px solid #1a1a1a;
        padding: 24px 20px;
        gap: 15px;
        z-index: 1000;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .nav-links.open {
        display: flex !important;
    }

    .hamburger {
        display: flex !important;
        padding: 10px;
        cursor: pointer;
    }

    /* Industry Expertise Pills */
    .panel-gray[style*="display: flex; flex-wrap: wrap"] {
        justify-content: center !important;
    }

    /* Process Section */
    section:nth-child(21) .grid-container[style*="grid-template-columns: repeat(5, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* Team Section Horizontal Scroll to Stack */
    #team .panel-gray[style*="overflow-x: auto"] {
        flex-direction: column !important;
        overflow-x: visible !important;
    }

    #team .panel-gray > div {
        width: 100% !important;
        min-width: 0 !important;
    }

    /* Web Dev Panel */
    .panel-gray[style*="display: grid; grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* Comparison Table Responsive */
    table thead th:not(:first-child):not(:nth-child(2)),
    table tbody td:not(:first-child):not(:nth-child(2)) {
        display: none !important; /* Only show SLBD comparison on mobile */
    }

    /* Influencer avatars */
    div[style*="display: flex; gap: -20px"] {
        justify-content: center !important;
        margin-bottom: 20px !important;
    }
}

.faq-content {
    transition: max-height 0.4s ease !important;
}

.faq-item.active .faq-header span {
    transform: rotate(45deg);
    display: inline-block;
}

.faq-header span {
    transition: transform 0.4s ease;
}
