@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
    --bg: #fbf6ee;
    --bg-soft: #fffbf4;
    --surface: rgba(255, 255, 255, 0.88);
    --surface-strong: #ffffff;
    --surface-warm: #fff6df;
    --surface-muted: #f5f0e6;
    --text: #181613;
    --text-soft: #544d41;
    --text-faint: #80786b;
    --border: rgba(54, 44, 18, 0.1);
    --border-strong: rgba(54, 44, 18, 0.18);
    --shadow-sm: 0 12px 28px rgba(55, 43, 15, 0.07);
    --shadow-md: 0 24px 56px rgba(55, 43, 15, 0.1);
    --shadow-lg: 0 34px 70px rgba(55, 43, 15, 0.14);
    --yellow: #f1d778;
    --yellow-strong: #f7c948;
    --yellow-soft: #fbefbf;
    --charcoal: #181613;
    --charcoal-soft: #2e2a23;
    --success: #2c8f67;
    --radius-sm: 16px;
    --radius-md: 22px;
    --radius-lg: 28px;
    --radius-xl: 32px;
    --radius-pill: 999px;
    --container: 1200px;
    --ease: 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Plus Jakarta Sans", "Inter", "Segoe UI", sans-serif;
    line-height: 1.65;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(247, 201, 72, 0.14), transparent 28%),
        radial-gradient(circle at 85% 12%, rgba(247, 201, 72, 0.1), transparent 24%),
        linear-gradient(180deg, #fffdf9 0%, #fbf6ee 48%, #f6efe2 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: -2;
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.42;
    pointer-events: none;
}

body::before {
    width: 18rem;
    height: 18rem;
    top: 8rem;
    right: -4rem;
    background: radial-gradient(circle, rgba(247, 201, 72, 0.18) 0%, rgba(247, 201, 72, 0) 72%);
    animation: floatBlob 16s ease-in-out infinite;
}

body::after {
    width: 14rem;
    height: 14rem;
    left: -3rem;
    bottom: 8rem;
    background: radial-gradient(circle, rgba(247, 201, 72, 0.14) 0%, rgba(247, 201, 72, 0) 74%);
    animation: floatBlob 18s ease-in-out infinite reverse;
}

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

a {
    color: inherit;
}

.container {
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
}

.section {
    position: relative;
    padding: 5.5rem 0;
}

.section::before {
    content: "";
    position: absolute;
    inset: 1rem auto auto 50%;
    width: min(88vw, 1240px);
    height: calc(100% - 2rem);
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 251, 242, 0.28));
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 40px;
    z-index: -1;
}

.section:nth-of-type(odd)::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 249, 232, 0.34));
}

.section-header {
    max-width: 44rem;
    margin: 0 auto 2.75rem;
    text-align: center;
}

.section-header h2 {
    font-size: clamp(2rem, 6vw, 3.4rem);
    line-height: 1.06;
    letter-spacing: -0.04em;
    margin-bottom: 0.9rem;
}

.section-header p {
    font-size: clamp(1rem, 2.4vw, 1.15rem);
    color: var(--text-soft);
}

.gradient-text {
    background: linear-gradient(135deg, #b98700 0%, #ddb73d 45%, #f1cd63 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.navbar {
    position: sticky;
    top: 0.75rem;
    z-index: 1000;
    padding: 0 0.75rem;
}

.nav-container {
    width: min(var(--container), calc(100% - 0.5rem));
    min-height: 74px;
    margin: 0 auto;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-radius: 26px;
    background: rgba(255, 252, 246, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 18px 45px rgba(83, 64, 16, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}

.navbar.is-scrolled .nav-container {
    background: rgba(255, 252, 246, 0.97);
    box-shadow: 0 22px 55px rgba(83, 64, 16, 0.16);
}

.nav-logo {
    flex: 0 0 auto;
}

.nav-logo span {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--charcoal);
}

.nav-logo span::before {
    content: "";
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--yellow), var(--yellow-strong));
    box-shadow: 0 0 0 6px rgba(247, 201, 72, 0.18);
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.55rem;
    padding: 0.65rem 0.95rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    color: var(--text-soft);
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    transition:
        transform var(--ease),
        color var(--ease),
        background-color var(--ease),
        box-shadow var(--ease);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--charcoal);
    background: rgba(247, 201, 72, 0.12);
    box-shadow: inset 0 0 0 1px rgba(247, 201, 72, 0.18);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(247, 201, 72, 0.12);
    border: 1px solid rgba(247, 201, 72, 0.18);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    transition: transform var(--ease), background var(--ease);
}

