:root {
    --app-brand: #f45d24;
    --app-brand-dark: #d94712;
    --app-hot: #ec1d47;
    --app-ink: #101828;
    --app-muted: #596579;
    --app-line: rgba(16, 24, 40, 0.1);
    --app-surface: #ffffff;
    --app-soft: #f7f8fb;
    --app-shadow: 0 26px 70px rgba(31, 42, 68, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--app-ink);
    background: var(--app-soft);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.app-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(16, 24, 40, 0.07);
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.app-nav {
    width: min(1180px, calc(100% - 40px));
    min-height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand img,
.footer-brand img {
    display: block;
    width: auto;
    object-fit: contain;
}

.brand img { height: 48px; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links a { color: #344054; font-size: 0.93rem; font-weight: 650; text-decoration: none; }
.nav-links a:hover { color: var(--app-brand-dark); }

.nav-action,
.primary-button,
.secondary-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 22px;
    font-weight: 750;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-action,
.primary-button {
    color: #fff;
    background: linear-gradient(135deg, var(--app-brand), var(--app-hot));
    box-shadow: 0 13px 28px rgba(235, 54, 55, 0.22);
}

.nav-action { min-height: 42px; padding: 0 19px; font-size: 0.9rem; }
.secondary-button { color: #202939; border: 1px solid var(--app-line); background: rgba(255, 255, 255, 0.84); }
.nav-action:hover,
.primary-button:hover,
.secondary-button:hover { transform: translateY(-2px); }

.hero {
    position: relative;
    overflow: hidden;
    padding: 94px 20px 84px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 246, 0.96)),
        var(--app-soft);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    background-image: radial-gradient(rgba(244, 93, 36, 0.18) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(to right, #000, transparent 58%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    pointer-events: none;
}

.hero-glow-one { width: 430px; height: 430px; top: -190px; right: -60px; background: rgba(244, 93, 36, 0.13); }
.hero-glow-two { width: 300px; height: 300px; bottom: -180px; left: 25%; background: rgba(236, 29, 71, 0.09); }

.hero-inner,
.purpose-section,
.signin-section,
.control-section,
.final-cta,
.app-footer {
    width: min(1180px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
    align-items: center;
    gap: 72px;
}

.eyebrow {
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--app-brand-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.eyebrow span { width: 28px; height: 3px; border-radius: 99px; background: linear-gradient(90deg, var(--app-brand), var(--app-hot)); }

.hero h1 {
    max-width: 720px;
    margin: 0;
    font-family: Outfit, Inter, sans-serif;
    font-size: clamp(3.35rem, 6vw, 5.9rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 750;
}

.hero h1 strong {
    display: block;
    color: transparent;
    background: linear-gradient(110deg, var(--app-brand-dark), var(--app-hot));
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-lead {
    max-width: 670px;
    margin: 28px 0 0;
    color: var(--app-muted);
    font-size: 1.12rem;
    line-height: 1.75;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; color: #465267; font-size: 0.86rem; font-weight: 650; }
.trust-list span { width: 21px; height: 21px; margin-right: 5px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #067647; background: #dcfae6; font-size: 0.72rem; }

.product-preview {
    position: relative;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--app-shadow);
    transform: rotate(1.4deg);
}

.product-preview::before {
    content: "";
    position: absolute;
    inset: 14px -18px -18px 20px;
    z-index: -1;
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(244, 93, 36, 0.18), rgba(236, 29, 71, 0.08));
}

.preview-topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 2px 2px 20px; }
.preview-brand { display: flex; align-items: center; gap: 11px; }
.preview-brand img { border-radius: 11px; }
.preview-brand div { display: grid; }
.preview-brand span { font-family: Outfit, sans-serif; font-weight: 800; }
.preview-brand small { color: #7b8495; margin-top: 2px; }
.secure-chip { padding: 8px 12px; border-radius: 999px; color: #067647; background: #e9f9ef; font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }

.preview-welcome {
    padding: 30px;
    border-radius: 25px;
    color: #fff;
    background: linear-gradient(135deg, #151a27, #262e42 62%, #d94a21 170%);
}

.preview-kicker { color: #ffb39b; font-size: 0.68rem; letter-spacing: 0.14em; font-weight: 800; }
.preview-welcome strong { display: block; margin-top: 10px; font-family: Outfit, sans-serif; font-size: 2.1rem; line-height: 1.1; }
.preview-welcome p { margin: 12px 0 0; color: #ccd2dd; font-size: 0.9rem; }
.preview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px; }
.preview-grid article { min-height: 126px; padding: 18px; display: flex; flex-direction: column; border-radius: 20px; border: 1px solid var(--app-line); background: #fff; }
.preview-icon { width: 35px; height: 35px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; color: var(--app-brand-dark); background: #fff0ea; font-size: 0.68rem; font-weight: 900; }
.preview-grid strong { margin-top: auto; font-size: 0.96rem; }
.preview-grid small { margin-top: 3px; color: #7a8496; }

.purpose-section { padding: 110px 0; }
.section-heading { max-width: 770px; margin-bottom: 46px; }
.section-heading h2,
.signin-copy h2,
.control-copy h2,
.final-cta h2 { margin: 0; font-family: Outfit, Inter, sans-serif; font-size: clamp(2.3rem, 4.4vw, 4.1rem); line-height: 1.06; letter-spacing: -0.04em; }
.section-heading > p:last-child,
.control-copy > p:last-child { color: var(--app-muted); font-size: 1.04rem; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { min-height: 285px; padding: 27px; display: flex; flex-direction: column; border: 1px solid var(--app-line); border-radius: 25px; background: var(--app-surface); box-shadow: 0 10px 35px rgba(28, 37, 56, 0.05); }
.feature-number { color: var(--app-brand-dark); font-size: 0.8rem; font-weight: 900; letter-spacing: 0.1em; }
.feature-card h3 { margin: auto 0 12px; font-family: Outfit, sans-serif; font-size: 1.42rem; }
.feature-card p { margin: 0; color: var(--app-muted); font-size: 0.93rem; line-height: 1.65; }

.signin-section { padding: 20px 0 110px; }
.signin-card { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 58px; align-items: center; padding: 64px; overflow: hidden; border-radius: 34px; color: #fff; background: linear-gradient(135deg, #111522, #20283a); box-shadow: 0 30px 90px rgba(17, 21, 34, 0.2); }
.signin-card::after { content: ""; position: absolute; width: 380px; height: 380px; right: -180px; top: -190px; border-radius: 50%; background: rgba(244, 93, 36, 0.22); }
.google-mark { position: absolute; top: 34px; right: 38px; width: 54px; height: 54px; z-index: 1; display: flex; align-items: center; justify-content: center; border-radius: 17px; color: #4285f4; background: #fff; font-family: Arial, sans-serif; font-size: 1.55rem; font-weight: 800; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18); }
.signin-copy { position: relative; z-index: 1; }
.signin-copy .eyebrow { color: #ffb39b; }
.signin-copy p:not(.eyebrow) { color: #c8cfdb; line-height: 1.75; }
.data-card { position: relative; z-index: 1; padding: 30px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 25px; background: rgba(255, 255, 255, 0.07); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.data-card h3 { margin: 0 0 22px; font-family: Outfit, sans-serif; font-size: 1.45rem; }
.data-card ul { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; color: #e5e9f0; }
.data-card li { display: grid; grid-template-columns: 25px 1fr; gap: 9px; line-height: 1.45; }
.data-card li span { width: 23px; height: 23px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #5bd38b; background: rgba(91, 211, 139, 0.12); font-size: 0.72rem; }

.control-section { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 80px; align-items: start; padding: 0 0 110px; }
.control-copy { position: sticky; top: 120px; }
.control-links { display: grid; gap: 12px; }
.control-links a { padding: 23px 24px; display: grid; grid-template-columns: 1fr auto; border: 1px solid var(--app-line); border-radius: 20px; background: #fff; text-decoration: none; transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease; }
.control-links a:hover { transform: translateX(4px); border-color: rgba(244, 93, 36, 0.3); box-shadow: 0 12px 30px rgba(31, 42, 68, 0.07); }
.control-links span { font-family: Outfit, sans-serif; font-size: 1.12rem; font-weight: 750; }
.control-links small { margin-top: 4px; color: var(--app-muted); }
.control-links b { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--app-brand-dark); font-size: 1.4rem; }

.final-cta { margin-bottom: 70px; padding: 38px 42px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 25px; border: 1px solid rgba(244, 93, 36, 0.15); border-radius: 28px; background: linear-gradient(135deg, #fff6f1, #fff 55%, #fff0f3); }
.final-cta img { border-radius: 20px; box-shadow: 0 14px 30px rgba(244, 93, 36, 0.16); }
.final-cta .eyebrow { margin-bottom: 6px; }
.final-cta h2 { max-width: 720px; font-size: clamp(1.6rem, 3vw, 2.5rem); }

.app-footer { padding: 42px 0 48px; display: grid; grid-template-columns: 1fr auto; gap: 20px 50px; border-top: 1px solid var(--app-line); }
.footer-brand img { height: 42px; }
.app-footer p { margin: 8px 0 0; color: var(--app-muted); font-size: 0.87rem; }
.app-footer nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 18px; }
.app-footer nav a { color: #475467; font-size: 0.86rem; font-weight: 650; text-decoration: none; }
.app-footer nav a:hover { color: var(--app-brand-dark); }
.app-footer .copyright { grid-column: 1 / -1; margin-top: 10px; }

:focus-visible { outline: 3px solid rgba(244, 93, 36, 0.42); outline-offset: 4px; }

@media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-copy { max-width: 760px; }
    .product-preview { max-width: 650px; transform: none; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .signin-card { grid-template-columns: 1fr; }
    .control-section { grid-template-columns: 1fr; gap: 34px; }
    .control-copy { position: static; }
}

@media (max-width: 720px) {
    .app-nav { width: min(100% - 28px, 1180px); min-height: 68px; gap: 14px; }
    .brand img { height: 40px; max-width: 146px; }
    .nav-links { display: none; }
    .nav-action { margin-left: auto; min-height: 40px; }
    .hero { padding: 62px 6px 62px; }
    .hero-inner,
    .purpose-section,
    .signin-section,
    .control-section,
    .final-cta,
    .app-footer { width: min(100% - 28px, 1180px); }
    .hero h1 { font-size: clamp(2.75rem, 15vw, 4.3rem); }
    .hero-lead { font-size: 1rem; }
    .hero-actions { display: grid; }
    .primary-button,
    .secondary-button { width: 100%; }
    .trust-list { display: grid; gap: 10px; }
    .product-preview { padding: 15px; border-radius: 25px; }
    .preview-welcome { padding: 24px 21px; }
    .preview-welcome strong { font-size: 1.72rem; }
    .preview-grid article { min-height: 112px; padding: 15px; }
    .purpose-section { padding: 82px 0; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: 225px; }
    .signin-section { padding-bottom: 82px; }
    .signin-card { padding: 76px 23px 25px; border-radius: 27px; gap: 32px; }
    .google-mark { top: 20px; right: 22px; width: 46px; height: 46px; border-radius: 14px; }
    .data-card { padding: 23px; }
    .control-section { padding-bottom: 82px; }
    .final-cta { margin-bottom: 48px; padding: 28px; grid-template-columns: auto 1fr; }
    .final-cta img { width: 58px; height: 58px; }
    .final-cta .primary-button { grid-column: 1 / -1; }
    .app-footer { grid-template-columns: 1fr; }
    .app-footer nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}
