@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --bg-color: #fbfaf6;
    --bg-secondary: #f1f4ee;
    --surface: #ffffff;
    --surface-warm: #f7f1e8;
    --text-main: #173a3a;
    --text-muted: #677978;
    --primary: #0f766e;
    --primary-orange: #e56f3d;
    --border-color: rgba(23, 58, 58, 0.14);
    --shadow-soft: 0 18px 50px rgba(24, 61, 59, 0.08);
    --shadow-card: 0 12px 28px rgba(24, 61, 59, 0.07);
    --container-width: 1180px;
}

* { box-sizing: border-box; }

body {
    background: var(--bg-color);
    color: var(--text-main);
    font-family: 'Manrope', sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at 7% 4%, rgba(229, 111, 61, 0.1), transparent 24rem),
        radial-gradient(circle at 92% 12%, rgba(15, 118, 110, 0.1), transparent 28rem);
}

.dot-grid {
    background-color: var(--bg-color);
    background-image: radial-gradient(rgba(23, 58, 58, 0.12) 0.7px, transparent 0.7px);
    background-size: 26px 26px;
}

.container {
    width: min(100% - 48px, var(--container-width));
    max-width: var(--container-width);
    margin-inline: auto;
    padding-inline: 0;
}

h1, h2, h3, h4, h5, h6 { color: var(--text-main); }

h1, h2, .sec-title, .section-header h2 {
    font-family: 'Fraunces', serif;
    letter-spacing: -0.045em;
}

p { line-height: 1.75; }

header {
    position: sticky !important;
    top: 0;
    z-index: 1000;
    width: 100%;
    border-bottom: 1px solid var(--border-color) !important;
    background: rgba(251, 250, 246, 0.9) !important;
    backdrop-filter: blur(18px);
}

.nav-wrapper,
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.logo {
    color: var(--text-main) !important;
    font-family: 'Fraunces', serif;
    font-size: 26px !important;
    font-weight: 700 !important;
    letter-spacing: -0.06em;
}

.nav-menu,
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu a,
.nav-links a {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.nav-menu a:hover,
.nav-links a:hover { color: var(--primary) !important; }

.dropdown-menu {
    padding: 8px !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: var(--shadow-card) !important;
}

.dropdown-item {
    border-radius: 8px !important;
    font-size: 13px !important;
}

.dropdown-item:hover {
    color: var(--primary) !important;
    background: var(--bg-secondary) !important;
}

footer {
    border-top: 1px solid var(--border-color) !important;
    background: #173a3a !important;
}

footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

footer .links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

footer a,
footer .copyright,
footer .container > div:last-child {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 12px !important;
}

footer a:hover { color: #fff !important; }

.btn,
.btn-pricing,
.btn-contact,
.btn-buy,
.form-submit-btn,
.support-email {
    border-radius: 999px !important;
    font-family: 'Manrope', sans-serif;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn-pricing:hover,
.btn-contact:hover,
.btn-buy:hover,
.form-submit-btn:hover,
.support-email:hover {
    transform: translateY(-2px);
}

.btn-orange,
.btn-pricing,
.form-submit-btn {
    border-color: var(--primary-orange) !important;
    background: var(--primary-orange) !important;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(229, 111, 61, 0.2);
}

.btn-black,
.btn-buy-solid {
    border-color: var(--text-main) !important;
    background: var(--text-main) !important;
    color: #fff !important;
}

/* Home */
.page-home .hero {
    min-height: 700px;
    border-top: 0;
    background:
        radial-gradient(circle at 18% 28%, rgba(229, 111, 61, 0.18), transparent 17rem),
        radial-gradient(circle at 82% 40%, rgba(15, 118, 110, 0.18), transparent 20rem),
        linear-gradient(145deg, #eff4ed, #fbfaf6 62%);
}

.page-home .hero::after {
    content: "";
    position: absolute;
    inset: auto -8% -24% 35%;
    width: 56rem;
    height: 24rem;
    border: 1px solid rgba(15, 118, 110, 0.14);
    border-radius: 50%;
    transform: rotate(-10deg);
}

.page-home .hero-center { max-width: 760px; }

.page-home .hero-title {
    color: var(--text-main);
    font-family: 'Fraunces', serif;
    font-size: clamp(72px, 11vw, 138px);
    letter-spacing: -0.09em;
}

.page-home .hero-desc {
    color: var(--text-muted);
    font-size: 18px;
}

.page-home .hero-center > div:last-child { color: var(--primary) !important; }

.page-home section { padding: 108px 0; }

.page-home .sec-title {
    color: var(--text-main);
    font-size: clamp(38px, 5vw, 60px);
}

.page-home .prod-card {
    border: 1px solid var(--border-color);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-card);
}

.page-home .prod-card:hover {
    border-color: rgba(229, 111, 61, 0.7);
    box-shadow: 0 22px 44px rgba(24, 61, 59, 0.12);
}

.page-home .logo-box { width: 62px; height: 62px; }

.page-home .why-card,
.page-home .device-sec {
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.78);
}

.page-home .why-card { border-radius: 18px; }
.page-home .device-sec { border-radius: 28px; }

/* About */
.page-about .about-hero {
    padding: 96px 0 52px;
    background:
        radial-gradient(circle at 12% 20%, rgba(229, 111, 61, 0.16), transparent 20rem),
        linear-gradient(140deg, #edf4ef, #fbfaf6);
}

.page-about .about-hero-wrapper {
    width: min(100% - 48px, var(--container-width));
    margin-inline: auto;
}

.page-about .about-hero-content h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(68px, 10vw, 118px);
    letter-spacing: -0.09em;
}

.page-about .about-hero-content em { color: var(--primary-orange); }

.page-about .about-mission,
.page-about .vision-card {
    border: 1px solid var(--border-color);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-soft);
}

.page-about main section { padding: 98px 0; }

.page-about .build-item,
.page-about .choice-card {
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: none;
}

.page-about .choice-card i { color: var(--primary-orange); }
.page-about .btn-contact { background: var(--text-main); color: #fff; }

/* Store */
.page-store .store-hero {
    max-width: 820px;
    padding: 116px 0 56px;
    text-align: center;
}

.page-store .store-hero h1 {
    font-size: clamp(64px, 8vw, 100px);
    line-height: 0.98;
}

.page-store .store-hero p {
    color: var(--text-muted);
    font-size: 18px;
}

.page-store .pricing-grid-wrapper { padding: 18px 0 100px; }

.page-store .price-card,
.page-store .why-item,
.page-store .faq-item {
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-card);
}

.page-store .price-card.featured {
    border-color: rgba(229, 111, 61, 0.7);
    background: #fffaf4;
}

.page-store .prod-logo { width: 58px; height: 58px; }
.page-store .price-tag { color: var(--primary); }

.page-store .btn-pricing {
    display: block;
    text-align: center;
}

.page-store .why-sec {
    position: relative;
    overflow: hidden;
    margin-block: 26px 96px;
    padding: 68px 64px 64px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 88% 4%, rgba(229, 111, 61, 0.2), transparent 18rem),
        linear-gradient(135deg, #173a3a, #215854);
    box-shadow: 0 24px 50px rgba(24, 61, 59, 0.16);
}

.page-store .why-sec::after {
    content: "";
    position: absolute;
    right: -82px;
    bottom: -128px;
    width: 320px;
    height: 210px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    transform: rotate(-16deg);
    pointer-events: none;
}

.page-store .why-sec .sec-title {
    position: relative;
    z-index: 1;
    margin-bottom: 36px;
    color: #fff;
    font-size: clamp(42px, 5vw, 62px);
}

.page-store .why-sec .why-grid {
    position: relative;
    z-index: 1;
    gap: 14px;
}

.page-store .why-sec .why-item {
    min-height: 208px;
    padding: 26px 24px 24px;
    border-color: rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.09);
    box-shadow: none;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.page-store .why-sec .why-item:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.14);
}

