@import url('fonts.css');

/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --primary-color: #D6336C;
    --bg-color: #FAFBFC;
    --dark-bg-color: #2C3E50;
    --text-color: #2C3E50;
    --dark-text-color: #FAFBFC;
    --dark-border-color: #3F454B;
    --autonomy-color: #D6336C;
    --amotivation-color: #8b0000;
    --external-color: #c0392b;
    --introjection-color: #f39c12;
    --identification-color: #27ae60;
    --integration-color: #6f42c1;
    --intrinsic-color: #D6336C;
    --section-padding-mobile: 4rem 0;
    --section-padding-desktop: 8rem 0;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   2. TYPOGRAPHY
   ========================================= */
h1,
h2,
h3,
h4 {
    font-family: 'Onest', 'Space Grotesk', 'Montserrat Alternates', sans-serif;
    font-weight: 700;
    text-transform: lowercase;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 1rem;
    display: block;
    unicode-bidi: isolate;
}

/* Overrides */
.price-card h1,
.concept-card h4,
.real-step h4 {
    text-transform: none;
}

h1 {
    font-size: 2.3rem;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
}

h2 {
    font-size: 2rem;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
}

h3 {
    font-size: 1.5rem;
    margin-block-start: 1em;
    margin-block-end: 1em;
}

p {
    font-weight: 300;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 700px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

strong {
    font-weight: 900;
}

/* =========================================
   3. UTILITIES & BUTTONS
   ========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: var(--section-padding-mobile);
}

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

/* Buttons (Mobile Default) */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    width: 100%;
    text-align: center;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #000;
    color: #fff;
}

.btn-outline {
    border: 2px solid #000;
    color: #000;
    background: transparent;
}

.btn-outline:hover {
    background-color: #000;
    color: #fff;
}

/* Marker Highlight Effect */
.marker-text {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.marker-text::before,
.marker-text::after {
    content: '';
    position: absolute;
    left: 0;
    background: transparent;
    pointer-events: none;
    z-index: -1;
    opacity: 0.9;
    border-bottom: 5px solid var(--primary-color);
}

.marker-text::before {
    width: 104%;
    height: 19px;
    left: -2%;
    bottom: -7px;
    border-radius: 50% 10% 10% 10%;
    transform: rotate(-1.75deg);
}

/* =========================================
   4. HEADER & NAVIGATION
   ========================================= */
header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

/* --- HAMBURGER MENU & NAV (MOBILE FIRST) --- */
nav {
    display: flex;
    justify-content: space-between;
    /* Logo left, Hamburger right */
    align-items: center;
    flex-wrap: wrap;
    /* Allows the menu to drop down below the logo */
    width: 100%;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    /* Keeps it clickable */
}

/* The 3 lines of the hamburger */
.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease-in-out;
}

/* Hide the nav links by default on mobile */
.nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    background-color: rgba(255, 255, 255, 0.98);
}

/* When the JS adds the .active class, show the menu */
.nav-links.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

/* Animate the Hamburger into an 'X' */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.logo {
    font-weight: 200;
    font-size: 1.5rem;
    letter-spacing: -0.09em;
    color: var(--dark-bg-color);
}

.logo img {
    height: 40px;
}

.logo strong {
    font-weight: 700;
}

/* =========================================
   5. HERO SECTIONS (Mobile First)
   ========================================= */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f4f4f4;
    text-align: center;
    min-height: 100vh;
    /* Mobile height */
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
    /* Mobile padding */
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
    margin: 5rem 0 5rem 0;
    color: var(--text-color);
}

.hero-content .eyebrow {
    font-size: 0.7em;
    /* Mobile text */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    display: block;
}

.hero-content .cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
}

.hero-content .sub {
    font-size: 1rem;
    /* Mobile subtext */
    max-width: 700px;
    font-weight: 400;
    margin-bottom: 3rem;
}

.hero-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: grayscale(100%) contrast(120%);
}

.page-hero {
    padding: 6rem 0 4rem 0;
    text-align: center;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.page-hero h1 {
    margin-bottom: 1.5rem;
}

.page-hero p {
    margin: 0 auto;
    color: #666;
}

.manifesto-hero {
    padding: 8rem 0 6rem 0;
    border-bottom: 2px solid #000;
}

/* =========================================
   6. GRIDS & SHARED CARD/LIST STYLES
   ========================================= */
.section-header {
    margin-bottom: 3rem;
    text-align: left;
    align-items: center;
}

.pain-section,
.dark-section {
    background-color: var(--dark-bg-color);
    color: var(--dark-text-color);
}

.grid2,
.grid3 {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile First: 1 column */
    gap: 2rem;
    /* Handles spacing natively, no margin hacks needed */
}

/* CONSOLIDATED LISTS */
.pain-list,
.price-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.pain-list li,
.price-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
}

