/* ============================================
   StudioAICore - Paper / Material Layered Design
   Unique layout: centered hero, bento features,
   horizontal pricing, sticky-note CTA, paper footer
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #3D5A80;
    --primary-dark: #2B4162;
    --primary-light: #5B8DB8;
    --secondary: #EE6C4D;
    --secondary-dark: #D4553A;

    --paper-bg: #F5F1EB;
    --paper-warm: #EDE8E0;
    --paper-cream: #FBF8F3;
    --card-white: #FFFFFF;
    --dark: #293241;
    --darker: #1C232E;
    --text: #3D3D3D;
    --text-light: #7A7A7A;
    --text-muted: #A0A0A0;

    --shadow-xs: 0 1px 2px rgba(0,0,0,0.06);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 24px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.06);
    --shadow-xl: 0 16px 32px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.06);
    --shadow-paper: 2px 2px 0 rgba(0,0,0,0.04), 4px 4px 0 rgba(0,0,0,0.02);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;

    --font: 'Nunito', sans-serif;
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background-color: var(--paper-bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Subtle paper grain */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

a { text-decoration: none; color: var(--primary); transition: var(--transition); }
a:hover { color: var(--secondary); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ============================================
   Header - Floating paper card nav
   ============================================ */
.header {
    position: fixed;
    top: 12px; left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1140px;
    z-index: 1000;
    background: var(--card-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md), var(--shadow-paper);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-lg), var(--shadow-paper);
    top: 8px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--dark);
    text-decoration: none;
}

.logo-icon {
    width: 34px;
    height: 34px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm), 2px 2px 0 var(--primary-dark);
    position: relative;
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--card-white);
    border-radius: 4px;
    opacity: 0.15;
}

.logo-icon svg {
    width: 18px; height: 18px;
    fill: white;
    position: relative;
    z-index: 1;
}

.nav { display: flex; align-items: center; gap: 2px; }

.nav a {
    padding: 6px 14px;
    color: var(--text);
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.nav a:hover {
    background: var(--paper-bg);
    color: var(--primary);
}

.nav-cta {
    background: var(--primary) !important;
    color: white !important;
    padding: 7px 18px !important;
    box-shadow: var(--shadow-sm), 2px 2px 0 var(--primary-dark);
    margin-left: 8px;
    border-radius: var(--radius-md) !important;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md), 3px 3px 0 var(--primary-dark) !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: none;
    z-index: 1001;
}

.hamburger span {
    width: 22px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s;
    backdrop-filter: blur(4px);
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* ============================================
   Hero - Centered, no split layout
   ============================================ */
.hero {
    padding: 130px 0 40px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Decorative floating paper scraps */
.hero-decor {
    position: absolute;
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.5;
}

.hero-decor-1 {
    width: 180px;
    height: 120px;
    background: var(--paper-cream);
    top: 100px;
    left: -40px;
    transform: rotate(-8deg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.04);
}

.hero-decor-2 {
    width: 140px;
    height: 100px;
    background: rgba(61,90,128,0.06);
    top: 160px;
    right: -20px;
    transform: rotate(6deg);
    box-shadow: var(--shadow-sm);
}

.hero-decor-3 {
    width: 100px;
    height: 80px;
    background: rgba(238,108,77,0.06);
    bottom: 120px;
    left: 60px;
    transform: rotate(-3deg);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-md);
}

.hero-center {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.hero-stamp {
    display: inline-flex;
    padding: 6px 16px;
    border: 2.5px dashed var(--secondary);
    border-radius: var(--radius-sm);
    transform: rotate(-2deg);
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 1.5px;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.12;
    color: var(--dark);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero h1 span {
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: -4px;
    right: -4px;
    height: 14px;
    background: var(--secondary);
    opacity: 0.18;
    border-radius: 4px;
    z-index: -1;
    transform: rotate(-0.5deg);
}

.hero-desc {
    font-size: 1.18rem;
    color: var(--text-light);
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Buttons - Paper tactile style
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.92rem;
    font-family: var(--font);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-sm {
    padding: 9px 20px;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md), 3px 3px 0 var(--primary-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 4px 4px 0 var(--primary-dark);
    color: white;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-xs), 1px 1px 0 var(--primary-dark);
}

.btn-outline {
    background: var(--card-white);
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-sm), 2px 2px 0 rgba(61, 90, 128, 0.12);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), 3px 3px 0 var(--primary-dark);
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
    font-weight: 700;
    padding: 13px 16px;
}

.btn-ghost:hover {
    color: var(--secondary);
    background: rgba(238,108,77,0.06);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
    box-shadow: var(--shadow-md), 3px 3px 0 var(--secondary-dark);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 4px 4px 0 var(--secondary-dark);
    color: white;
}

/* ============================================
   Notebook Chat Demo (hero) - unique element
   ============================================ */
.hero-notebook {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    display: flex;
}

.notebook-spine {
    width: 28px;
    flex-shrink: 0;
    background: var(--primary-dark);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    position: relative;
    box-shadow: inset -3px 0 6px rgba(0,0,0,0.15);
}

.notebook-spine::before {
    content: '';
    position: absolute;
    top: 20px; bottom: 20px;
    left: 6px; right: 6px;
    background: repeating-linear-gradient(
        180deg,
        transparent 0px,
        transparent 18px,
        rgba(255,255,255,0.12) 18px,
        rgba(255,255,255,0.12) 20px
    );
    border-radius: 2px;
}

.notebook-page {
    flex: 1;
    background: var(--card-white);
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
    overflow: hidden;
    box-shadow: var(--shadow-xl), 6px 6px 0 rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.05);
    border-left: none;
}

