/* Modern Light Theme Variables (Relab Brand Specific) */
:root {
    --bg-main: #ffffff;
    --bg-secondary: #fdfdfd;
    --bg-card: #ffffff;
    --text-primary: #2f2f2f;
    /* cls-4 */
    --text-secondary: #5a5a5a;
    --accent-primary: #eb745c;
    /* cls-1 */
    --accent-secondary: #ea9689;
    /* cls-2 */
    --accent-tertiary: #ead3d1;
    /* cls-3 */
    --accent-gradient: linear-gradient(135deg, #eb745c 0%, #ea9689 100%);
    --card-border: 1px solid rgba(234, 211, 209, 0.5);
    /* using cls-3 tone */
    --border-radius: 16px;
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-height: 80px;
    --shadow-soft: 0 4px 6px -1px rgba(235, 116, 92, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 15px -3px rgba(235, 116, 92, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
}

/* Reset & Base Styles */
html {
    scroll-padding-top: var(--nav-height);
    /* Offset for fixed header */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--nav-height);
    /* Prevent content hiding behind fixed nav */
}

/* NAVIGATION */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.9);
    /* Glass effect light */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* WHY US SECTION */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.why-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    border: var(--card-border);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: rgba(129, 140, 248, 0.3);
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.05), transparent 60%);
    pointer-events: none;
}

.why-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
    color: var(--accent-secondary);
}

.why-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.why-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 0 2rem 0;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

/* Header / Hero */
/* Header / Hero */
.hero {
    min-height: 85vh;
    /* Increase height slightly */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    position: relative;
    /* Subtle dot pattern + gradient */
    background-image: radial-gradient(var(--accent-tertiary) 1px, transparent 1px), radial-gradient(circle at top right, rgba(235, 116, 92, 0.08) 0%, transparent 60%);
    background-size: 30px 30px, 100% 100%;
    background-position: 0 0, 0 0;
}

.hero h1 {
    font-size: 4.5rem;
    /* Larger title */
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-meta {
    display: flex;
    gap: 1.5rem;
    margin-top: 3.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.meta-item {
    background: #ffffff;
    padding: 1rem 1.75rem;
    border-radius: 16px;
    /* softer radius */
    border: 1px solid rgba(234, 211, 209, 0.6);
    /* cls-3 tone */
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    /* Darker text for better contrast */
    box-shadow: 0 4px 20px -5px rgba(235, 116, 92, 0.15);
    /* Soft colored shadow */
    transition: transform 0.2s ease;
}

.meta-item:hover {
    transform: translateY(-2px);
    border-color: var(--accent-secondary);
}

.meta-item svg {
    color: var(--accent-primary);
    width: 24px;
    height: 24px;
}

/* Summary Grid */
/* Summary Grid */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    counter-reset: roadmap-counter;
}

.summary-card {
    background: var(--bg-card);
    border: var(--card-border);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    counter-increment: roadmap-counter;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.5rem;
}

/* Top Gradient Accent */
.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    opacity: 0.8;
}

/* Watermark Number */
.summary-card::after {
    content: "0" counter(roadmap-counter);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-tertiary);
    opacity: 0.15;
    line-height: 1;
    pointer-events: none;
    font-family: var(--font-sans);
}

.summary-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-secondary);
    box-shadow: var(--shadow-hover);
}

.week-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(235, 116, 92, 0.08);
    color: var(--accent-primary);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    align-self: flex-start;
    border: 1px solid rgba(235, 116, 92, 0.1);
}

/* Detailed Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    /* Mobile first alignment */
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary), transparent);
}

.timeline-item {
    position: relative;
    padding-left: 5rem;
    margin-bottom: 4rem;
}

.timeline-marker {
    position: absolute;
    left: 1.35rem;
    /* Aligned with line */
    top: 0;
    width: 1.25rem;
    height: 1.25rem;
    background: var(--bg-main);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1);
}