.hamburger:hover {
    transform: scale(1.04);
    background: rgba(247, 201, 72, 0.18);
}

.hamburger span {
    width: 1.05rem;
    height: 2px;
    border-radius: 999px;
    background: var(--charcoal);
    margin: 0.16rem 0;
    transition: transform var(--ease), opacity var(--ease);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

#home {
    padding-top: 7rem;
}

#home::before,
.lens-tracker-hero::before,
.vocabii-hero::before,
.support-hero::before {
    inset: 1.25rem auto auto 50%;
    border-radius: 44px;
    background:
        radial-gradient(circle at 15% 20%, rgba(247, 201, 72, 0.12), transparent 22%),
        radial-gradient(circle at 88% 16%, rgba(247, 201, 72, 0.1), transparent 18%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 233, 0.94));
}

#home .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-content,
.app-header,
.support-header {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 5.4rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
    margin-bottom: 1.2rem;
    color: var(--charcoal);
}

.hero-subtitle {
    max-width: 34rem;
    font-size: clamp(1.04rem, 3vw, 1.25rem);
    color: var(--text-soft);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.hero-visual {
    position: relative;
    min-height: 22rem;
    display: grid;
    place-items: center;
}

.hero-visual::before,
.hero-visual::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    animation: floatBlob 12s ease-in-out infinite;
}

.hero-visual::before {
    width: 16rem;
    height: 16rem;
    background: radial-gradient(circle, rgba(247, 201, 72, 0.2), rgba(247, 201, 72, 0));
    left: 12%;
    top: 6%;
}

.hero-visual::after {
    width: 13rem;
    height: 13rem;
    right: 6%;
    bottom: 8%;
    background: radial-gradient(circle, rgba(247, 201, 72, 0.16), rgba(247, 201, 72, 0));
    animation-direction: reverse;
}

.phone-mockup,
.phone-frame {
    position: relative;
    border-radius: 36px;
    padding: 0.75rem;
    background: linear-gradient(180deg, #2b2926, #0f0e0d);
    box-shadow: var(--shadow-lg);
    border: 6px solid rgba(255, 255, 255, 0.4);
}

.phone-mockup {
    width: min(20rem, 72vw);
    z-index: 1;
    transform: rotate(8deg);
}

.phone-screen,
.screen-content {
    background:
        radial-gradient(circle at top, rgba(247, 201, 72, 0.12), transparent 34%),
        linear-gradient(180deg, #fffdfa, #fff8e8 82%, #f8e8aa 120%);
    border-radius: 28px;
    overflow: hidden;
}

.phone-screen {
    aspect-ratio: 9 / 18.5;
    padding: 1.2rem;
}

.app-preview {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.68)),
        linear-gradient(135deg, rgba(247, 201, 72, 0.1), rgba(247, 201, 72, 0.22));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.app-preview::before,
.app-preview::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    border-radius: 20px;
}

.app-preview::before {
    top: 1rem;
    height: 3.5rem;
    background: linear-gradient(135deg, rgba(247, 201, 72, 0.68), rgba(247, 201, 72, 0.42));
    box-shadow: 0 10px 22px rgba(247, 201, 72, 0.14);
}

.app-preview::after {
    top: 5.4rem;
    bottom: 1rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 251, 240, 0.6)),
        repeating-linear-gradient(
            180deg,
            rgba(94, 86, 71, 0.12) 0,
            rgba(94, 86, 71, 0.12) 0.8rem,
            transparent 0.8rem,
            transparent 1.65rem
        );
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 3.4rem;
    padding: 0.9rem 1.45rem;
    border: 0;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    cursor: pointer;
    transition:
        transform var(--ease),
        box-shadow var(--ease),
        background-color var(--ease),
        color var(--ease),
        border-color var(--ease);
}

.btn:hover {
    transform: translateY(-2px) scale(1.015);
}

.btn-primary {
    color: var(--charcoal);
    background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-strong) 100%);
    box-shadow: 0 14px 28px rgba(247, 201, 72, 0.18);
}

.btn-primary:hover {
    box-shadow: 0 18px 34px rgba(247, 201, 72, 0.22);
}