.pain-list li {
    margin-bottom: 0.5rem;
    border-bottom-color: #333;
    font-weight: 300;
}

.pain-list strong {
    color: var(--bg-color);
    font-weight: 900;
}

/* CONSOLIDATED CARDS */
.service-card,
.concept-card,
.price-card,
.trans-card {
    padding: 2rem;
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    position: relative;
}

/* Base Card Hover */
.service-card:hover,
.concept-card:hover,
.price-card:hover {
    transform: translateY(-5px);
    border-color: #000;
}

/* Card Specific Overrides */
.dark-section .concept-card {
    background: #1c2e40;
    border: none;
    border-left: 1px solid var(--autonomy-color);
}

.trans-card {
    background: #1c2e40;
    border-color: #333;
    text-align: center;
}

.trans-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.price-card {
    padding: 2.5rem;
    border-width: 2px;
}

.price-card:hover {
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.1);
}

.price-card.featured {
    border-color: var(--dark-border-color);
    background-color: var(--dark-bg-color);
    color: var(--dark-text-color);
}

.price-card.featured .price-amount {
    color: #fff;
}

.price-card.featured .btn {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}

.price-card.featured .btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.price-card.featured li {
    border-bottom: 1px solid var(--dark-border-color);
}

.price-card.unavailable {
    opacity: 0.5;
    pointer-events: none;
    user-select: none;
    background-color: #f4f4f4;
    overflow: hidden;
}

.price-card.unavailable::after {
    content: "coming soon";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #000;
    border: 4px solid #000;
    padding: 1rem 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 10;
    white-space: nowrap;
}

/* =========================================
   7. SPECIFIC COMPONENTS
   ========================================= */
.service-number {
    font-size: 3rem;
    font-weight: 800;
    color: #dcdcdc;
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* Trans Card internals */
.trans-top h3 {
    color: #999;
    font-size: 1.5rem;
    margin-bottom: 0;
}

.trans-bottom h3 {
    color: #fff;
    font-size: 2rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.trans-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 1.5rem 0;
    font-weight: 800;
}

.trans-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666;
    display: block;
    margin-bottom: 0.5rem;
}

.trans-label.highlight {
    color: var(--primary-color);
}

.trans-bottom p {
    color: #ccc;
    line-height: 1.6;
    margin: 0 auto;
    text-align: left;
}

/* Real Framework */
.real-step {
    display: flex;
    align-items: flex-start;
    border: 2px solid #000;
    padding: 2rem;
}

.real-letter {
    font-size: 4rem;
    font-weight: 800;
    line-height: 0.8;
    margin-right: 1.5rem;
    color: var(--primary-color);
}

/* About/Operator Section */
.about-section {
    display: flex;
    flex-direction: column;
}

.about-image {
    height: 300px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.about-content {
    padding: 4rem 1.5rem;
    background-color: #f9f9f9;
}

.operator-section {
    padding: 6rem 0;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.operator-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.operator-image {
    width: 100%;
    max-width: 400px;
    position: relative;
}

.profile-pic {
    width: 100%;
    height: auto;
    filter: grayscale(100%) contrast(110%);
    border: 1px solid #000;
    padding: 10px;
    background: #fff;
}

.operator-content {
    width: 100%;
    max-width: 600px;
}

.operator-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999;
    display: block;
    margin-bottom: 0.5rem;
}

.operator-content h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.operator-role {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2rem;
    display: block;
    border-bottom: 2px solid #000;
    padding-bottom: 2rem;
    width: 100px;
}

.operator-bio p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.operator-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #999;
    margin-top: 0.25rem;
}

/* Testimonials */
.testimonials-section {
    overflow: hidden;
}

