:root {
    --cream: #fdf8f4;
    --cream-dark: #f5ede3;
    --cream-deeper: #ede0d0;
    --white: #ffffff;
    --orange: #e85d04;
    --orange-light: #f48c06;
    --orange-pale: #fef0e3;
    --orange-dark: #c44d00;
    --text-dark: #111827;
    --text-mid: #374151;
    --text-light: #6b7280;
    --border: #e5d9ce;
    --gold: #f59e0b;
}

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

body {
    font-family: 'Epilogue', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    overflow-x: hidden;
}

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

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
@keyframes integrationsMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(253, 248, 244, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    text-decoration: none;
}

.nav-logo img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: cover;
}

.nav-logo span span { color: var(--orange); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
    text-decoration: none;
    color: var(--text-mid);
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--orange); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-login {
    color: var(--text-mid);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}
.nav-cta {
    background: var(--orange);
    color: white;
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.2s;
}
.nav-cta:hover { background: var(--orange-dark); transform: translateY(-1px); }

.hero {
    min-height: 100vh;
    padding: 130px 5% 90px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        linear-gradient(var(--text-dark) 1px, transparent 1px),
        linear-gradient(90deg, var(--text-dark) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at 80% 40%, rgba(232, 93, 4, 0.07) 0%, transparent 70%);
}

.hero-inner {
    max-width: 1380px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(560px, 1.28fr);
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
}

.eyebrow-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--orange-pale);
    border: 1px solid rgba(232, 93, 4, 0.2);
    border-radius: 100px;
    padding: 0.3rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--orange);
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    animation: blink 2s infinite;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 5.5vw, 4.8rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--text-dark);
    margin-bottom: 1.8rem;
    animation: fadeIn 0.7s ease both;
}

.hero h1 .highlight {
    color: var(--orange);
    border-bottom: 3px solid var(--orange);
    padding-bottom: 2px;
}

.hero-sub {
    font-size: 1.08rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 2.8rem;
    font-weight: 300;
    max-width: 520px;
    animation: fadeIn 0.7s 0.15s ease both;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeIn 0.7s 0.25s ease both;
}

.btn-orange,
.plan-cta,
.cta-sub {
    background: var(--orange);
    color: white;
    text-decoration: none;
    transition: all 0.25s;
}

.btn-orange {
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 6px 20px rgba(232, 93, 4, 0.28);
}

.btn-orange:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(232, 93, 4, 0.38); }

.btn-ghost {
    background: transparent;
    color: var(--text-dark);
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1.5px solid var(--border);
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-ghost:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-pale); }

.hero-visual {
    animation: fadeIn 0.9s 0.2s ease both;
    position: relative;
    margin-right: -4vw;
}

.hero-screenshot-wrap {
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 22px;
    padding: 12px;
    box-shadow: 0 36px 90px rgba(17, 24, 39, 0.16), 0 8px 24px rgba(232, 93, 4, 0.08);
}

.hero-screenshot {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(17, 24, 39, 0.06);
    background: #f8fafc;
}

.section { padding: 100px 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-tag { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.2rem; }
.tag-line { width: 24px; height: 2px; background: var(--orange); }
.tag-text { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--orange); }
.section-h {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
}
.section-p { font-size: 1rem; color: var(--text-mid); max-width: 540px; line-height: 1.75; font-weight: 300; }

