/* ============================================
   Plan Uroka — Landing Page (Diffit-style)
   Colors: Cream #FDFBF7, Orange #FF7E67, Green #4ECDC4
   Font: Inter
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --color-bg:       #FDFBF7;
    --color-bg-light: #F7F5F0;
    --color-white:    #FFFFFF;
    --color-orange:   #FF7E67;
    --color-orange-light: #FFF0ED;
    --color-green:    #4ECDC4;
    --color-green-light: #E8FAF8;
    --color-text:     #1A1A2E;
    --color-text-secondary: #555566;
    --color-border:   #E8E6E1;
    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --radius-xl:  28px;
    --shadow-sm:  0 1px 3px rgba(0,0,0,.06);
    --shadow-md:  0 4px 16px rgba(0,0,0,.08);
    --shadow-lg:  0 8px 32px rgba(0,0,0,.10);
    --transition: .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(253,251,247,.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.header--scrolled {
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

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

.logo__icon { font-size: 1.5rem; }

.nav { display: flex; gap: 32px; }

.nav__link {
    font-size: .9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--color-orange);
    transition: width var(--transition);
}

.nav__link:hover { color: var(--color-text); }
.nav__link:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-weight: 600;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--sm  { font-size: .875rem; padding: 10px 20px; }
.btn--lg  { font-size: 1rem;    padding: 16px 32px; border-radius: var(--radius-lg); }

.btn--primary {
    background: var(--color-orange);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255,126,103,.3);
}
.btn--primary:hover {
    background: #ff6b52;
    box-shadow: 0 4px 16px rgba(255,126,103,.4);
    transform: translateY(-1px);
}

.btn--ghost {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-border);
}
.btn--ghost:hover {
    border-color: var(--color-text);
    background: var(--color-white);
}

.btn--outline {
    background: transparent;
    color: var(--color-orange);
    border: 2px solid var(--color-orange);
}
.btn--outline:hover {
    background: var(--color-orange-light);
}

.btn--white {
    background: #fff;
    color: var(--color-orange);
    font-weight: 700;
}
.btn--white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--block { width: 100%; }

/* ---------- Burger ---------- */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px; height: 32px;
    background: none; border: none;
    cursor: pointer;
    z-index: 110;
}
.burger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}
.burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger--open span:nth-child(2) { opacity: 0; }
.burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile Nav ---------- */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 99;
    background: var(--color-bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}
.mobile-nav--open {
    opacity: 1;
    pointer-events: auto;
}
.mobile-nav__link {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
}

/* ---------- Hero ---------- */
.hero {
    padding: 160px 0 80px;
    text-align: center;
}

.hero__badge {
    display: inline-block;
    background: var(--color-orange-light);
    color: var(--color-orange);
    font-size: .85rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.15;
    max-width: 800px;
    margin: 0 auto 24px;
    letter-spacing: -.02em;
}

.highlight {
    position: relative;
    display: inline;
}
.highlight--orange {
    background: linear-gradient(120deg, rgba(255,126,103,.15) 0%, rgba(255,126,103,.25) 100%);
    background-size: 100% 40%;
    background-repeat: no-repeat;
    background-position: 0 85%;
    padding: 0 4px;
}
.highlight--green {
    background: linear-gradient(120deg, rgba(78,205,196,.15) 0%, rgba(78,205,196,.25) 100%);
    background-size: 100% 40%;
    background-repeat: no-repeat;
    background-position: 0 85%;
    padding: 0 4px;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-text-secondary);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Trust Bar ---------- */
.trust-bar {
    padding: 48px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.trust-bar__text {
    text-align: center;
    font-size: .85rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 32px;
}

.trust-bar__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat__number {
    display: block;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--color-orange);
    line-height: 1.1;
}

.stat__label {
    display: block;
    font-size: .85rem;
    color: var(--color-text-secondary);
    margin-top: 8px;
}

/* ---------- Sections ---------- */
.section {
    padding: 96px 0;
}

.section--light {
    background: var(--color-bg-light);
}

.section--accent {
    background: var(--color-text);
    color: #fff;
}

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

.section-label {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--color-orange);
    margin-bottom: 12px;
}

.section-label--light {
    color: var(--color-green);
}

.section__title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    max-width: 650px;
    margin: 0 auto 16px;
    letter-spacing: -.01em;
}

.section__subtitle {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ---------- Features Grid ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: var(--color-orange);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-card__icon {
    font-size: 2rem;
    margin-bottom: 16px;
    width: 56px; height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-orange-light);
    border-radius: var(--radius-md);
}

.feature-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card__text {
    font-size: .92rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ---------- Highlight Block (accent section) ---------- */
.highlight-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.highlight-block__title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
}

.highlight-block__text {
    font-size: 1rem;
    color: rgba(255,255,255,.75);
    line-height: 1.7;
    margin-bottom: 28px;
}