.btn-secondary,
.btn-outline,
.btn-outline-white {
    color: var(--charcoal);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(93, 76, 25, 0.12);
    box-shadow: 0 10px 22px rgba(65, 49, 14, 0.08);
}

.btn-secondary:hover,
.btn-outline:hover,
.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.92);
}

.btn-small {
    min-height: 2.8rem;
    padding: 0.72rem 1rem;
    font-size: 0.88rem;
}

.btn-large {
    min-height: 3.7rem;
    padding-inline: 1.6rem;
}

.about-content,
.contact-content,
.app-overview,
.download-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.about-text,
.contact-info,
.app-description,
.contact-form,
.profile-card,
.skills-category,
.support-content > div,
.legal-content,
.app-links,
.download-section,
.pricing-item,
.tech-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 251, 241, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-xl);
}

.about-text,
.contact-info,
.app-description,
.contact-form,
.support-content > div,
.legal-content,
.app-links,
.download-section {
    padding: 1.5rem;
}

.about-text h3,
.contact-info h3,
.app-description h3 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
}

.about-text p,
.contact-info p,
.app-description p,
.support-content p,
.legal-content p,
.legal-content li,
.project-content p,
.feature-content p,
.perfect-for-content p,
.pricing-features li,
.tech-item p {
    color: var(--text-soft);
}

.about-stats,
.app-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.stat,
.stat-item {
    padding: 1rem;
    border-radius: 24px;
    background: rgba(247, 201, 72, 0.08);
    border: 1px solid rgba(247, 201, 72, 0.14);
    text-align: left;
}

.stat-number {
    display: block;
    font-size: clamp(1.8rem, 6vw, 2.6rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--charcoal);
}

.stat-label {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.92rem;
    color: var(--text-soft);
}

.about-image {
    display: grid;
    place-items: center;
}

.profile-card {
    width: 100%;
    max-width: 24rem;
    padding: 2rem 1.6rem;
    text-align: center;
}

.profile-avatar,
.support-icon,
.feature-icon,
.perfect-for-icon,
.contact-method i,
.app-icon,
.app-icon-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-strong) 100%);
    color: var(--charcoal);
    box-shadow: 0 16px 28px rgba(247, 201, 72, 0.24);
}

.profile-avatar {
    width: 6rem;
    height: 6rem;
    border-radius: 24px;
    margin: 0 auto 1rem;
    font-size: 2rem;
}

.projects-grid,
.skills-content,
.features-grid,
.languages-grid,
.localization-features-grid,
.practice-modes-grid,
.perfect-for-grid,
.pricing-grid,
.tech-grid,
.faq-grid,
.tips-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.project-card,
.skill-item,
.feature-item,
.language-item,
.practice-mode-item,
.perfect-for-item,
.faq-item,
.tip-item,
.localization-feature,
.pricing-item,
.tech-item {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(255, 248, 232, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.project-card:hover,
.skill-item:hover,
.feature-item:hover,
.language-item:hover,
.practice-mode-item:hover,
.perfect-for-item:hover,
.faq-item:hover,
.tip-item:hover,
.localization-feature:hover,
.pricing-item:hover,
.tech-item:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-md);
    border-color: rgba(247, 201, 72, 0.45);
}

.clickable-card {
    cursor: pointer;
}

.project-card::before,
.feature-item::before,
.skill-item::before,
.faq-item::before,
.tip-item::before,
.language-item::before,
.practice-mode-item::before,
.perfect-for-item::before,
.pricing-item::before,
.tech-item::before {
    content: "";
    position: absolute;
    inset: auto auto 0 -10%;
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(247, 201, 72, 0.18), rgba(247, 201, 72, 0));
    pointer-events: none;
}

.project-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 12rem;
    padding: 1.5rem;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.5), transparent 28%),
        linear-gradient(145deg, #fff9e8 0%, #ffe7a0 100%);
}

.app-icon {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 24px;
    font-size: 2rem;
}

