/* --- DESIGN SYSTEM & TOKENS --- */
:root {
    /* Colors */
    --bg-color: #F8F7F3;
    /* Signature warm beige */
    --surface-color: #FFFFFF;
    --primary-color: #E50914;
    /* Vibrant orange */
    --primary-hover: #E85A25;
    --text-main: #1C1D20;
    --text-muted: #5E6068;
    --border-color: #E2E1DA;
    --accent-teal: #14B8A6;
    --accent-purple: #8B5CF6;

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    /* Layout */
    --max-width: 1200px;
    --border-radius: 12px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.04);
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography utilities */
h1,
h2,
h3,
h4 {
    color: var(--text-main);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

em {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--primary-color);
    font-weight: 500;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--text-main);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.icon {
    display: flex;
    align-items: center;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 1.5rem 0;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.logo-text strong {
    font-weight: 400;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--primary-color);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-login {
    font-weight: 600;
}

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

/* --- HERO SECTION --- */
.hero {
    padding: 12rem 0 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatars {
    display: flex;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: -12px;
    border: 3px solid var(--bg-color);
    background-size: cover;
    background-position: center;
}

.avatar:first-child {
    margin-left: 0;
}

.trust-text {
    display: flex;
    flex-direction: column;
}

.stars {
    color: #FBBF24;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.trust-text span {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Visual Mockup inside Hero */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.mockup-window {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(5deg) scale(0.95);
    transition: transform 0.5s ease;
}

.mockup-window:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1);
}

.mockup-header {
    background: rgba(255, 255, 255, 0.5);
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #FF5F56;
}

.dot.yellow {
    background: #FFBD2E;
}

.dot.green {
    background: #27C93F;
}

.mockup-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.task-card {
    background: white;
    padding: 1.25rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 600;
}

.tag.tech {
    background: rgba(20, 184, 166, 0.1);
    color: var(--accent-teal);
}

.tag.design {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-purple);
}

.tag.ops {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
}

.time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.task-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.progress-bar {
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar .fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
}

.status-badge {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: #F3F4F6;
    color: var(--text-muted);
    border-radius: 4px;
    font-weight: 500;
}

.status-badge.done {
    background: #DCFCE7;
    color: #166534;
}

.decorative-blob {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.15;
    z-index: -1;
    border-radius: 50%;
    filter: blur(40px);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- SOCIAL PROOF MARQUEE --- */
.social-proof {
    padding: 3rem 0;
    background: white;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.marquee-container {
    display: flex;
    white-space: nowrap;
    width: 200%;
    animation: marquee 25s linear infinite;
}

.marquee-container:hover {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: 50%;
    justify-content: space-around;
}

.marquee-content span {
    font-weight: 600;
    color: var(--text-muted);
}

.marquee-content i {
    font-size: 2rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.marquee-content i:hover {
    color: var(--primary-color);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- SECTION HEADERS --- */
.section-scroll {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

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

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
}

/* --- HOW IT WORKS (PROCESS) --- */
.process-section {
    background: var(--bg-color);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

/* Desktop line connector */
@media (min-width: 900px) {
    .process-grid::before {
        content: '';
        position: absolute;
        top: 30px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: var(--border-color);
        z-index: 1;
    }
}

.process-step {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: -4.5rem auto 2rem;
    /* Pull it up to overlap border */
    border: 6px solid var(--bg-color);
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.4);
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.process-step p {
    color: var(--text-muted);
    text-align: center;
}

/* --- SERVICES GRID --- */
.services-section {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: white;
    border-color: var(--border-color);
    box-shadow: var(--shadow-md);
    transform: scale(1.02);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: white;
    transform: rotate(10deg);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

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

/* --- CTA SECTION --- */
.cta-section {
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-container h2 {
    color: white;
    font-size: 3.5rem;
}

.cta-container p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-top: 1rem;
}

.cta-container .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-container .btn-primary:hover {
    background: var(--bg-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* --- FOOTER --- */
.footer {
    background: var(--text-main);
    color: white;
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer .logo-text {
    color: white;
    margin-bottom: 1rem;
}

.footer .logo-text strong {
    color: var(--primary-color);
}

.footer-brand p {
    color: #A0A0A0;
    margin-bottom: 2rem;
    max-width: 250px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #A0A0A0;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #A0A0A0;
    font-size: 0.875rem;
}

/* --- PAIN POINTS SECTION --- */
.pain-points {
    background: white;
}

.pain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.pain-card {
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-color);
}

.before-card {
    border-top: 4px solid #EF4444;
}

.after-card {
    border-top: 4px solid var(--accent-teal);
    background: white;
    box-shadow: var(--shadow-md);
}

.checklist {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bad-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.8;
}

.bad-list i {
    color: #EF4444;
}

.status-alert {
    padding: 1rem;
    background: rgba(239, 68, 68, 0.1);
    color: #B91C1C;
    border-radius: 8px;
    font-weight: 600;
}

.good-notification {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin: 2rem 0;
    border-left: 4px solid var(--accent-teal);
}

.good-notification i {
    color: var(--accent-teal);
    font-size: 1.5rem;
}

.good-notification div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.authors-note {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--primary-color);
    margin-top: 2rem;
    font-size: 1.25rem;
    border-left: 2px solid var(--primary-color);
    padding-left: 1rem;
}

/* --- OFFERINGS 9-GRID --- */
.offerings-section {
    background: var(--bg-color);
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.offer-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.offer-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.offer-points {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.offer-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.offer-points li::before {
    content: '✓';
    color: var(--accent-teal);
    font-weight: bold;
}

/* --- CONCIERGE CHAT SECTION --- */
.concierge-section {
    background: white;
}

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

.collab-steps {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.collab-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.num {
    background: var(--primary-color);
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
}

.chat-mockup {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.chat-header {
    background: var(--bg-color);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.avatar-small {
    width: 40px;
    height: 40px;
    background: var(--accent-purple);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.chat-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.chat-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-bubble {
    padding: 1rem 1.5rem;
    border-radius: 1.5rem;
    max-width: 85%;
    font-size: 0.95rem;
}

.chat-bubble.received {
    background: var(--bg-color);
    border-bottom-left-radius: 0;
    align-self: flex-start;
}

.chat-bubble.sent {
    background: var(--primary-color);
    color: white;
    border-bottom-right-radius: 0;
    align-self: flex-end;
}

/* --- INDUSTRIES SECTION --- */
.industries-section {
    background: var(--bg-color);
}

.industry-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

/* --- PORTFOLIO SECTION --- */
.portfolio-section {
    background: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.portfolio-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.pf-img {
    height: 250px;
    width: 100%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.portfolio-card p {
    padding: 1.5rem;
    font-weight: 600;
    text-align: center;
}

/* --- PRICING SECTION --- */
.pricing-section {
    background: var(--bg-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
    /* This allows the middle card to be taller while others center vertically or stretch */
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
    /* Make it slightly bigger */
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.card-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 2rem;
}

.price span {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 600;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    margin-bottom: 2.5rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.pricing-features i {
    color: var(--accent-teal);
}

.pricing-card .btn {
    width: 100%;
}

/* --- MEGA FOOTER TWEAKS --- */
.footer-grid.mega {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.legal-links a {
    color: #A0A0A0;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: white;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) {
    .footer-grid.mega {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .pain-grid,
    .concierge-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero-cta-group {
        justify-content: center;
    }

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

@media (max-width: 600px) {
    .footer-grid.mega {
        grid-template-columns: 1fr;
    }

    .legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-links,
    .nav-login {
        display: none;
    }
}