.integration-rail-section {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 34px 0;
    overflow: hidden;
}
.integration-rail-inner {
    width: 100%;
    overflow: hidden;
}
.integration-rail-track {
    display: flex;
    width: max-content;
    gap: 20px;
    animation: integrationsMarquee 34s linear infinite;
}
.integration-rail-mask {
    position: relative;
    overflow: hidden;
}
.integration-rail-mask::before,
.integration-rail-mask::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 110px;
    z-index: 2;
    pointer-events: none;
}
.integration-rail-mask::before {
    left: 0;
    background: linear-gradient(90deg, var(--white), rgba(255,255,255,0));
}
.integration-rail-mask::after {
    right: 0;
    background: linear-gradient(270deg, var(--white), rgba(255,255,255,0));
}
.integration-rail-mask:hover .integration-rail-track {
    animation-play-state: paused;
}
.integration-card-mini {
    width: 190px;
    min-height: 164px;
    background: var(--white);
    border: 1px solid #e8edf3;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.04);
    flex: 0 0 auto;
}
.integration-card-mini.active {
    border-color: rgba(46, 125, 50, 0.55);
    box-shadow: 0 16px 40px rgba(46, 125, 50, 0.1);
}
.integration-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #f3efff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.integration-icon-wrap img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}
.integration-icon-wrap.local img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
}
.integration-card-mini h3 {
    color: var(--text-dark);
    font-size: 1.05rem;
    margin-bottom: 0.55rem;
    font-weight: 700;
}
.integration-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}
.integration-status.active {
    background: rgba(46, 125, 50, 0.1);
    color: #2e7d32;
}
.integration-status.soon {
    background: var(--orange-pale);
    color: var(--orange);
}

.features-bg { background: var(--white); }
.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-top: 2.2rem;
}
.how-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.how-step {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--text-dark);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 1.4rem;
}
.how-card h3 { font-size: 1.15rem; color: var(--text-dark); margin-bottom: 0.7rem; }
.how-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }

.ai-section { background: var(--cream-dark); }
.ai-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 18px;
    padding: clamp(1.4rem, 4vw, 2.4rem);
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
}
.ai-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.ai-card-copy {
    color: var(--text-mid);
    line-height: 1.7;
    max-width: 520px;
}
.ai-logo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.ai-logo-card {
    background: var(--cream);
    border: 1px solid var(--cream-dark);
    border-radius: 14px;
    padding: 1.2rem;
    min-height: 136px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.ai-logo-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #f3efff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
}
.ai-logo-icon img { width: 32px; height: 32px; object-fit: contain; }
.ai-logo-card strong { color: var(--text-dark); font-size: 0.95rem; }

.pricing-section { background: linear-gradient(180deg, #f5ede3 0%, #efe2d4 100%); }
.pricing-panel {
    margin-top: 2.8rem;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75), 0 28px 70px rgba(17, 24, 39, 0.08);
}
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    margin: 0 0 2rem;
}
.billing-label {
    color: var(--text-mid);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
}
.billing-label.active { color: var(--text-dark); font-weight: 700; }
.toggle-switch {
    position: relative;
    width: 56px;
    height: 30px;
    flex-shrink: 0;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--border);
    border-radius: 999px;
    transition: 0.25s;
}
.toggle-slider::before {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    left: 4px;
    bottom: 4px;
    background: white;
    border-radius: 50%;
    transition: 0.25s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.14);
}
.toggle-switch input:checked + .toggle-slider { background: var(--orange); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(26px); }
.save-badge {
    background: var(--orange-pale);
    border: 1px solid rgba(232, 93, 4, 0.2);
    color: var(--orange);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
}
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; margin-top: 0; }
.price-card {
    background: #fffdf9;
    border: 2px solid rgba(17, 24, 39, 0.1);
    border-radius: 22px;
    padding: 2.2rem 1.8rem;
    position: relative;
    transition: all 0.3s;
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.1);
}
.price-card:hover { transform: translateY(-5px); box-shadow: 0 30px 70px rgba(17, 24, 39, 0.16); }
.price-card.featured {
    border-color: var(--orange);
    background: linear-gradient(175deg, #ffffff 0%, #fff6ed 100%);
    box-shadow: 0 30px 80px rgba(232, 93, 4, 0.18), 0 10px 30px rgba(17, 24, 39, 0.1);
}
.popular-pill {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}
.plan-tier { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--text-light); margin-bottom: 1rem; }
.price-amount {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}
.price-amount span {
    font-size: 1rem;
    font-family: 'Epilogue', sans-serif;
    color: var(--text-light);
    font-weight: 400;
}
.price-yearly { display: none; color: var(--orange); font-size: 0.82rem; font-weight: 700; margin-top: 0.55rem; }
.price-tagline { font-size: 0.85rem; color: var(--text-mid); margin: 0.8rem 0 1.5rem; line-height: 1.6; }
.divider { height: 1px; background: var(--border); margin-bottom: 1.4rem; }
.feature-list { list-style: none; margin-bottom: 2rem; }
.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.85rem;
    color: var(--text-mid);
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--cream-dark);
}
.check { color: var(--orange); font-weight: 700; flex-shrink: 0; }
.plan-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.85rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.88rem;
    box-shadow: 0 4px 14px rgba(232,93,4,0.25);
}
.plan-cta:hover { background: var(--orange-dark); transform: translateY(-1px); }
.plan-cta.ghost {
    background: transparent;
    color: var(--text-dark);
    border: 1.5px solid var(--border);
    box-shadow: none;
}
.plan-cta.ghost:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-pale); }

