/* Kaleko Font Face */
@font-face {
    font-family: 'Kaleko';
    src: url('fonnts.com-Kaleko105Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Kaleko';
    src: url('fonnts.com-Kaleko105BoldOblique.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

/* Reset & Vars */
:root {
    --bg: #ffffff;
    --text: #111111;
    --text-light: #666666;

    --blue-badge: #3B82F6;
    --blue-accent: #2563EB;

    --star-blue: #3B82F6;
    --star-green: #34D399;
    --star-red: #F43F5E;

    /* Using Kaleko as main font */
    --font-main: 'Kaleko', 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Lenis Recommended Styles */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-main);
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-section {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-left a {
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-left a:hover {
    color: black;
}

.brand-logo-img {
    height: 28px;
    width: auto;
    display: block;
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-right {
    gap: 12px;
    margin-left: auto;
}

.btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    cursor: pointer;
    display: inline-block;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: 8px;
}

.btn-outline {
    border: 2px solid #eee;
    background: transparent;
    color: #333;
}

.btn-outline:hover {
    border-color: #000;
    color: #000;
}

.btn-solid {
    background: #000;
    color: #fff;
    border: 2px solid #000;
}

.btn-solid:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-1px);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    padding-top: 80px;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(80px);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 900px;
}

.quote-author {
    color: var(--text-light);
    margin-bottom: 32px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
}

/* Typography Updates */
.headline {
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 48px;
    color: #000;
}

.headline.small {
    font-size: 3.5rem;
}

.line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.badge-blue {
    background-color: var(--blue-badge);
    color: white;
    padding: 4px 24px;
    border-radius: 50px;
    transform: rotate(-2deg);
    display: inline-block;
    font-weight: 600;
    font-size: 0.8em;
    vertical-align: middle;
}

.text-bold {
    color: var(--blue-accent);
}

/* Stars */
.star {
    position: absolute;
    font-size: 3rem;
    animation: float 6s ease-in-out infinite;
    opacity: 0.8;
}

.star-blue {
    color: var(--star-blue);
    top: 20%;
    left: 15%;
    transform: rotate(-15deg);
}

.star-green {
    color: var(--star-green);
    top: 25%;
    right: 15%;
    animation-delay: 2s;
    transform: rotate(15deg);
    font-size: 2rem;
}

.star-red {
    color: var(--star-red);
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
    transform: rotate(-10deg);
    font-size: 2.2rem;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

.scroll-indicator {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin-top: 80px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.chevron {
    width: 10px;
    height: 10px;
    border-right: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    40% {
        transform: translateY(6px) rotate(45deg);
    }

    60% {
        transform: translateY(3px) rotate(45deg);
    }
}

/* Utils */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: -40px;
    margin-bottom: 60px;
}

.text-center {
    text-align: center;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background: #fff;
    padding: 48px 32px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.05));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
}

.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 28px;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.bg-blue {
    background: var(--blue-badge);
}

.bg-green {
    background: var(--star-green);
}

.bg-red {
    background: var(--star-red);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

/* Ecosystem */
.bg-light {
    background: #fafafa;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.eco-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    font-size: 2rem;
    font-weight: 700;
    color: #ddd;
    flex-wrap: wrap;
}

.eco-item {
    transition: 0.3s;
    cursor: default;
}

.eco-item:hover {
    color: #111;
}

.cta-container {
    text-align: center;
    margin-top: 20px;
}

/* Black Footer */
.footer-black {
    background: #050505;
    color: #fff;
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo-img {
    height: 24px;
    width: auto;
    margin-bottom: 24px;
    opacity: 0.9;
}

.footer-desc {
    color: #888;
    font-size: 0.95rem;
    max-width: 300px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: #555;
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-socials a:hover {
    color: #fff;
}

.footer-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 24px;
    letter-spacing: 0.1em;
}

.footer-col a {
    display: block;
    color: #aaa;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom-bar {
    border-top: 1px solid #222;
    padding-top: 40px;
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    color: #444;
    font-size: 0.85rem;
    padding-left: 24px;
    padding-right: 24px;
}

/* Mobile */
@media(max-width: 900px) {
    .navbar {
        padding: 16px 20px;
    }

    .nav-left {
        display: none;
    }

    .headline {
        font-size: 3rem;
    }

    .line {
        flex-direction: column;
        gap: 5px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-glow {
        width: 300px;
        height: 300px;
    }
}

/* --- DOCS PAGE STYLES --- */
.docs-body {
    background-color: #fcfcfc;
}

.docs-nav {
    background: white;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
}

.docs-wrapper {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    min-height: calc(100vh - 80px);
    padding-top: 80px;
}

.docs-sidebar {
    width: 280px;
    padding: 40px 24px;
    border-right: 1px solid #eee;
    height: calc(100vh - 80px);
    position: fixed;
    top: 80px;
    left: max(0px, calc(50vw - 700px));
    overflow-y: auto;
    background: #fff;
    z-index: 50;
}

.sidebar-group {
    margin-bottom: 32px;
}

.sidebar-group h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.sidebar-group a {
    display: block;
    padding: 8px 12px;
    color: #444;
    font-size: 0.9rem;
    border-radius: 6px;
    margin-bottom: 4px;
    font-weight: 500;
}

.sidebar-group a:hover {
    background: #f5f5f5;
    color: #000;
}

.sidebar-group a.active {
    background: #eff6ff;
    color: var(--blue-accent);
}

.docs-content {
    flex: 1;
    margin-left: 280px;
    padding: 60px 80px;
    background: #fff;
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
}

.doc-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.doc-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 40px 0;
}

article h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 40px 0 20px;
}

article p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 24px;
}

article strong {
    color: #000;
    font-weight: 600;
}

.doc-list {
    list-style: disc;
    margin-left: 24px;
    margin-bottom: 24px;
}

.doc-list li {
    margin-bottom: 10px;
    color: #444;
}

.callout {
    background: #fdfdfd;
    border: 1px solid #eee;
    border-left: 4px solid var(--blue-accent);
    padding: 20px;
    border-radius: 8px;
    margin: 24px 0;
    font-size: 1rem;
    color: #444;
}

.docs-footer {
    margin-top: 100px;
    padding-top: 40px;
    border-top: 1px solid #eee;
    color: #888;
    font-size: 0.9rem;
    text-align: center;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

@media(max-width: 900px) {
    .docs-wrapper {
        flex-direction: column;
    }

    .docs-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
        left: 0;
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .docs-content {
        margin-left: 0;
        padding: 40px 20px;
    }
}

/* --- ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scale-in.active {
    opacity: 1;
    transform: scale(1);
}


/* Dramatic Pop-In for Hero Text */
@keyframes popIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero-word {
    display: inline-block;
    opacity: 0;
    animation: popIn 0.8s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

.stagger-1 {
    animation-delay: 0.1s;
}

.stagger-2 {
    animation-delay: 0.2s;
}

.stagger-3 {
    animation-delay: 0.3s;
}

.stagger-4 {
    animation-delay: 0.4s;
}

.stagger-5 {
    animation-delay: 0.5s;
}


/* --- NARRATIVE LAYOUT --- */
.narrative-section {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.narrative-section.text-left {
    align-items: flex-start;
    text-align: left;
}

.narrative-section.text-right {
    align-items: flex-end;
    text-align: right;
}

.narrative-section.text-center {
    align-items: center;
    text-align: center;
}

.narrative-headline {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 32px;
    color: #000;
}

.narrative-desc {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Enhancing the flow */
.narrative-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.03);
    margin-bottom: -20px;
    z-index: -1;
}


/* --- APPLE STYLE REDESIGN --- */
body {
    background-color: #fff;
    color: #1d1d1f;
    letter-spacing: -0.01em;
}

.apple-section {
    padding: 120px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.apple-headline {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 24px;
}

.apple-sub {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    color: #86868b;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
    line-height: 1.4;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.bento-card {
    background: #fbfbfd;
    border-radius: 30px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid rgba(0, 0, 0, 0.02);
    overflow: hidden;
    position: relative;
    min-height: 400px;
}

.bento-card:hover {
    transform: scale(1.02);
}

.bento-card.dark {
    background: #1d1d1f;
    color: #f5f5f7;
}

.bento-card.dark .bento-desc {
    color: #a1a1a6;
}

.bento-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.bento-desc {
    font-size: 1.2rem;
    color: #86868b;
    line-height: 1.5;
    font-weight: 500;
}

.bento-icon {
    font-size: 4rem;
    margin-bottom: auto;
}

/* Cinematic Reveal */
.cinematic-reveal {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinematic-reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}


/* --- CREATIVE STYLE RESTORATION --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

.creative-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 85vh;
    position: relative;
    text-align: center;
}

.mixed-headline {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 10;
}

.mixed-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.word-badge {
    background: #3B82F6;
    color: white;
    padding: 2px 24px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    transform: rotate(-2deg);
    display: inline-block;
    font-size: 0.9em;
}

.word-serif {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #60A5FA;
    /* Light Blue */
    font-weight: 400;
}

.word-bold {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.03em;
}

/* Ensure Footer is Static (Override reveal) */
.footer-black.static {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* Floating Elements */
.float-icon {
    position: absolute;
    font-size: 2rem;
    animation: float-anim 6s ease-in-out infinite;
}

@keyframes float-anim {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}


/* --- DARK MODE BENTO (MacBook Pro Style) --- */
.section-black {
    background-color: #000000;
    color: #f5f5f7;
    padding: 120px 0;
}

.section-black .apple-headline {
    color: #f5f5f7;
}

.bento-card-dark {
    background: #151516;
    /* Deep MacBook Grey */
    border-radius: 30px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid #333;
    overflow: hidden;
    position: relative;
    min-height: 480px;
    /* Taller for impact */
    color: #f5f5f7;
}

.bento-card-dark:hover {
    transform: scale(1.03);
    background: #1c1c1e;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    border-color: #555;
    z-index: 10;
}

.bento-card-dark p {
    color: #a1a1a6;
    /* Apple Gray Text */
}

.glow-text {
    background: linear-gradient(135deg, #fff 0%, #888 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.icon-glow {
    font-size: 5rem;
    margin-bottom: auto;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
    transition: 0.5s;
}

.bento-card-dark:hover .icon-glow {
    transform: scale(1.1);
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
}

/* Global Font Variables */
:root {
    --font-serif: 'Playfair Display', serif;
}

.text-serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

/* Support Page Specific */
.faq {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
}

.faq-item {
    background: #151516;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 16px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #111;
    padding: 0 16px;
    color: #ccc;
    transition: max-height 0.4s ease;
}

.faq-answer.open {
    max-height: 200px;
    padding: 16px;
}

/* Contact Page Specific */
.contact-input {
    width: 100%;
    padding: 16px;
    background: #222;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.2s;
    font-family: var(--font-main);
}

.contact-input:focus {
    outline: none;
    background: #333;
    border-color: #555;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

@media(max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr !important;
    }
}

/* --- RESPONSIVE UTILITIES & MOBILE OPTIMIZATIONS --- */

/* Desktop Defaults for Utilities */
.col-span-2 {
    grid-column: span 2;
}

.text-left {
    text-align: left;
}

.mb-60 {
    margin-bottom: 60px;
}

.section-large-padding {
    padding: 150px 0;
}

.headline-large {
    font-size: 4rem;
}

/* Tablet (Existing - Refined) */
@media(max-width: 900px) {
    .navbar {
        padding: 16px 20px;
    }

    .nav-left {
        display: none;
    }

    .nav-center img {
        height: 24px;
    }

    .nav-right .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .headline {
        font-size: 3rem;
    }

    .line {
        flex-direction: column;
        gap: 5px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: left;
    }

    .hero-glow {
        width: 300px;
        height: 300px;
    }

    .section-large-padding {
        padding: 100px 0;
    }

    .bento-grid {
        /* Ensure 2 columns on tablet if space permits, fallback to 1 */
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Mobile (Phone) Optimization (< 600px) */
@media(max-width: 600px) {

    /* Global Container */
    .container {
        padding: 0 20px;
    }

    .section {
        padding: 60px 0;
    }

    .section-large-padding {
        padding: 80px 0;
    }

    /* Navbar Compact */
    .navbar {
        justify-content: center;
        /* Center everything */
        padding: 12px 16px;
    }

    .nav-center {
        position: static;
        /* Remove absolute positioning */
        transform: none;
        margin-right: auto;
    }

    .nav-right {
        margin-left: 0;
    }

    /* Hero Section */
    .hero {
        padding-top: 120px;
        /* More space for nav */
        min-height: auto;
        padding-bottom: 60px;
    }

    .mixed-headline {
        font-size: 2.8rem;
        /* Smaller headline */
        gap: 8px;
    }

    .word-badge {
        font-size: 0.7em;
        padding: 2px 16px;
    }

    .quote-author {
        font-size: 0.75rem;
    }

    /* Hide decorative floaters that might overlap text */
    .float-icon {
        opacity: 0.5;
        font-size: 1.5rem;
    }

    .star-blue {
        top: 10%;
        left: 5%;
    }

    .star-green {
        top: 15%;
        right: 5%;
    }

    .star-red {
        bottom: 10%;
        left: 10%;
    }

    /* Bento Grid Mobile */
    .bento-grid {
        display: flex;
        /* Stack vertically strictly */
        flex-direction: column;
        gap: 24px;
        margin-top: 40px;
    }

    .col-span-2 {
        grid-column: auto;
        /* Reset span */
    }

    .bento-card,
    .bento-card-dark {
        min-height: auto;
        /* Allow content to dictate height */
        padding: 30px 24px;
        /* Reduced padding */
        height: auto;
    }

    .bento-title {
        font-size: 1.8rem;
    }

    .bento-desc {
        font-size: 1rem;
    }

    .icon-glow,
    .bento-icon {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 24px !important;
    }

    /* Headlines */
    .apple-headline,
    .headline-large {
        font-size: 2.5rem !important;
        /* Force smaller size */
        margin-bottom: 24px !important;
        line-height: 1.1;
    }

    .apple-sub {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }

    .mb-60 {
        margin-bottom: 40px;
        /* Compact margin */
    }

    /* Footer */
    .footer-black {
        padding: 60px 0 30px;
    }

    .footer-grid {
        gap: 30px;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding-top: 20px;
    }

    /* Buttons */
    .btn-lg {
        width: 100%;
        /* Full width buttons on mobile */
        display: block;
        padding: 16px 0;
    }
}

/* Additional Utilities */
.min-h-50vh {
    min-height: 50vh;
}

.headline-medium {
    font-size: 4rem;
}

@media(max-width: 600px) {
    .min-h-50vh {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .headline-medium {
        font-size: 2.5rem;
    }
}

/* Form Utilities */
.form-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
}

.min-h-80vh {
    min-height: 80vh;
}