.highlight-block__checks {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .95rem;
}

.check-item__icon {
    width: 28px; height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-green);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: .85rem;
    flex-shrink: 0;
}

/* ---------- Phone Mockup ---------- */
.phone-mockup {
    background: #2A2A3E;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0,0,0,.3);
    max-width: 360px;
    margin: 0 auto;
}

.phone-mockup__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: #222236;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.phone-mockup__avatar {
    font-size: 1.4rem;
}

.phone-mockup__name {
    font-size: .9rem;
    font-weight: 600;
    color: #fff;
}

.phone-mockup__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-msg {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: .85rem;
    line-height: 1.5;
    max-width: 85%;
}

.chat-msg--user {
    background: var(--color-orange);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-msg--bot {
    background: #353550;
    color: rgba(255,255,255,.9);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-msg--small {
    font-size: .75rem;
    color: rgba(255,255,255,.5);
    background: transparent;
    padding: 0 4px;
}

/* ---------- Steps ---------- */
.steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.step__number {
    width: 56px; height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-orange);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: 50%;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(255,126,103,.3);
}

.step__connector {
    flex: 0 0 auto;
    width: 60px;
    height: 2px;
    background: var(--color-border);
    margin-top: 28px;
}

.step__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step__text {
    font-size: .9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.step__text em {
    color: var(--color-orange);
    font-style: normal;
    font-weight: 600;
}

/* ---------- Subjects Grid ---------- */
.subjects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.subject-tag {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 12px 24px;
    border-radius: 100px;
    font-size: .9rem;
    font-weight: 500;
    transition: all var(--transition);
}

.subject-tag:hover {
    border-color: var(--color-green);
    background: var(--color-green-light);
    transform: translateY(-2px);
}

/* ---------- Pricing ---------- */
.pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pricing-card--featured {
    border-color: var(--color-orange);
    box-shadow: var(--shadow-lg);
    transform: scale(1.04);
}

.pricing-card--featured:hover {
    transform: scale(1.04) translateY(-4px);
}

.pricing-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-orange);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.pricing-card__header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 24px;
}

.pricing-card__name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 12px;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.pricing-card__amount {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--color-text);
    line-height: 1;
}

.pricing-card__period {
    font-size: 1rem;
    color: var(--color-text-secondary);
}

.pricing-card__desc {
    font-size: .85rem;
    color: var(--color-text-secondary);
    margin-top: 8px;
}

.pricing-card__features {
    flex: 1;
    margin-bottom: 28px;
}

.pricing-card__features li {
    padding: 8px 0;
    font-size: .9rem;
    color: var(--color-text-secondary);
    position: relative;
    padding-left: 28px;
}

.pricing-card__features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--color-green);
    font-weight: 700;
}

/* ---------- CTA Section ---------- */
.section--cta {
    background: linear-gradient(135deg, var(--color-orange) 0%, #ff9a85 100%);
    padding: 96px 0;
}

.cta__inner {
    text-align: center;
}

.cta__title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta__text {
    font-size: 1.05rem;
    color: rgba(255,255,255,.85);
    margin-bottom: 36px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--color-text);
    color: rgba(255,255,255,.7);
    padding: 64px 0 32px;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    margin-bottom: 32px;
}

.footer__brand .logo { color: #fff; }

.footer__tagline {
    font-size: .85rem;
    color: rgba(255,255,255,.5);
    margin-top: 8px;
}

.footer__links {
    display: flex;
    gap: 64px;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__col-title {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.4);
    margin-bottom: 4px;
}

.footer__col a {
    font-size: .9rem;
    color: rgba(255,255,255,.7);
    transition: color var(--transition);
}

.footer__col a:hover { color: #fff; }

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .8rem;
}

.footer__socials { display: flex; gap: 16px; }

.social-link {
    color: rgba(255,255,255,.5);
    transition: color var(--transition);
}
.social-link:hover { color: #fff; }

/* ---------- Scroll Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing { grid-template-columns: 1fr; max-width: 400px; }
    .pricing-card--featured { transform: none; }
    .pricing-card--featured:hover { transform: translateY(-4px); }
    .highlight-block { grid-template-columns: 1fr; gap: 48px; }
    .highlight-block__visual { order: -1; }
}

@media (max-width: 768px) {
    .nav,
    .header__actions { display: none; }

    .burger { display: flex; }

    .mobile-nav { display: flex; }

    .hero { padding: 130px 0 60px; }

    .hero__title { font-size: 1.8rem; }

    .trust-bar__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .features-grid { grid-template-columns: 1fr; }

    .section { padding: 64px 0; }

    .steps {
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }

    .step { max-width: 400px; }
    .step__connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }

    .footer__top {
        flex-direction: column;
        gap: 32px;
    }

    .footer__links { gap: 40px; }

    .footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero__actions { flex-direction: column; align-items: center; }
    .hero__actions .btn { width: 100%; }
}