.lens-tracker-icon {
    background: linear-gradient(135deg, #ffd76b, #f0b52b);
}

.vocabii-icon {
    background: linear-gradient(135deg, #ffe18a, #ffc942);
}

.essay-coach-icon {
    background: linear-gradient(135deg, #ffd86b, #ffbb29);
}

.absentify-icon {
    background: linear-gradient(135deg, #f6e6a7, #e9c95f);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.featured-badge span,
.rating,
.users,
.category,
.languages,
.subtitle,
.price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.84);
    color: var(--charcoal-soft);
    border: 1px solid rgba(93, 76, 25, 0.12);
    font-size: 0.82rem;
    font-weight: 700;
}

.featured-app {
    border: 1px solid rgba(247, 201, 72, 0.34);
}

.project-content,
.feature-item,
.skill-item,
.language-item,
.practice-mode-item,
.perfect-for-item,
.faq-item,
.tip-item,
.localization-feature,
.pricing-item,
.tech-item {
    padding: 1.35rem;
}

.project-content h3 {
    font-size: 1.45rem;
    line-height: 1.1;
    margin-bottom: 0.85rem;
    letter-spacing: -0.03em;
}

.app-features,
.project-tech,
.pricing-features,
.app-meta,
.contact-methods,
.localization-features,
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.app-features span,
.project-tech span,
.localization-feature span,
.pricing-features li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius-pill);
    background: var(--surface-muted);
    color: var(--text-soft);
    font-size: 0.86rem;
    font-weight: 600;
    border: 1px solid rgba(93, 76, 25, 0.08);
}

.project-links,
.app-buttons,
.app-links-buttons,
.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.skills-category {
    padding: 1.4rem;
}

.skills-category h3 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.skill-item {
    text-align: center;
}

.skill-item i {
    display: block;
    margin-bottom: 0.7rem;
    font-size: 1.8rem;
    color: #d19100;
}

.skill-item span {
    font-weight: 700;
}

.contact-methods {
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 1.4rem;
}

.contact-method {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 0.95rem;
    align-items: center;
    padding: 0.95rem 1rem;
    background: rgba(255, 255, 255, 0.66);
    border-radius: 22px;
    border: 1px solid rgba(93, 76, 25, 0.08);
}

.contact-method i {
    width: 3rem;
    height: 3rem;
    border-radius: 18px;
    font-size: 1rem;
}

.contact-method h4 {
    font-size: 1rem;
    margin-bottom: 0.1rem;
}

.contact-method a {
    color: var(--text-soft);
    text-decoration: none;
}

.contact-method a:hover {
    color: var(--charcoal);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.1rem;
    border-radius: 22px;
    border: 1px solid rgba(93, 76, 25, 0.14);
    background: rgba(255, 255, 255, 0.9);
    color: var(--charcoal);
    font: inherit;
    transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(247, 201, 72, 0.8);
    box-shadow: 0 0 0 5px rgba(247, 201, 72, 0.18);
    transform: translateY(-1px);
}

.app-header,
.support-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    align-items: center;
    padding: 1.4rem;
    background: rgba(255, 255, 255, 0.62);
    border-radius: 34px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.84);
}

.app-icon-large,
.support-icon {
    width: 5.8rem;
    height: 5.8rem;
    border-radius: 26px;
    font-size: 2.2rem;
}

.app-info h1,
.support-info h1 {
    font-size: clamp(2.3rem, 8vw, 4rem);
    line-height: 1;
    letter-spacing: -0.06em;
    margin-bottom: 0.6rem;
}

.app-tagline,
.support-tagline,
.last-updated {
    color: var(--text-soft);
}

.store-link,
.support-email {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.9rem 1.2rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    color: var(--charcoal);
    background: rgba(247, 201, 72, 0.2);
    border: 1px solid rgba(247, 201, 72, 0.35);
    font-weight: 700;
    transition: transform var(--ease), background-color var(--ease), box-shadow var(--ease);
}

.store-link:hover,
.support-email:hover {
    transform: translateY(-2px) scale(1.01);
    background: rgba(247, 201, 72, 0.32);
    box-shadow: var(--shadow-sm);
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.screenshot-item {
    padding: 0.8rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow-sm);
}

.phone-frame {
    padding: 0.65rem;
    border-width: 4px;
}

.screen-content {
    aspect-ratio: 9 / 19;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-item,
.perfect-for-item,
.faq-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
}

.feature-icon,
.perfect-for-icon,
.faq-question i {
    width: 3.15rem;
    height: 3.15rem;
    border-radius: 20px;
    flex: 0 0 auto;
    font-size: 1.1rem;
}

.feature-content h4,
.perfect-for-content h4,
.faq-question h4,
.language-item h4,
.practice-mode-item h4,
.pricing-header h4,
.tech-item h4,
.contact-section h2,
.faq-section h2,
.tips-section h2,
.app-links h2,
.legal-section h2 {
    font-size: 1.15rem;
    line-height: 1.2;
    margin-bottom: 0.45rem;
    letter-spacing: -0.03em;
}