.timeline-content {
    background: var(--bg-card);
    border: var(--card-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    position: relative;
}

.timeline-content::after {
    /* Little arrow pointing to marker */
    content: '';
    position: absolute;
    left: -10px;
    top: 10px;
    width: 20px;
    height: 20px;
    background: var(--bg-card);
    transform: rotate(45deg);
    border-left: var(--card-border);
    border-bottom: var(--card-border);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.timeline-detail-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.timeline-detail-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

/* Pricing / Investment */
.pricing-section {
    background: linear-gradient(to bottom, var(--bg-main), var(--bg-secondary));
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 4rem auto 0;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid rgba(234, 211, 209, 0.6);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition-medium);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.feature-list li svg {
    width: 20px;
    height: 20px;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.pricing-card.highlight {
    border: 2px solid var(--accent-primary);
    background: linear-gradient(145deg, #fff0f3 0%, #ffffff 100%);
    transform: scale(1.05);
    /* Slightly bigger */
    z-index: 2;
    box-shadow: var(--shadow-hover);
}

.pricing-card:not(.highlight):hover {
    opacity: 1;
    transform: translateY(-5px);
}

.badge-discount {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 1.5rem 0 0.5rem;
    color: var(--text-primary);
}

.price-unit {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.price-total {
    font-size: 1.25rem;
    color: var(--accent-primary);
    margin-bottom: 2rem;
    font-weight: 600;
}

.feature-list {
    margin: 2rem 0;
    text-align: left;
}

.feature-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-list li:last-child {
    border-bottom: none;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-medium);
    margin-top: auto;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Post-Project Section */
.future-work {
    background: var(--bg-secondary);
    border: var(--card-border);
    border-radius: var(--border-radius);
    padding: 3rem;
    margin-top: 4rem;
}

/* Process / Methodology Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    background: #ffffff;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(234, 211, 209, 0.6);
    text-align: left;
    position: relative;
    transition: var(--transition-medium);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: var(--accent-secondary);
    box-shadow: var(--shadow-hover);
}

.step-icon {
    width: 50px;
    height: 50px;
    background: rgba(235, 116, 92, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center the number inside the box */
    margin: 0 0 0.5rem 0;
    color: var(--accent-primary);
    font-size: 1.25rem;
    font-weight: 700;
}

/* Disclaimer / Terms Box */
.disclaimer-box {
    background: rgba(56, 189, 248, 0.05);
    border-left: 4px solid var(--accent-secondary);
    padding: 2rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin-top: 4rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.disclaimer-box h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {

    /* Mobile Alignment */
    .container {
        padding: 0 1.25rem;
        /* Reduce padding for more space */
        width: 100%;
        /* Ensure full width for centering to work in flex parents */
    }

    .pricing-grid,
    .summary-grid {
        grid-template-columns: 1fr;
        /* Force single column full width */
        gap: 2rem;
    }

    .hero {
        align-items: center;
        text-align: center;
        justify-content: center;
    }

    .hero .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Override Summary/Pricing Grid specific desktop styles if needed, 
       but setting template-columns usually wins. 
       Let's also ensure min-width specificities don't conflict. 
       The above rule uses class names which match.
    */

    .hero-meta {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        line-height: 1.1;
    }

    h1,
    h2 {
        text-align: center;
    }



    .subtitle {
        text-align: center;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Reset section text align if needed, but headers/subtitles are key */
    section {
        text-align: center;
    }

    .pricing-card,
    .process-step {
        align-items: center;
        text-align: center;
    }

    .week-badge {
        align-self: center;
        /* For hero badge or others in flex column */
    }

    .why-icon {
        margin: 0 auto 1.5rem;
        width: 24px;
    }

    .feature-list {
        text-align: left;
        /* Keep feature lists readable */
    }

    .future-work {
        text-align: left;
    }

    .timeline-item h3,
    .timeline-item p,
    .timeline-item li {
        text-align: left;
    }

    .timeline-item h3 {
        width: 62vw;
    }

    /* Mobile Nav */
    h1 {
        font-size: 2.75rem;
        /* Better balance */
        line-height: 1.1;
    }

    h2 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
        /* Prevent edge touching */
    }

    .hero-meta {
        gap: 1rem;
        /* Tighter gap for mobile */
    }

    .meta-item {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        /* Sllightly smaller text */
    }

    .timeline::before {
        left: 1rem;
    }

    .timeline-item {
        padding-left: 2.5rem;
    }

    .timeline-marker {
        left: 0.35rem;
    }

    .pricing-card.highlight {
        transform: none;
    }

    .timeline-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Mobile Nav */
    .mobile-toggle {
        display: none;
        /* Hide the top toggle */
    }

    .nav-links {
        display: none;
        /* Find menu logic handled by bottom nav now */
    }

    .navbar .container {
        justify-content: center;
        /* Center logo since no menu */
    }

    /* Fixed Bottom Nav */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        justify-content: space-around;
        padding: 0.75rem 0.5rem;
        z-index: 2000;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.03);
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
        font-size: 0.7rem;
        color: var(--text-secondary);
        width: 100%;
        text-align: center;
    }

    .mobile-nav-item svg {
        width: 24px;
        height: 24px;
        transition: transform 0.2s;
    }

    .mobile-nav-item:active svg {
        transform: scale(0.9);
        color: var(--accent-primary);
    }

    /* Add padding to body so content isn't covered */
    body {
        padding-bottom: 80px;
    }
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .mobile-bottom-nav {
        display: none;
    }
}