.notebook-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--paper-bg);
    border-bottom: 2px solid rgba(0,0,0,0.05);
}

.notebook-dots {
    display: flex;
    gap: 6px;
}

.notebook-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.12);
    background: transparent;
}

.notebook-dots span:nth-child(1) { border-color: #e74c3c; background: rgba(231,76,60,0.15); }
.notebook-dots span:nth-child(2) { border-color: #f39c12; background: rgba(243,156,18,0.15); }
.notebook-dots span:nth-child(3) { border-color: #2ecc71; background: rgba(46,204,113,0.15); }

.notebook-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

.notebook-shadow {
    position: absolute;
    bottom: -10px;
    left: 40px; right: 12px;
    height: 20px;
    background: var(--card-white);
    border-radius: 0 0 var(--radius-xl) 0;
    box-shadow: var(--shadow-md);
    opacity: 0.4;
    z-index: -1;
}

.chat-demo-messages {
    padding: 20px;
    min-height: 200px;
    max-height: 260px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* Lined paper effect */
    background:
        repeating-linear-gradient(
            transparent,
            transparent 27px,
            rgba(61,90,128,0.06) 27px,
            rgba(61,90,128,0.06) 28px
        ),
        linear-gradient(90deg, transparent 39px, rgba(238,108,77,0.12) 39px, rgba(238,108,77,0.12) 41px, transparent 41px);
    background-size: 100% 28px, 100% 100%;
    padding-left: 52px;
}

.chat-demo-msg {
    max-width: 85%;
    padding: 10px 16px;
    border-radius: var(--radius-lg);
    font-size: 0.88rem;
    line-height: 1.5;
}

.chat-demo-msg.bot {
    background: var(--paper-cream);
    border: 1px solid rgba(0,0,0,0.06);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    box-shadow: var(--shadow-xs);
}

.chat-demo-msg.user {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
    box-shadow: var(--shadow-sm), 2px 2px 0 rgba(61,90,128,0.2);
}

.chat-demo-input {
    display: flex;
    gap: 8px;
    padding: 14px 20px;
    border-top: 2px solid rgba(0,0,0,0.05);
    background: var(--paper-bg);
}

.chat-demo-input input {
    flex: 1;
    padding: 10px 16px;
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-md);
    font-family: var(--font);
    font-size: 0.88rem;
    background: var(--card-white);
    color: var(--text);
    outline: none;
    transition: var(--transition);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.04);
}

.chat-demo-input input:focus {
    border-color: var(--primary);
    box-shadow: var(--shadow-xs);
}

.chat-demo-input button {
    width: 40px; height: 40px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm), 2px 2px 0 var(--primary-dark);
    transition: var(--transition);
    flex-shrink: 0;
}