.carousel-container {
    position: relative;
    max-width: 1024px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.testimonial-card {
    min-width: 100%;
    padding: 2rem 1rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: baseline;
}

.quote-mark {
    font-family: 'Times New Roman', serif;
    font-size: 6rem;
    line-height: 1;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.quote-text {
    font-size: 1.5rem;
    font-weight: 100;
    line-height: 1.4;
    margin-bottom: 2rem;
    max-width: 100%;
}

.author-name {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.author-role {
    display: block;
    font-size: 0.9rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.control-btn {
    background: transparent;
    border: 2px solid #ccc;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.control-btn:hover {
    border-color: #ff4500;
    color: #ff4500;
}

/* Legal Section */
.legal-section {
    background-color: #f4f4f4;
    padding: 4rem 0;
    margin-top: 4rem;
}

.legal-block h3 {
    margin-bottom: 1rem;
}

.legal-block p {
    font-size: 0.9rem;
    color: #666;
    max-width: 800px;
}

/* =========================================
   8. FOOTER
   ========================================= */
footer {
    background-color: var(--dark-bg-color);
    color: var(--dark-text-color);
    text-align: center;
    padding: 6rem 0 3rem 0;
    border-top: 1px solid var(--dark-border-color);
}

.footer-cta {
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.footer-cta p {
    margin-bottom: 2rem;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.social-icon {
    width: 32px;
    height: 32px;
    color: #fff;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

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

.footer-legal {
    border-top: 1px solid var(--dark-border-color);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.9rem;
}

.legal-links a {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #fff;
}

.separator {
    margin: 0 0.5rem;
    color: #444;
}

.copyright {
    color: var(--dark-text-color);
    font-size: 0.9em;
}

/* =========================================================================
   10. MEDIA QUERIES (Scaling up for Tablets & Desktops)
   ========================================================================= */

/* --- TABLETS & SMALL LAPTOPS (Min-width 768px) --- */
@media (min-width: 768px) {

    /* Type & Layout */
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.1rem;
    }

    .container {
        padding: 0 2rem;
    }

    /* Nav & Buttons */
    nav {
        flex-direction: row;
        justify-content: space-between;
    }

    .hamburger {
        display: none;
        /* Hide the button on large screens */
    }

    .nav-links {
        display: flex;
        /* Always show links on large screens */
        width: auto;
        flex-direction: row;
        padding: 0;
        background-color: transparent;
    }

    .btn {
        width: auto;
    }

    /* Hero Adjustments */
    .hero {
        min-height: 70vh;
        padding: 0;
    }

    .hero-content {
        padding: 0 2rem;
    }

    .hero-content h1 {
        font-size: clamp(3rem, 6vw, 4rem);
    }

    .hero-content .eyebrow {
        font-size: 0.9rem;
    }

    .hero-content .sub {
        font-size: 1.25rem;
    }

    /* Footer */
    .footer-legal {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    /* Grid Adjustments */
    .grid2,
    .grid3 {
        grid-template-columns: 1fr 1fr;
    }

    /* Audit Tool Adjustments */
    .score-grid {
        flex-direction: row;
        align-items: center;
    }

    .score-main {
        width: 30%;
        border-bottom: none;
        border-right: 1px dashed #ccc;
        padding-bottom: 0;
        padding-right: 2rem;
    }

    .diagnosis-box {
        width: 70%;
    }

    .fuel-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* --- DESKTOPS (Min-width 1024px) --- */
@media (min-width: 1024px) {

    /* Type & Padding */
    p {
        font-size: 1.15rem;
    }

    /* Grid Adjustments */
    .grid3 {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .section-padding {
        padding: var(--section-padding-desktop);
    }

    .section-header {
        text-align: center;
        display: grid;
        justify-content: center;
    }

    .quote-text {
        font-size: 1.5rem;
    }

    /* Hero Adjustments */
    .hero {
        min-height: 700px;
        flex-direction: row;
        align-items: center;
    }

    .hero-content h1 {
        margin: 3rem 0 5rem 0;
    }

    .hero-content .sub {
        font-size: 1rem;
    }

    /* About Section (Split Layout) */
    .about-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .about-image {
        height: auto;
    }

    .about-content {
        padding: 6rem;
    }

    /* Operator Section (Side by Side) */
    .operator-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 6rem;
    }

    .operator-image {
        width: 40%;
        position: sticky;
        top: 2rem;
    }

    .operator-content {
        width: 60%;
        padding-top: 2rem;
    }


    /* Featured Pricing Pop */
    .price-card.featured {
        transform: scale(1.05);
        z-index: 2;
        box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.1);
    }

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

    .trans-card {
        padding: 3rem 2rem;
    }
}






/* --- LARGE SCREENS (Min-width 1441px) --- */
@media (min-width: 1441px) {
    .about-content {
        padding: 6rem;
    }

    .hero {
        height: 100vh;

    }

    .hero-content {
        max-width: 1000px;
        align-items: center;
    }

    .hero-content h1 {
        font-size: clamp(3rem, 6vw, 5rem);
    }
}