.faq-question {
    display: contents;
}

.language-item,
.practice-mode-item,
.tip-item,
.localization-feature,
.pricing-item,
.tech-item {
    text-align: left;
}

.language-flag,
.practice-mode-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 0.9rem;
    border-radius: 20px;
    font-size: 1.4rem;
    background: rgba(247, 201, 72, 0.18);
    box-shadow: inset 0 0 0 1px rgba(247, 201, 72, 0.22);
}

.support-content {
    display: grid;
    gap: 1rem;
}

.email-box {
    margin-top: 1rem;
}

.tips-grid,
.faq-grid,
.languages-grid,
.localization-features-grid,
.practice-modes-grid,
.perfect-for-grid,
.pricing-grid,
.tech-grid {
    margin-top: 1.1rem;
}

.legal-content {
    padding: 1.5rem;
}

.legal-section + .legal-section {
    margin-top: 1.45rem;
    padding-top: 1.45rem;
    border-top: 1px solid rgba(93, 76, 25, 0.09);
}

.legal-content ul {
    margin-top: 0.8rem;
    padding-left: 1.2rem;
}

.legal-content li + li {
    margin-top: 0.45rem;
}

.legal-footer {
    margin-top: 1.6rem;
    padding-top: 1.3rem;
    border-top: 1px solid rgba(93, 76, 25, 0.09);
    color: var(--text-soft);
}

.footer {
    padding: 2rem 0 3rem;
}

.footer .container {
    background: rgba(24, 22, 19, 0.96);
    color: rgba(255, 249, 235, 0.88);
    border-radius: 32px;
    padding: 1.5rem;
    box-shadow: 0 22px 48px rgba(24, 22, 19, 0.18);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-text p,
.footer-text a,
.footer-social a {
    color: inherit;
}

.footer-links a {
    text-decoration: none;
    color: rgba(255, 244, 210, 0.95);
}

.footer-social {
    display: flex;
    gap: 0.7rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 18px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    transition: transform var(--ease), background-color var(--ease);
}

.footer-social a:hover {
    transform: translateY(-2px) scale(1.04);
    background: rgba(247, 201, 72, 0.28);
}

.fade-in-up,
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.fade-in-up.is-visible,
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes floatBlob {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -14px, 0);
    }
}

@media (min-width: 700px) {
    .section {
        padding: 6.5rem 0;
    }

    #home .container,
    .about-content,
    .contact-content,
    .app-overview,
    .download-content {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: 1.5rem;
    }

    .hero-visual {
        min-height: 32rem;
    }

    .projects-grid,
    .skills-content,
    .features-grid,
    .faq-grid,
    .perfect-for-grid,
    .pricing-grid,
    .tech-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .languages-grid,
    .practice-modes-grid,
    .localization-features-grid,
    .tips-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .app-header,
    .support-header {
        grid-template-columns: auto 1fr;
        padding: 1.8rem;
    }

    .nav-logo span {
        font-size: 1.08rem;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: 7rem 0;
    }

    .projects-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .features-grid,
    .faq-grid,
    .perfect-for-grid,
    .pricing-grid,
    .tech-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .languages-grid,
    .practice-modes-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .skills-content {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-visual {
        min-height: 36rem;
    }

    .phone-mockup {
        width: 22rem;
    }
}

@media (max-width: 920px) {
    .hamburger {
        display: inline-flex;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 0.75rem;
        right: 0.75rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
        padding: 0.8rem;
        background: rgba(255, 252, 244, 0.98);
        border-radius: 28px;
        border: 1px solid rgba(255, 255, 255, 0.82);
        box-shadow: var(--shadow-md);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
        overflow: hidden;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-menu a {
        justify-content: flex-start;
        padding-inline: 1rem;
    }
}

@media (max-width: 699px) {
    body::before {
        width: 12rem;
        height: 12rem;
        top: 7rem;
    }

    .hero-buttons,
    .project-links,
    .app-buttons,
    .app-links-buttons,
    .download-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .skills-grid,
    .screenshot-grid,
    .about-stats,
    .app-stats {
        grid-template-columns: 1fr;
    }

    .section::before {
        width: calc(100% - 1rem);
        border-radius: 28px;
    }

    .footer .container {
        padding: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