.page-store .why-sec .why-item i {
    display: grid;
    width: 46px;
    height: 46px;
    margin-bottom: 30px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ff9b70;
    font-size: 24px;
}

.page-store .why-sec .why-item h4 {
    margin-bottom: 8px;
    color: #fff;
    font-size: 16px;
}

.page-store .why-sec .why-item p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.65;
}

.page-store .faq-sec {
    padding: 92px 0 104px;
    border-top: 1px solid var(--border-color);
    background:
        radial-gradient(circle at 12% 16%, rgba(229, 111, 61, 0.08), transparent 18rem),
        var(--surface-warm);
}

.page-store .faq-sec .sec-title {
    margin-bottom: 42px;
    font-size: clamp(42px, 5vw, 62px);
}

.page-store .faq-grid {
    display: grid;
    max-width: 1040px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.page-store .faq-item {
    position: relative;
    min-height: 86px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: none;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.page-store .faq-item:hover,
.page-store .faq-item.active {
    border-color: rgba(229, 111, 61, 0.48);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 24px rgba(24, 61, 59, 0.06);
}

.page-store .faq-item::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: var(--primary-orange);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.page-store .faq-item.active::before { opacity: 1; }

.page-store .faq-question {
    min-height: 84px;
    padding: 22px 24px;
    gap: 16px;
    color: var(--text-main);
    font-size: 15px;
}

.page-store .faq-question i {
    flex: 0 0 auto;
    color: var(--primary);
    font-size: 18px;
}

.page-store .faq-answer {
    padding-inline: 24px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.7;
}

.page-store .faq-item.active .faq-answer {
    padding: 0 24px 22px;
}

/* Product pages */
.page-product section { padding: 88px 0; }

.page-product .hero {
    padding: 0 0 64px;
    border-top: 0;
    background: linear-gradient(145deg, #edf4ef, #fbfaf6);
}

.page-product .hero-visual-container {
    background: rgba(255, 255, 255, 0.65);
}

.page-product .hero-visual-container img { max-height: 380px; object-fit: cover; }

.page-product .hero-text-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 42px;
    align-items: end;
    padding-top: 44px;
}

.page-product .hero-title h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(64px, 8vw, 108px);
    line-height: 0.94;
    letter-spacing: -0.085em;
}

.page-product .hero-desc p {
    color: var(--text-muted);
    font-size: 17px;
}

.page-product .btn { padding: 14px 22px; }

.page-product .section-header h2 {
    font-size: clamp(38px, 5vw, 56px);
}

.page-product .section-header { margin-bottom: 52px; }

.page-product .section-header p {
    max-width: 800px;
    color: var(--text-muted);
}

.page-product .section-header img {
    max-height: 420px;
    object-fit: cover;
}

.page-product .feature-card,
.page-product .why-item,
.page-product .why-box,
.page-product .scenario-item,
.page-product .step-box,
.page-product .step-item,
.page-product .os-card,
.page-product .os-box,
.page-product .faq-item,
.page-product .info-row {
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: none;
}

.page-product .features-grid,
.page-product .scenarios-grid,
.page-product .steps-container,
.page-product .why-grid {
    gap: 14px;
}

.page-product .feature-card {
    min-height: 220px;
    padding: 26px;
}

.page-product .feature-card i,
.page-product .scenario-item i {
    display: grid;
    width: 46px;
    height: 46px;
    margin-bottom: 22px;
    place-items: center;
    border-radius: 50%;
    background: rgba(229, 111, 61, 0.1);
    font-size: 24px;
}

.page-product .feature-card h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.page-product .feature-card p {
    font-size: 14px;
    line-height: 1.65;
}

.page-product .scenario-item {
    padding: 24px 18px;
    text-align: left;
}

.page-product .step-box {
    padding: 26px;
}

.page-product .step-box h4 {
    margin-bottom: 10px;
    font-size: 20px;
}

.page-product .os-how-layout { gap: 22px; }

.page-product .os-card,
.page-product .os-box {
    padding: 28px;
}

.page-product .step-item {
    padding: 20px;
}

.page-product .why-item,
.page-product .why-box {
    padding: 24px;
}

.page-product .why-item h4,
.page-product .why-box h4 {
    margin-bottom: 8px;
    font-size: 19px;
}

.page-product .feature-card:hover,
.page-product .scenario-item:hover,
.page-product .why-item:hover {
    border-color: rgba(229, 111, 61, 0.66);
    box-shadow: var(--shadow-card);
}

.page-product .feature-card i,
.page-product .scenario-item i,
.page-product .step-num,
.page-product .tag.highlight,
.page-product .tag.orange {
    color: var(--primary-orange);
}

.page-product .tag {
    border-color: var(--border-color);
    border-radius: 999px;
    background: #fff;
}

.page-product section[style*="background: #000"] {
    background: #173a3a !important;
}

.page-product section[style*="background: #000"] .step-box,
.page-product section[style*="background: #000"] .why-box {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
}

.page-product section[style*="background: #000"] .step-box h4,
.page-product section[style*="background: #000"] .why-box h4 {
    color: #fff;
}

.page-product section[style*="background: #000"] .step-box p,
.page-product section[style*="background: #000"] .why-box p {
    color: rgba(255, 255, 255, 0.66) !important;
}

.page-product section[style*="background: var(--primary)"] {
    background: linear-gradient(135deg, #0f766e, #155b57) !important;
}

.page-product section[style*="background: var(--primary)"] h2 {
    color: #fff;
}

.page-product section[style*="background: var(--primary)"] p {
    color: rgba(255, 255, 255, 0.82);
}

.page-product section[style*="padding: 160px"] {
    padding: 112px 0 !important;
    background: var(--surface-warm);
}

.page-product .faq-list {
    display: grid;
    max-width: 1040px;
    margin-inline: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.page-product .faq-list .faq-item {
    min-height: 84px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.page-product .faq-list .faq-item:hover,
.page-product .faq-list .faq-item.active {
    border-color: rgba(229, 111, 61, 0.52);
    background: #fff;
    box-shadow: var(--shadow-card);
}

.page-product .faq-q {
    min-height: 82px;
    padding: 20px 22px;
    gap: 16px;
    color: var(--text-main);
    font-size: 15px;
}

.page-product .faq-q i {
    flex: 0 0 auto;
    color: var(--primary);
}

.page-product .faq-a {
    padding-inline: 22px;
    font-size: 13px;
    line-height: 1.7;
}

.page-product .faq-list .faq-item.active .faq-a {
    padding: 0 22px 20px;
}

.page-product .faq-grid {
    gap: 12px;
}

.page-product .faq-grid .faq-item {
    padding: 22px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
}

.page-product .faq-grid .faq-item h5 {
    margin-bottom: 8px;
    font-size: 16px;
}

.page-product .faq-grid .faq-item p {
    font-size: 13px;
    line-height: 1.7;
}

/* HEIC format overview */
.page-product .info-row {
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
}

.page-product .info-row > div {
    min-height: 300px;
    padding: 30px;
    border-radius: 16px;
}

.page-product .info-row > div:first-child {
    background: var(--surface-warm);
}

.page-product .info-row > div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #edf4ef;
}

.page-product .info-row h2 {
    font-family: 'Fraunces', serif;
    letter-spacing: -0.045em;
}

.page-product .info-row .format-tags {
    gap: 10px;
    margin-top: 14px;
}

.page-product .info-row .tag {
    min-width: 70px;
    padding: 9px 16px;
    border: 1px solid rgba(15, 118, 110, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--text-main);
    font-size: 13px;
    text-align: center;
}

.page-product .info-row .tag.orange {
    border-color: rgba(229, 111, 61, 0.3);
    background: rgba(229, 111, 61, 0.12);
    color: var(--primary-orange);
}

.page-product .info-row > div:last-child > div {
    gap: 10px !important;
}

.page-product .info-row > div:last-child > div > div {
    padding: 13px 14px;
    border: 1px solid rgba(15, 118, 110, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.62);
}

.page-product .info-row > div:last-child h4 {
    margin-bottom: 0 !important;
    font-size: 14px;
}

.page-product .info-row > div:last-child i {
    color: var(--primary);
}

/* Purchase pages */
.page-purchase .pricing-hero {
    padding: 102px 0 72px;
    background:
        radial-gradient(circle at 78% 20%, rgba(229, 111, 61, 0.2), transparent 20rem),
        linear-gradient(145deg, #edf4ef, #fbfaf6);
}

.page-purchase .pricing-hero h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(60px, 8vw, 94px);
    letter-spacing: -0.075em;
}

.page-purchase .pricing-hero p { color: var(--text-muted); }
.page-purchase .pricing-section { background: var(--bg-color); }

.page-purchase .pricing-grid {
    gap: 18px;
    padding-bottom: 96px;
}

.page-purchase .plan-card {
    border: 1px solid var(--border-color);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-card);
}

.page-purchase .plan-card.featured {
    border-color: rgba(229, 111, 61, 0.78);
    background: #fffaf4;
}

.page-purchase .badge {
    border-radius: 999px;
    background: var(--primary-orange);
}

.page-purchase .amount,
.page-purchase .currency { color: var(--primary); }

.page-purchase .btn-buy {
    padding: 14px 20px;
    text-align: center;
}

.page-purchase .btn-buy-outline {
    border-color: var(--text-main);
    color: var(--text-main);
}

.page-purchase .feature-item i { color: var(--primary); }

.page-purchase .info-section { background: var(--surface-warm); }

.page-purchase .info-section h2 {
    font-family: 'Fraunces', serif;
    color: var(--text-main);
}

.page-purchase .faq-item {
    border-color: var(--border-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.75);
}

.page-purchase .support-block { background: var(--bg-color); }

.page-purchase .support-email {
    border: 1px solid var(--text-main);
    color: var(--text-main);
}

/* Policy and contact pages */
.page-legal .privacy-hero,
.page-legal .refund-hero,
.page-legal .terms-hero,
.page-contact .contact-hero {
    padding: 100px 24px 72px;
    background:
        radial-gradient(circle at 20% 10%, rgba(229, 111, 61, 0.16), transparent 18rem),
        linear-gradient(145deg, #edf4ef, #fbfaf6);
}

.page-legal .privacy-hero-title,
.page-legal .refund-hero-title,
.page-legal .terms-hero-title,
.page-contact .contact-hero-title {
    color: var(--text-main);
    font-family: 'Fraunces', serif;
    font-size: clamp(64px, 9vw, 108px);
    letter-spacing: -0.085em;
}

.page-legal .privacy-main,
.page-legal .refund-main,
.page-legal .terms-main,
.page-contact .contact-main {
    padding: 72px 0 100px;
    background: transparent;
}

.page-legal .privacy-container,
.page-legal .refund-container,
.page-legal .terms-container,
.page-contact .contact-container {
    width: min(100% - 48px, 920px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
}

.page-legal .privacy-container,
.page-legal .refund-container,
.page-legal .terms-container { padding: clamp(26px, 5vw, 62px); }

.page-legal li::marker { color: var(--primary-orange); }

.page-contact .contact-hero-desc {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
}

.page-contact .contact-form { padding: clamp(26px, 5vw, 54px); }

.page-contact .form-input,
.page-contact .form-textarea {
    border-color: var(--border-color);
    border-radius: 10px;
    background: #fbfaf6;
    font-family: 'Manrope', sans-serif;
}

.page-contact .form-input:focus,
.page-contact .form-textarea:focus {
    border-color: var(--primary);
    outline: 3px solid rgba(15, 118, 110, 0.1);
}

@media (max-width: 900px) {
    .nav-menu,
    .nav-links { gap: 16px; }

    .dropdown-menu {
        right: 0;
        left: auto !important;
    }

    .page-product .hero-text-grid { grid-template-columns: 1fr; }

    footer .container {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    .container { width: min(100% - 32px, var(--container-width)); }

    #cursor-glow { display: none; }

    .nav-wrapper,
    .header-inner { min-height: 64px; }

    .logo { font-size: 23px !important; }

    .nav-menu,
    .nav-links { gap: 12px; }

    .nav-menu a,
    .nav-links a { font-size: 11px; }

    .dropdown-menu {
        right: 0;
        left: auto !important;
    }

    .page-home .hero { min-height: 580px; }
    .page-home section,
    .page-product section { padding: 76px 0; }

    .page-home .hero-title { font-size: 82px; }

    .page-home .hero-center > div:last-child {
        flex-wrap: wrap;
        gap: 12px !important;
    }

    .page-about .about-hero-wrapper { width: min(100% - 32px, var(--container-width)); }
    .page-about main section { padding: 72px 0; }

    .page-store .store-hero { padding: 82px 0 42px; }
    .page-store .why-sec {
        margin-block: 16px 72px;
        padding: 48px 22px 22px;
        border-radius: 22px;
    }

    .page-store .why-sec .sec-title {
        margin-bottom: 26px;
        font-size: 42px;
    }

    .page-store .why-sec .why-item { min-height: 0; }

    .page-store .why-sec .why-item i { margin-bottom: 24px; }

    .page-store .faq-sec { padding: 76px 0; }

    .page-store .faq-sec .sec-title {
        margin-bottom: 30px;
        font-size: 42px;
    }

    .page-store .faq-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .page-store .faq-question {
        min-height: 74px;
        padding: 18px 18px;
        font-size: 14px;
    }

    .page-store .faq-answer { padding-inline: 18px; }

    .page-store .faq-item.active .faq-answer {
        padding: 0 18px 18px;
    }

    .page-product .hero { padding-bottom: 68px; }
    .page-product .hero-text-grid { padding-top: 36px; }

    .page-product .hero-title h1 { font-size: 66px; }

    .page-product .section-header { margin-bottom: 36px; }

    .page-product .section-header img {
        max-height: 260px;
        margin-top: 24px !important;
    }

    .page-product .feature-card,
    .page-product .step-box,
    .page-product .why-item,
    .page-product .why-box {
        min-height: 0;
        padding: 22px;
    }

    .page-product .info-row {
        gap: 10px;
        padding: 10px;
    }

    .page-product .info-row > div {
        min-height: 0;
        padding: 22px;
    }

    .page-product .info-row > div:last-child > div {
        grid-template-columns: 1fr !important;
    }

    .page-product .faq-list,
    .page-product .faq-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .page-product .faq-q {
        min-height: 72px;
        padding: 17px 18px;
        font-size: 14px;
    }

    .page-product .faq-a { padding-inline: 18px; }

    .page-product .faq-list .faq-item.active .faq-a {
        padding: 0 18px 18px;
    }

    .page-legal .privacy-container,
    .page-legal .refund-container,
    .page-legal .terms-container,
    .page-contact .contact-container {
        width: min(100% - 32px, 920px);
    }
}

/* Layout refresh: a more editorial, asymmetric site rhythm. */
:root {
    --bg-color: #f8f5ee;
    --bg-secondary: #eef3ed;
    --surface-warm: #f3eadf;
    --container-width: 1240px;
}

body {
    background:
        radial-gradient(circle at 2% 2%, rgba(229, 111, 61, 0.08), transparent 24rem),
        radial-gradient(circle at 96% 10%, rgba(15, 118, 110, 0.08), transparent 30rem),
        var(--bg-color);
}

header {
    padding: 12px 0;
    border-bottom: 0 !important;
    background: transparent !important;
    backdrop-filter: none;
}

header .container {
    width: min(100% - 36px, var(--container-width));
    padding: 0 18px;
    border: 1px solid rgba(23, 58, 58, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 30px rgba(24, 61, 59, 0.07);
    backdrop-filter: blur(18px);
}

.nav-wrapper,
.header-inner { min-height: 58px; }

.logo { font-size: 25px !important; }

.nav-menu,
.nav-links { gap: 8px; }

.nav-menu > a,
.nav-links > a,
.dropdown-toggle {
    padding: 9px 13px;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-menu > a:hover,
.nav-links > a:hover,
.dropdown-toggle:hover {
    background: var(--bg-secondary);
}

footer {
    padding: 42px 0 !important;
    background:
        radial-gradient(circle at 82% 110%, rgba(229, 111, 61, 0.18), transparent 24rem),
        #173a3a !important;
}

footer .container {
    width: min(100% - 48px, var(--container-width));
}

footer .links { gap: 8px; }

footer .links a {
    padding: 7px 10px;
    border-radius: 999px;
}

footer .links a:hover { background: rgba(255, 255, 255, 0.1); }

/* Home: split hero and magazine-like product grid. */
.page-home .hero {
    min-height: 760px;
    padding: 76px 0 48px;
    border: 0;
    background:
        radial-gradient(circle at 8% 18%, rgba(229, 111, 61, 0.16), transparent 22rem),
        radial-gradient(circle at 86% 28%, rgba(15, 118, 110, 0.18), transparent 26rem),
        linear-gradient(135deg, #f7efe5, #edf4ef 72%);
}

.page-home .hero-center {
    width: min(100% - 48px, var(--container-width));
    max-width: var(--container-width);
    margin-inline: auto;
    padding-right: 49%;
    text-align: left;
}

.page-home .hero-title {
    font-size: clamp(92px, 12vw, 154px);
    line-height: 0.82;
}

.page-home .hero-desc {
    margin-inline: 0;
    font-size: 18px;
}

.page-home .hero-center > div:last-child {
    justify-content: flex-start !important;
    flex-wrap: wrap;
}

.page-home .floating-image { display: block; }

.page-home .hero.loaded .scene-heic {
    top: 23% !important;
    left: auto !important;
    right: 31% !important;
    transform: rotate(-7deg) scale(1.02);
}

.page-home .hero.loaded .scene-video {
    top: 57% !important;
    left: auto !important;
    right: 20% !important;
    transform: rotate(6deg) scale(1.06);
}

.page-home .hero.loaded .scene-screen {
    top: 24% !important;
    right: 5% !important;
    transform: rotate(3deg) scale(1.08);
}

.page-home #products { padding: 104px 0 86px; }

.page-home .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.page-home .prod-card {
    display: flex;
    min-height: 390px;
    padding: 30px;
    flex-direction: column;
    border-radius: 20px;
    box-shadow: none;
}

.page-home .prod-card:nth-child(1) {
    background: linear-gradient(135deg, #fff, #f2eee5);
}

.page-home .prod-card:nth-child(2) {
    background: linear-gradient(135deg, #edf4ef, #fff);
}

.page-home .prod-card:nth-child(3) {
    display: flex;
    min-height: 390px;
    background: #173a3a;
}

.page-home .prod-card .logo-box {
    width: 58px;
    height: 58px;
    margin-bottom: 28px;
}

.page-home .prod-card h3 {
    margin-bottom: 10px;
    font-size: 21px;
}

.page-home .prod-card p {
    min-height: 72px;
    margin-bottom: 22px;
}

.page-home .prod-card .prod-features {
    margin-top: auto;
}

.page-home .prod-card:nth-child(3) h3 { color: #fff; }
.page-home .prod-card:nth-child(3) p { color: rgba(255, 255, 255, 0.66); }

.page-home .prod-card:nth-child(3) .prod-features {
    border-color: rgba(255, 255, 255, 0.16);
}

.page-home .prod-card:nth-child(3) .prod-features li { color: rgba(255, 255, 255, 0.82); }

.page-home #products + section {
    margin-inline: auto;
    width: min(100% - 48px, var(--container-width));
    padding: 76px 64px !important;
    border: 0;
    border-radius: 28px;
    background:
        radial-gradient(circle at 88% 0%, rgba(229, 111, 61, 0.2), transparent 20rem),
        #173a3a !important;
}

.page-home #products + section h2,
.page-home #products + section h3 { color: #fff; }

.page-home #products + section p { color: rgba(255, 255, 255, 0.68) !important; }

.page-home #products + section + section { padding-top: 90px; }

.page-home .why-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.page-home .why-card {
    grid-column: span 3;
    padding: 26px 22px;
}

.page-home .why-card:nth-child(2),
.page-home .why-card:nth-child(4) { transform: translateY(24px); }

.page-home .device-sec {
    margin-top: 58px;
    padding: 34px;
    border-radius: 20px;
}

/* Store: left-aligned opening and elevated product shelf. */
.page-store .store-hero {
    position: relative;
    max-width: var(--container-width);
    padding: 126px 42% 80px 0;
    text-align: left;
}

.page-store .store-hero::after {
    content: "ACIVRA / STORE";
    position: absolute;
    right: 0;
    bottom: 90px;
    color: rgba(23, 58, 58, 0.1);
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 800;
    letter-spacing: -0.08em;
}

.page-store .store-hero h1 {
    font-size: clamp(72px, 8vw, 108px);
    text-align: left;
}

.page-store .store-hero p { margin-inline: 0; }

.page-store .pricing-grid-wrapper {
    margin-top: 0;
    padding: 0 0 92px;
    border: 0;
    background: transparent;
}

.page-store .pricing-grid { gap: 16px; }

.page-store .price-card {
    padding: 30px;
    border: 1px solid var(--border-color) !important;
    border-radius: 22px;
    box-shadow: none;
}

.page-store .prod-info { margin-bottom: 24px; }
.page-store .prod-logo { margin-bottom: 16px; }
.page-store .prod-info h3 { margin-bottom: 8px; }
.page-store .price-tag { margin-bottom: 20px; font-size: 38px; }
.page-store .btn-pricing { margin-bottom: 26px; }
.page-store .features-label { margin-bottom: 14px; }
.page-store .price-features li { margin-bottom: 11px; }
.page-store .platforms-label { padding-top: 18px; }

.page-store .price-card.featured {
    transform: translateY(-22px);
    box-shadow: 0 22px 42px rgba(24, 61, 59, 0.12);
}

/* Products: split launch panel, stronger section rhythm. */
.page-product .hero {
    display: grid;
    min-height: 620px;
    grid-template-columns: minmax(24px, 1fr) minmax(0, 600px) minmax(0, 620px) minmax(24px, 1fr);
    align-items: center;
    padding: 56px 0 68px;
    overflow: hidden;
}

.page-product .hero-visual-container {
    grid-row: 1;
    grid-column: 3;
    padding: 18px;
    overflow: visible;
    border: 1px solid var(--border-color);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-soft);
}

.page-product .hero-visual-container img {
    width: 100% !important;
    min-height: 0;
    max-height: 470px;
    border-radius: 18px;
    object-fit: contain;
}

.page-product .hero-text-grid {
    grid-row: 1;
    grid-column: 2;
    display: block;
    width: auto;
    margin: 0;
    padding: 12px 52px 12px 0;
}

.page-product .hero-title h1 {
    font-size: clamp(74px, 7vw, 108px);
}

.page-product .hero-desc { margin-top: 24px; }

.page-product .hero-desc p { max-width: 500px; }

.page-product .hero .btn-group {
    justify-content: flex-start;
    margin-top: 26px;
}

.page-product main > section:not(.hero) {
    border-top: 0;
}

.page-product main > section:nth-child(odd):not(.hero) {
    background: rgba(238, 243, 237, 0.68);
}

.page-product .features-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.page-product .feature-card {
    grid-column: span 4;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
}

.page-product .feature-card:nth-child(1),
.page-product .feature-card:nth-child(5) {
    background: #fff9f2;
}

.page-product .steps-container .step-box:nth-child(2) { transform: translateY(18px); }

.page-product section[style*="background: #000"] {
    margin-inline: auto;
    width: min(100% - 48px, var(--container-width));
    border-radius: 28px;
}

.page-product section[style*="background: var(--primary)"] {
    margin-inline: auto;
    width: min(100% - 48px, var(--container-width));
    border-radius: 28px;
}

.page-product section[style*="padding: 160px"] h2 {
    max-width: 820px;
    margin-inline: auto;
}

/* Purchase: a pricing shelf with a clear recommended tier. */
.page-purchase .pricing-hero {
    padding: 118px 0 124px;
    text-align: left;
}

.page-purchase .pricing-hero h1 { max-width: 860px; }

.page-purchase .pricing-section {
    margin-top: -58px;
    background: transparent;
}

.page-purchase .pricing-section > .container {
    padding: 0 18px 18px;
    border: 1px solid var(--border-color);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
}

.page-purchase .pricing-grid {
    align-items: stretch;
    gap: 14px;
    padding: 18px 0 0;
}

.page-purchase .plan-card {
    padding: 26px;
    border: 1px solid var(--border-color) !important;
    border-radius: 18px;
    box-shadow: none;
}

.page-purchase .plan-name {
    margin-bottom: 8px;
    font-size: 24px;
}

.page-purchase .plan-sub {
    min-height: 36px;
    margin-bottom: 18px;
}

.page-purchase .price-area { margin-bottom: 22px; }
.page-purchase .amount { font-size: 54px; }
.page-purchase .btn-buy { margin-bottom: 26px; }
.page-purchase .includes-title { margin-bottom: 16px; }
.page-purchase .feature-item { margin-bottom: 11px; }

.page-purchase .plan-card > div:last-child {
    padding-top: 22px !important;
}

.page-purchase .plan-card.featured {
    transform: translateY(-16px);
    box-shadow: 0 18px 36px rgba(24, 61, 59, 0.13);
}

.page-purchase .info-section {
    margin: 92px auto 0;
    width: min(100% - 48px, var(--container-width));
    border-radius: 28px;
}

.page-purchase .grid-2col { gap: 54px; }

.page-purchase .support-block {
    padding: 92px 0;
    background: transparent;
}

/* About: split introduction and staggered capability cards. */
.page-about .about-hero { padding: 82px 0 62px; }

.page-about .about-hero-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 18px;
    align-items: stretch;
}

.page-about .about-hero-content {
    display: flex;
    min-height: 520px;
    padding: 46px;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 26px;
    background:
        radial-gradient(circle at 88% 10%, rgba(229, 111, 61, 0.24), transparent 16rem),
        #173a3a;
}

.page-about .about-hero-content h1,
.page-about .about-hero-content p { color: #fff; }

.page-about .about-hero-content h1 {
    font-size: clamp(74px, 8vw, 116px);
    line-height: 0.86;
}

.page-about .about-mission {
    padding: 46px;
    border-radius: 26px;
    box-shadow: none;
}

.page-about .build-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
}

.page-about .build-item {
    grid-column: span 6;
    padding: 26px;
}

.page-about .build-item:nth-child(1),
.page-about .build-item:nth-child(4) {
    background: var(--surface-warm);
}

.page-about .choice-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
}

.page-about .choice-card {
    grid-column: span 3;
    min-height: 220px;
    padding: 24px;
}

.page-about .choice-card:nth-child(2),
.page-about .choice-card:nth-child(4) { transform: translateY(22px); }

.page-about .vision-card {
    padding: 64px;
    border-radius: 26px;
    box-shadow: none;
    background:
        radial-gradient(circle at 84% 0%, rgba(229, 111, 61, 0.14), transparent 19rem),
        #eef3ed;
}

/* Legal and contact: editorial title rail and focused reading panel. */
.page-legal main,
.page-contact main { padding-top: 0; }

.page-legal .privacy-hero,
.page-legal .refund-hero,
.page-legal .terms-hero,
.page-contact .contact-hero {
    padding: 118px 24px 152px;
    text-align: left;
}

.page-legal .privacy-hero-title,
.page-legal .refund-hero-title,
.page-legal .terms-hero-title,
.page-contact .contact-hero-title,
.page-contact .contact-hero-desc {
    width: min(100%, var(--container-width));
    margin-inline: auto;
}

.page-legal .privacy-main,
.page-legal .refund-main,
.page-legal .terms-main,
.page-contact .contact-main {
    margin-top: -74px;
    padding: 0 0 96px;
}

.page-legal .privacy-container,
.page-legal .refund-container,
.page-legal .terms-container,
.page-contact .contact-container {
    width: min(100% - 48px, 1040px);
    border-radius: 22px;
    box-shadow: 0 22px 50px rgba(24, 61, 59, 0.1);
}

.page-contact .contact-container {
    max-width: 1040px;
    padding: 0;
}

.page-contact .contact-form { padding: 52px; }

@media (max-width: 1000px) {
    .page-product .hero {
        display: block;
        min-height: 0;
        padding-top: 0;
    }

    .page-product .hero-visual-container {
        width: calc(100% - 48px);
        margin: 0 24px;
        border-radius: 26px;
    }

    .page-product .hero-text-grid {
        width: min(100% - 48px, var(--container-width));
        margin-inline: auto;
        padding: 42px 0 0;
    }

    .page-about .about-hero-wrapper { grid-template-columns: 1fr; }
    .page-about .about-hero-content { min-height: 360px; }
}

@media (max-width: 900px) {
    .page-home .hero {
        min-height: 630px;
        padding-top: 88px;
    }

    .page-home .hero-center {
        padding-right: 0;
    }

    .page-home .floating-image { display: none; }

    .page-home .products-grid { display: block; }

    .page-home .prod-card,
    .page-home .prod-card:nth-child(3) {
        display: block;
        min-height: 0;
        margin-bottom: 12px;
        padding: 28px;
    }

    .page-home .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-home .why-card {
        grid-column: span 1;
    }

    .page-home .why-card:nth-child(2),
    .page-home .why-card:nth-child(4) { transform: none; }
}

@media (max-width: 680px) {
    header { padding: 8px 0; }

    header .container {
        width: min(100% - 20px, var(--container-width));
        padding: 0 11px;
        border-radius: 18px;
    }

    .nav-wrapper,
    .header-inner {
        min-height: 58px;
        padding: 0 !important;
    }

    .nav-menu > a,
    .nav-links > a,
    .dropdown-toggle { padding: 7px 5px; }

    .page-home .hero {
        min-height: 620px;
        padding-top: 82px;
    }

    .page-home .hero-center {
        width: min(100% - 32px, var(--container-width));
        padding-right: 0;
    }

    .page-home .hero-title { font-size: 92px; }
    .page-home .floating-image { display: none; }

    .page-home .products-grid { display: block; }

    .page-home .prod-card,
    .page-home .prod-card:nth-child(3) {
        display: block;
        min-height: 0;
        margin-bottom: 12px;
        padding: 26px;
    }

    .page-home #products + section {
        width: min(100% - 32px, var(--container-width));
        padding: 48px 24px !important;
        border-radius: 22px;
    }

    .page-home .why-grid { display: block; }

    .page-home .why-card,
    .page-home .why-card:nth-child(2),
    .page-home .why-card:nth-child(4) {
        margin-bottom: 10px;
        transform: none;
    }

    .page-store .store-hero {
        padding: 92px 0 50px;
    }

    .page-store .store-hero::after { display: none; }

    .page-store .store-hero h1 { font-size: 66px; }

    .page-store .price-card.featured,
    .page-purchase .plan-card.featured { transform: none; }

    .page-product .hero-visual-container {
        width: calc(100% - 32px);
        margin: 0 16px;
        padding: 10px;
        border-radius: 20px;
    }

    .page-product .hero-visual-container img {
        min-height: 0;
        max-height: 260px;
        border-radius: 14px;
    }

    .page-product .hero-text-grid {
        width: min(100% - 32px, var(--container-width));
        padding-top: 30px;
    }

    .page-product .hero-title h1 { font-size: 68px; }

    .page-product .features-grid { display: block; }
    .page-product .feature-card { margin-bottom: 10px; }

    .page-product section[style*="background: #000"],
    .page-product section[style*="background: var(--primary)"] {
        width: min(100% - 32px, var(--container-width));
        border-radius: 22px;
    }

    .page-purchase .pricing-hero { padding: 88px 0 104px; }

    .page-purchase .pricing-section > .container {
        width: min(100% - 24px, var(--container-width));
        padding: 0 10px 10px;
        border-radius: 20px;
    }

    .page-purchase .info-section {
        width: min(100% - 32px, var(--container-width));
        margin-top: 72px;
    }

    .page-about .about-hero { padding: 58px 0 38px; }

    .page-about .about-hero-wrapper {
        width: min(100% - 32px, var(--container-width));
    }

    .page-about .about-hero-content {
        min-height: 300px;
        padding: 26px;
        border-radius: 20px;
    }

    .page-about .about-hero-content h1 { font-size: 78px; }

    .page-about .about-mission {
        padding: 28px 24px;
        border-radius: 20px;
    }

    .page-about .build-grid,
    .page-about .choice-grid { display: block; }

    .page-about .build-item,
    .page-about .choice-card,
    .page-about .choice-card:nth-child(2),
    .page-about .choice-card:nth-child(4) {
        min-height: 0;
        margin-bottom: 10px;
        transform: none;
    }

    .page-about .vision-card { padding: 34px 24px; }

    .page-legal .privacy-hero,
    .page-legal .refund-hero,
    .page-legal .terms-hero,
    .page-contact .contact-hero {
        padding: 84px 18px 116px;
    }

    .page-legal .privacy-main,
    .page-legal .refund-main,
    .page-legal .terms-main,
    .page-contact .contact-main {
        margin-top: -58px;
        padding-bottom: 72px;
    }

    .page-legal .privacy-container,
    .page-legal .refund-container,
    .page-legal .terms-container,
    .page-contact .contact-container {
        width: min(100% - 24px, 1040px);
        border-radius: 18px;
    }

    .page-contact .contact-form { padding: 24px; }
}