.chat-demo-input button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ============================================
   Ribbon marquee strip
   ============================================ */
.ribbon-strip {
    background: var(--primary);
    padding: 14px 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(61,90,128,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
    margin: 48px 0 0;
    transform: rotate(-0.5deg);
}

.ribbon-track {
    display: flex;
    gap: 48px;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.ribbon-track span {
    color: white;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

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

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 88px 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    display: inline-block;
    background: var(--card-white);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(61,90,128,0.1);
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 540px;
    margin: 0 auto;
}

/* ============================================
   Bento Grid Features - unique layout
   ============================================ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 18px;
}

.bento-card {
    background: var(--card-white);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    box-shadow: var(--shadow-md), var(--shadow-paper);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
}

.bento-card:hover {
    transform: translateY(-3px) rotate(-0.3deg);
    box-shadow: var(--shadow-xl), 5px 5px 0 rgba(0,0,0,0.04);
}

.bento-wide {
    grid-column: span 2;
}

.bento-accent {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-lg), 4px 4px 0 var(--primary-dark);
}

.bento-accent .bento-number {
    color: rgba(255,255,255,0.25);
}

.bento-accent h3 { color: white; }
.bento-accent p { color: rgba(255,255,255,0.8); }

.bento-accent .bento-tag {
    background: rgba(255,255,255,0.15);
    color: white;
    border-color: rgba(255,255,255,0.2);
}

.bento-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(61,90,128,0.08);
    line-height: 1;
    position: absolute;
    top: 16px;
    right: 20px;
}

.bento-content {
    position: relative;
    z-index: 1;
}

.bento-content h3 {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.bento-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
}

.bento-tag {
    display: inline-block;
    margin-top: 16px;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1.5px solid rgba(61,90,128,0.15);
    border-radius: 50px;
    color: var(--primary);
    background: rgba(61,90,128,0.04);
    align-self: flex-start;
}

/* ============================================
   Pricing - Horizontal stacked rows
   ============================================ */
.pricing-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-row {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--card-white);
    border-radius: var(--radius-xl);
    padding: 28px 32px;
    box-shadow: var(--shadow-md), var(--shadow-paper);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
    position: relative;
}

.pricing-row:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-lg), 5px 5px 0 rgba(0,0,0,0.04);
}

.pricing-row-featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg), 4px 4px 0 var(--primary-dark);
    padding: 32px 32px;
}

.pricing-row-featured:hover {
    box-shadow: var(--shadow-xl), 6px 6px 0 var(--primary-dark);
}

.pricing-ribbon {
    position: absolute;
    top: -1px; right: 32px;
    background: var(--secondary);
    color: white;
    padding: 4px 14px 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.pricing-row-left {
    flex: 1;
    min-width: 0;
}

.pricing-row-left h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}

.pricing-row-left p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pricing-row-center {
    flex: 1.5;
}

.pricing-features-inline {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pricing-features-inline li {
    padding: 4px 12px;
    background: var(--paper-bg);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    border: 1px solid rgba(0,0,0,0.04);
}

.pricing-row-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.pricing-row-right .price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
}

.pricing-row-right .price span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ============================================
   Sticky Note cluster - Coming Soon
   ============================================ */
.sticky-cluster {
    display: flex;
    justify-content: center;
    gap: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
    position: relative;
    padding: 20px 0;
}

.sticky-note {
    padding: 28px 24px;
    border-radius: 2px 2px var(--radius-md) var(--radius-md);
    position: relative;
    box-shadow: var(--shadow-lg), 3px 3px 0 rgba(0,0,0,0.06);
    transition: var(--transition);
    font-size: 0.92rem;
    line-height: 1.6;
}

.sticky-note:hover {
    transform: translateY(-4px) rotate(0deg);
    box-shadow: var(--shadow-xl), 5px 5px 0 rgba(0,0,0,0.06);
}