.faq-section { background: var(--cream-dark); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.6rem;
    transition: all 0.25s;
}
.faq-item:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.05); }
.faq-q { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.7rem; display: flex; align-items: flex-start; gap: 0.6rem; }
.faq-icon { color: var(--orange); flex-shrink: 0; }
.faq-a { font-size: 0.87rem; color: var(--text-mid); line-height: 1.7; padding-left: 1.4rem; }

.cta-wrap {
    background: linear-gradient(135deg, #1a0800 0%, #3d0f00 50%, #1a0800 100%);
    padding: 100px 5%;
    position: relative;
    overflow: hidden;
}
.cta-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(232,93,4,0.3) 0%, transparent 60%);
}
.cta-wrap-inner { max-width: 700px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.cta-h {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 700;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.2rem;
}
.cta-h span { color: var(--orange-light); }
.cta-p { font-size: 1.05rem; color: rgba(255,255,255,0.65); line-height: 1.75; margin-bottom: 2.5rem; font-weight: 300; }
.cta-form { display: flex; gap: 0.8rem; max-width: 500px; margin: 0 auto 1.5rem; }
.cta-inp {
    flex: 1;
    padding: 1rem 1.4rem;
    border-radius: 10px;
    border: 1.5px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: white;
    font-size: 0.95rem;
    font-family: 'Epilogue', sans-serif;
    outline: none;
    transition: all 0.25s;
}
.cta-inp::placeholder { color: rgba(255,255,255,0.35); }
.cta-inp:focus { border-color: var(--orange); background: rgba(255,255,255,0.12); }
.cta-sub {
    padding: 1rem 1.8rem;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    font-size: 0.92rem;
    font-family: 'Epilogue', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(232,93,4,0.4);
}
.cta-sub:hover { background: var(--orange-dark); transform: translateY(-2px); }
.guarantee-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}
.guarantee-item { display: flex; align-items: center; gap: 0.4rem; }
.guarantee-item::before { content: '✓'; color: var(--orange-light); font-weight: 700; }

footer {
    background: #0e0800;
    color: rgba(255,255,255,0.6);
    padding: 40px 5%;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-simple { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; text-align: center; }
.f-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
}
.f-logo img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    object-fit: cover;
}
.f-logo span span { color: var(--orange); }
.footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 1rem; font-size: 0.82rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.5rem; }
.footer-links a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }

@media (max-width: 1100px) {
        .hero-inner,
        .ai-logo-grid,
        .pricing-grid,
        .how-grid,
        .faq-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual { margin-right: 0; }

    .pricing-grid { gap: 1.5rem; }
    .how-grid { gap: 1.25rem; }
}

@media (max-width: 900px) {
    nav { padding: 0 1.25rem; }
    .nav-links { display: none; }
    .hero { padding: 110px 1.25rem 70px; }
    .section { padding: 72px 1.25rem; }
    .cta-wrap { padding: 72px 1.25rem; }
}

@media (max-width: 640px) {
    .nav-right { gap: 0.6rem; }
    .nav-cta { padding: 0.6rem 1rem; }
    .nav-login { font-size: 0.82rem; }
    .hero-ctas,
    .cta-form { flex-direction: column; }
    .btn-orange,
    .btn-ghost,
    .cta-sub { justify-content: center; width: 100%; }
    .billing-toggle { flex-wrap: wrap; }
    .ai-logo-card { min-height: 118px; }
    .integration-card-mini { width: 172px; min-height: 148px; }
}
    