.sticky-yellow {
    background: #FFF9C4;
    transform: rotate(-2deg);
    max-width: 360px;
    text-align: center;
    z-index: 2;
}

.sticky-blue {
    background: #BBDEFB;
    transform: rotate(3deg);
    padding: 24px 20px;
    width: 160px;
    text-align: center;
    z-index: 1;
}

.sticky-coral {
    background: #FFCCBC;
    transform: rotate(-4deg);
    padding: 24px 20px;
    width: 160px;
    text-align: center;
    z-index: 1;
}

.sticky-pin {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: var(--dark);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.3);
}

.sticky-note h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.sticky-note p {
    color: var(--text);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.sticky-note strong {
    font-size: 1.1rem;
    color: var(--dark);
}

.construction-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 12px;
}

/* ============================================
   Footer - Paper strip with CTA bar
   ============================================ */
.footer {
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.footer-top {
    background: var(--card-white);
    padding: 0;
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.footer-cta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 0;
    gap: 24px;
}

.footer-cta-strip h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}

.footer-cta-strip p {
    font-size: 0.92rem;
    color: var(--text-light);
}

.footer-main {
    background: var(--paper-warm);
    padding: 48px 0 28px;
}

.footer-cols {
    display: flex;
    gap: 60px;
    margin-bottom: 36px;
}

.footer-brand {
    flex: 1;
    max-width: 320px;
}

.footer-brand p {
    margin-top: 12px;
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.7;
}

.footer-links-group {
    display: flex;
    gap: 48px;
    flex: 1;
}

.footer-links-group h4 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.footer-links-group ul {
    list-style: none;
}

.footer-links-group ul li {
    margin-bottom: 8px;
}

.footer-links-group ul a {
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 500;
}

.footer-links-group ul a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 20px;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ============================================
   Animations
   ============================================ */
[data-animate] {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate="fade-up"] { transform: translateY(30px); }
[data-animate="fade-left"] { transform: translateX(-30px); }
[data-animate="fade-right"] { transform: translateX(30px); }
[data-animate="fade-in"] { transform: scale(0.95); }
[data-animate].visible { opacity: 1; transform: none; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 968px) {
    .hamburger { display: flex; }

    .header {
        width: calc(100% - 24px);
        top: 8px;
        border-radius: var(--radius-lg);
    }

    .nav {
        position: fixed;
        top: 0; right: -300px;
        width: 280px;
        height: 100vh;
        background: var(--card-white);
        flex-direction: column;
        padding: 80px 24px 24px;
        box-shadow: var(--shadow-xl);
        transition: right 0.3s;
        z-index: 999;
        align-items: stretch;
    }

    .nav.active { right: 0; }

    .nav a { padding: 12px 16px; font-size: 1rem; }
    .nav-cta { text-align: center; margin-left: 0 !important; margin-top: 8px; }

    .hero h1 { font-size: 2.6rem; }

    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-wide { grid-column: span 2; }

    .pricing-row {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        text-align: center;
    }

    .pricing-row-right {
        justify-content: center;
    }

    .pricing-features-inline {
        justify-content: center;
    }

    .footer-cols { flex-direction: column; gap: 32px; }
    .footer-links-group { gap: 32px; }

    .footer-cta-strip {
        flex-direction: column;
        text-align: center;
    }

    .sticky-blue, .sticky-coral { display: none; }
    .sticky-yellow { max-width: 100%; transform: none; }
}

@media (max-width: 640px) {
    .hero { padding: 110px 0 32px; }
    .hero h1 { font-size: 2rem; }
    .hero-desc { font-size: 1rem; }

    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; justify-content: center; max-width: 300px; }

    .bento-grid { grid-template-columns: 1fr; }
    .bento-wide { grid-column: span 1; }

    .section-header h2 { font-size: 1.8rem; }

    .hero-decor { display: none; }

    .ribbon-strip { transform: none; }

    .hero-notebook { margin: 0 -12px; }
    .notebook-spine { width: 20px; }

    .footer-links-group { flex-direction: column; gap: 24px; }
}
