:root {
    --bg-primary: #0b1a2a;
    --bg-secondary: #0f2740;
    --bg-tertiary: #122f52;
    --card-bg: rgba(14, 28, 47, 0.62);
    --card-bg-soft: rgba(13, 25, 42, 0.46);
    --card-border: rgba(115, 184, 255, 0.24);
    --card-border-soft: rgba(97, 166, 248, 0.15);
    --text-main: #f3f8ff;
    --text-muted: #aec6e9;
    --accent: #00aeef;
    --accent-2: #3b82f6;
    --accent-soft: rgba(0, 174, 239, 0.24);
    --button-shadow: 0 14px 34px rgba(0, 174, 239, 0.34);
    --surface-shadow: 0 22px 52px rgba(3, 10, 18, 0.5);
    --ios-safe-top: env(safe-area-inset-top, 0px);
    --ios-safe-right: env(safe-area-inset-right, 0px);
    --ios-safe-bottom: env(safe-area-inset-bottom, 0px);
    --ios-safe-left: env(safe-area-inset-left, 0px);
}

.pricing-section.pricing-v2 {
    margin-top: 32px;
    border-radius: 28px;
    border: 1px solid rgba(113, 184, 255, 0.24);
    background:
        radial-gradient(700px 300px at 8% -18%, rgba(76, 145, 252, 0.24), transparent 62%),
        radial-gradient(560px 280px at 96% -8%, rgba(0, 174, 239, 0.18), transparent 66%),
        linear-gradient(158deg, #0a1f3a 0%, #0c2a4d 48%, #0b2340 100%);
    box-shadow: 0 26px 56px rgba(3, 12, 24, 0.52);
    padding: clamp(24px, 4vw, 38px);
}

.social-bar {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(113, 184, 255, 0.2);
    background: linear-gradient(158deg, rgba(10, 31, 58, 0.84) 0%, rgba(11, 35, 64, 0.84) 52%, rgba(10, 26, 49, 0.88) 100%);
    box-shadow: 0 18px 42px rgba(3, 12, 24, 0.28);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.social-bar-copy {
    display: grid;
    gap: 6px;
}

.social-bar-kicker {
    color: #9fc5ee;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.social-bar-copy h2 {
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    color: #f3f9ff;
    letter-spacing: -0.02em;
}

.social-bar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.social-pill {
    min-height: 48px;
    padding: 0 16px 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(131, 196, 255, 0.32);
    background: rgba(18, 50, 86, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #eaf6ff;
    font-size: 0.92rem;
    font-weight: 800;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.social-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(149, 214, 255, 0.52);
    box-shadow: 0 14px 28px rgba(3, 13, 24, 0.24);
}

.social-pill.is-placeholder {
    opacity: 0.82;
}

.social-pill-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.social-pill--facebook .social-pill-icon { background: linear-gradient(145deg, #1877f2, #4098ff); }
.social-pill--line .social-pill-icon { background: linear-gradient(145deg, #06c755, #29df75); }
.social-pill--group .social-pill-icon { background: linear-gradient(145deg, #5c7cff, #7d61ff); }

html[data-theme="sunset"] .social-bar {
    background: linear-gradient(158deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 249, 255, 0.94) 52%, rgba(236, 244, 255, 0.96) 100%);
    border-color: rgba(105, 157, 223, 0.22);
    box-shadow: 0 16px 34px rgba(128, 166, 214, 0.16);
}

html[data-theme="sunset"] .social-bar-kicker {
    color: #57779f;
}

html[data-theme="sunset"] .social-bar-copy h2 {
    color: #1d3553;
}

html[data-theme="sunset"] .social-pill {
    color: #21446d;
    border-color: rgba(105, 157, 223, 0.28);
    background: rgba(255, 255, 255, 0.88);
}

.pricing-v2-head {
    text-align: center;
    margin-bottom: 24px;
}

.pricing-v2-head h2 {
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.56rem, 2.8vw, 2.42rem);
    color: #f3f9ff;
    letter-spacing: -0.02em;
}

.pricing-v2-head p {
    margin-top: 8px;
    font-size: clamp(0.98rem, 1.36vw, 1.14rem);
    color: #bdd7f9;
    font-weight: 600;
}

.pricing-v2-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 20px);
    align-items: stretch;
}

.pricing-card {
    border-radius: 22px;
    border: 1px solid rgba(117, 181, 252, 0.22);
    background: linear-gradient(170deg, rgba(16, 40, 70, 0.8), rgba(13, 32, 58, 0.72));
    box-shadow: 0 18px 36px rgba(3, 13, 24, 0.42);
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.pricing-card--pro {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(122, 206, 255, 0.62);
    background: linear-gradient(168deg, rgba(24, 67, 112, 0.92), rgba(16, 53, 95, 0.88));
    box-shadow: 0 26px 52px rgba(5, 22, 44, 0.56), 0 0 0 1px rgba(118, 204, 255, 0.28);
}

.pricing-card--pro::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(140deg, rgba(140, 222, 255, 0.32), rgba(89, 149, 255, 0.08), transparent 65%);
}

.pricing-card--yearly {
    border-color: rgba(140, 196, 255, 0.4);
    background: linear-gradient(170deg, rgba(19, 52, 88, 0.86), rgba(14, 40, 70, 0.76));
}

.pricing-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(132, 191, 251, 0.4);
    font-size: 0.74rem;
    font-weight: 700;
    color: #d6ebff;
    background: rgba(21, 54, 90, 0.6);
}

.pricing-card-badge--pro {
    color: #07253f;
    border-color: rgba(166, 234, 255, 0.84);
    background: linear-gradient(140deg, #7ed6ff, #b1ebff);
}

.pricing-card-badge--yearly {
    color: #0d2a4a;
    border-color: rgba(178, 218, 255, 0.84);
    background: linear-gradient(140deg, #8bc5ff, #bfdfff);
}

.pricing-card-badge--pro::before,
.pricing-card-badge--yearly::before {
    content: "";
    display: inline-block;
    flex: 0 0 auto;
    background: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.pricing-card-badge--pro::before {
    width: 12px;
    height: 12px;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3.4l2.66 5.4 5.96.86-4.31 4.2 1.02 5.94L12 17.07 6.67 19.8l1.02-5.94-4.31-4.2 5.96-.86L12 3.4Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3.4l2.66 5.4 5.96.86-4.31 4.2 1.02 5.94L12 17.07 6.67 19.8l1.02-5.94-4.31-4.2 5.96-.86L12 3.4Z'/%3E%3C/svg%3E");
}

.pricing-card-badge--yearly::before {
    width: 12px;
    height: 12px;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2.8 15 9l6.2 3-6.2 3-3 6.2-3-6.2-6.2-3L9 9l3-6.2Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2.8 15 9l6.2 3-6.2 3-3 6.2-3-6.2-6.2-3L9 9l3-6.2Z'/%3E%3C/svg%3E");
}

.pricing-card h3 {
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: 1.32rem;
    color: #f5faff;
}

.pricing-card-price {
    font-size: 1.56rem;
    font-weight: 800;
    color: #f2f8ff;
    letter-spacing: -0.01em;
}

.pricing-card--pro .pricing-card-price {
    font-size: 1.72rem;
    color: #dcf4ff;
    text-shadow: 0 0 16px rgba(131, 214, 255, 0.24);
}

.pricing-card-price-note {
    margin-top: -4px;
    font-size: 0.86rem;
    color: #9ec7f1;
    font-weight: 600;
}

.pricing-card-desc {
    color: #b9d6f8;
    font-size: 0.9rem;
    line-height: 1.55;
    min-height: 42px;
}

.pricing-feature-list,
.pricing-limit-list {
    list-style: none;
    display: grid;
    gap: 7px;
    margin-top: 2px;
}

.pricing-feature-list li,
.pricing-limit-list li {
    color: #ddedff;
    font-size: 0.84rem;
    line-height: 1.45;
    position: relative;
    padding-left: 17px;
}

.pricing-feature-list li::before,
.pricing-limit-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #68c8ff;
}

.pricing-limit-title {
    margin-top: 4px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #9fc5ee;
    text-transform: uppercase;
}

.pricing-limit-list li {
    color: #b0cae8;
}

.pricing-v2 .plan-select-btn {
    margin-top: auto;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid rgba(131, 196, 255, 0.52);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: transform 0.22s ease, box-shadow 0.24s ease, border-color 0.22s ease;
}

.pricing-v2 .plan-select-btn > * {
    position: relative;
    z-index: 1;
}

.plan-btn-icon {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.08) 42%, rgba(255, 255, 255, 0) 58%),
        linear-gradient(145deg, #61d8ff 0%, #26adff 52%, #4f8fff 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        0 10px 22px rgba(64, 140, 222, 0.32),
        0 0 0 1px rgba(184, 230, 255, 0.24);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.plan-btn-icon svg {
    width: 22px;
    height: 22px;
    display: block;
    transform: rotate(-14deg);
    filter: drop-shadow(0 2px 4px rgba(18, 63, 123, 0.22));
}

.plan-btn-emoji {
    display: inline-block;
    font-size: 1.36rem;
    line-height: 1;
    transform: translateY(1px);
    filter: none;
}

.plan-btn-icon--pro,
.plan-btn-icon--final {
    color: rgba(255, 255, 255, 0.96);
}

.plan-btn-icon--yearly {
    color: rgba(255, 255, 255, 0.96);
}

.pricing-v2 .plan-select-btn--monthly .plan-btn-icon {
    width: 46px;
    height: 46px;
    background:
        radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.12) 38%, rgba(255, 255, 255, 0) 58%),
        linear-gradient(145deg, #66ddff 0%, #25afff 48%, #4a88ff 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.38),
        0 12px 24px rgba(55, 133, 224, 0.36),
        0 0 0 1px rgba(198, 236, 255, 0.28),
        0 0 22px rgba(92, 163, 247, 0.18);
}

.pricing-v2 .plan-select-btn--monthly > .plan-btn-emoji,
.pricing-v2 .plan-select-btn--monthly > svg,
.pricing-v2 .plan-select-btn--monthly .plan-btn-icon svg {
    display: none !important;
}

.pricing-v2 .plan-select-btn--monthly .plan-btn-icon svg {
    width: 26px;
    height: 26px;
    transform: rotate(-8deg);
    filter: drop-shadow(0 2px 6px rgba(18, 63, 123, 0.18));
}

.pricing-v2 .plan-select-btn--monthly .plan-btn-emoji {
    font-size: 1.38rem;
    transform: translateY(1px);
    filter: none;
}

.plan-btn-label {
    display: inline-flex;
    align-items: center;
}

.pricing-v2 .plan-select-btn .plan-btn-label::before,
.pricing-v2 .plan-select-btn .plan-btn-label::after {
    content: none !important;
    display: none !important;
}

.pricing-v2 .plan-select-btn:hover {
    transform: translateY(-2px);
}

.pricing-v2 .plan-select-btn:hover .plan-btn-icon {
    transform: translateY(-1px) scale(1.04);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.36),
        0 12px 24px rgba(67, 137, 220, 0.34),
        0 0 0 1px rgba(204, 240, 255, 0.3);
    filter: brightness(1.04);
}

.pricing-v2 .plan-select-btn:hover .plan-btn-emoji {
    transform: translateY(0) scale(1.04);
}

.pricing-v2 .plan-select-btn--free {
    color: #dbecff;
    background: rgba(18, 50, 86, 0.74);
}

.pricing-v2 .plan-select-btn--monthly {
    min-height: 58px;
    color: #f5fbff;
    border-color: rgba(182, 231, 255, 0.8);
    background: linear-gradient(135deg, #12c6ff 0%, #328eff 48%, #6f62ff 100%);
    box-shadow:
        0 18px 34px rgba(45, 116, 228, 0.42),
        0 0 0 1px rgba(153, 219, 255, 0.2),
        0 0 30px rgba(70, 131, 255, 0.2);
    animation: ctaBreath 3s ease-in-out infinite;
}

.pricing-v2 .plan-select-btn--monthly::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 34%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 46%);
    pointer-events: none;
}

.pricing-v2 .plan-select-btn--monthly::after {
    content: "";
    position: absolute;
    inset: -10% 42% auto -18%;
    height: 180%;
    transform: rotate(18deg);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
    pointer-events: none;
    opacity: 0.72;
}

.pricing-v2 .plan-select-btn--monthly .plan-btn-label {
    font-size: 0.96rem;
    text-shadow: 0 1px 2px rgba(11, 34, 86, 0.26);
}

.pricing-v2 .plan-select-btn--yearly {
    color: #0b2c4d;
    border-color: rgba(176, 220, 255, 0.8);
    background: linear-gradient(135deg, #a5d3ff 0%, #8ebeff 100%);
    box-shadow: 0 12px 22px rgba(67, 137, 220, 0.38);
}

.pricing-v2 .plan-select-btn--final {
    color: #06233f;
    border-color: rgba(147, 225, 255, 0.86);
    background: linear-gradient(135deg, #91ddff 0%, #73b6ff 100%);
    box-shadow: 0 12px 24px rgba(52, 141, 231, 0.44);
    min-width: 230px;
}

.pricing-pro-note {
    margin-top: 8px;
    text-align: center;
    font-size: 0.79rem;
    color: #bfe2ff;
}

.pricing-why {
    margin-top: 20px;
    border-radius: 18px;
    border: 1px solid rgba(119, 183, 251, 0.22);
    background: rgba(11, 31, 56, 0.66);
    padding: 18px;
}

.pricing-why h3 {
    color: #eef7ff;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.pricing-why ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.pricing-why li {
    color: #c7ddf8;
    font-size: 0.9rem;
    line-height: 1.45;
    padding-left: 18px;
    position: relative;
}

.pricing-why li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #7ed6ff;
    font-weight: 800;
}

.pricing-bottom-cta {
    margin-top: 20px;
    text-align: center;
    border-radius: 18px;
    border: 1px solid rgba(127, 190, 255, 0.28);
    background: linear-gradient(160deg, rgba(14, 42, 75, 0.74), rgba(12, 33, 60, 0.62));
    padding: 20px 16px;
}

.pricing-bottom-cta h3 {
    color: #f2f9ff;
    font-size: 1.28rem;
}

.pricing-bottom-cta p {
    margin-top: 6px;
    margin-bottom: 12px;
    color: #b8d7f8;
    font-size: 0.95rem;
}

html[data-theme="sunset"] .pricing-section.pricing-v2 {
    border-color: rgba(115, 165, 222, 0.32);
    background:
        radial-gradient(660px 300px at 10% -20%, rgba(119, 177, 246, 0.24), transparent 60%),
        radial-gradient(520px 280px at 98% -8%, rgba(131, 202, 250, 0.2), transparent 62%),
        linear-gradient(160deg, #edf5ff 0%, #e4efff 52%, #dfeafb 100%);
    box-shadow: 0 20px 40px rgba(102, 140, 191, 0.24);
}

html[data-theme="sunset"] .pricing-v2-head h2,
html[data-theme="sunset"] .pricing-card h3,
html[data-theme="sunset"] .pricing-card-price,
html[data-theme="sunset"] .pricing-why h3,
html[data-theme="sunset"] .pricing-bottom-cta h3 {
    color: #1d4168;
}

html[data-theme="sunset"] .pricing-v2-head p,
html[data-theme="sunset"] .pricing-card-desc,
html[data-theme="sunset"] .pricing-feature-list li,
html[data-theme="sunset"] .pricing-limit-list li,
html[data-theme="sunset"] .pricing-pro-note,
html[data-theme="sunset"] .pricing-why li,
html[data-theme="sunset"] .pricing-bottom-cta p,
html[data-theme="sunset"] .pricing-card-price-note {
    color: #4f7096;
}

html[data-theme="sunset"] .pricing-card {
    border-color: rgba(118, 163, 218, 0.34);
    background: linear-gradient(170deg, rgba(250, 254, 255, 0.94), rgba(241, 248, 255, 0.86));
    box-shadow: 0 16px 30px rgba(121, 156, 207, 0.2);
}

html[data-theme="sunset"] .pricing-card--pro {
    border-color: rgba(104, 162, 226, 0.66);
    background: linear-gradient(168deg, rgba(223, 240, 255, 0.97), rgba(206, 229, 255, 0.88));
    box-shadow: 0 20px 34px rgba(104, 146, 203, 0.28);
}

html[data-theme="sunset"] .pricing-why,
html[data-theme="sunset"] .pricing-bottom-cta {
    border-color: rgba(118, 164, 220, 0.34);
    background: linear-gradient(165deg, rgba(248, 253, 255, 0.94), rgba(237, 246, 255, 0.84));
}

@media (max-width: 1060px) {
    .pricing-v2-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-card--pro {
        order: -1;
    }
}

@media (max-width: 760px) {
    .pricing-v2-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card--pro {
        transform: none;
    }
}

html[data-theme="sunset"] {
    --bg-primary: #ecf4ff;
    --bg-secondary: #e5f0ff;
    --bg-tertiary: #d8e7ff;
    --card-bg: rgba(250, 253, 255, 0.84);
    --card-bg-soft: rgba(241, 248, 255, 0.78);
    --card-border: rgba(94, 143, 206, 0.34);
    --card-border-soft: rgba(116, 159, 215, 0.3);
    --text-main: #132d4c;
    --text-muted: #4c678b;
    --accent: #2f7ef3;
    --accent-2: #5ba0ff;
    --accent-soft: rgba(58, 130, 233, 0.18);
    --button-shadow: 0 14px 30px rgba(63, 131, 224, 0.28);
    --surface-shadow: 0 18px 38px rgba(98, 136, 191, 0.26);
}

html[data-theme="sunset"] body {
    color: var(--text-main);
    background:
        radial-gradient(1120px 560px at 12% -10%, rgba(128, 186, 255, 0.38), transparent 70%),
        radial-gradient(860px 500px at 92% -6%, rgba(124, 205, 255, 0.24), transparent 72%),
        linear-gradient(160deg, #f8fbff 0%, #edf4ff 40%, #e3edff 100%);
}

html[data-theme="sunset"] .glass-card,
html[data-theme="sunset"] .metric-card,
html[data-theme="sunset"] .ai-highlight,
html[data-theme="sunset"] .pricing-section {
    border-color: var(--card-border-soft);
    background: linear-gradient(170deg, rgba(252, 255, 255, 0.92), rgba(243, 249, 255, 0.76));
    box-shadow: var(--surface-shadow);
}

html[data-theme="sunset"] .hero-subtitle,
html[data-theme="sunset"] .metric-label,
html[data-theme="sunset"] .ai-desc,
html[data-theme="sunset"] .pricing-head p,
html[data-theme="sunset"] .pricing-table tbody th,
html[data-theme="sunset"] .pricing-table tbody td,
html[data-theme="sunset"] .plan-meta {
    color: var(--text-muted);
}

html[data-theme="sunset"] .btn-secondary {
    color: var(--text-main);
    border-color: rgba(97, 146, 209, 0.52);
    background: rgba(252, 255, 255, 0.82);
    box-shadow: 0 10px 22px rgba(114, 151, 203, 0.22);
}

html[data-theme="sunset"] .btn-secondary:hover {
    box-shadow: 0 0 0 1px rgba(103, 154, 219, 0.28), 0 0 20px rgba(106, 157, 225, 0.22), 0 14px 26px rgba(114, 151, 203, 0.28);
}

html[data-theme="sunset"] .blob {
    opacity: 0.76;
    filter: blur(34px);
}

html[data-theme="sunset"] .blob-a {
    background: radial-gradient(circle at 30% 30%, rgba(82, 150, 236, 0.52), rgba(82, 150, 236, 0.04) 74%);
}

html[data-theme="sunset"] .blob-b {
    background: radial-gradient(circle at 50% 50%, rgba(53, 166, 221, 0.42), rgba(53, 166, 221, 0.03) 74%);
}

html[data-theme="sunset"] .blob-c {
    background: radial-gradient(circle at 65% 50%, rgba(120, 132, 234, 0.38), rgba(120, 132, 234, 0.03) 74%);
}

html[data-theme="sunset"] .curve {
    border-color: rgba(95, 140, 197, 0.24);
}

html[data-theme="sunset"] .geo {
    opacity: 0.5;
}

html[data-theme="sunset"] .geo-ring {
    border-color: rgba(109, 160, 222, 0.36);
    box-shadow: 0 0 16px rgba(73, 137, 214, 0.24);
}

html[data-theme="sunset"] .geo-square {
    border-color: rgba(108, 159, 219, 0.34);
    box-shadow: 0 0 12px rgba(87, 145, 220, 0.2);
}

html[data-theme="sunset"] .geo-triangle {
    border-bottom-color: rgba(99, 156, 219, 0.3);
    filter: drop-shadow(0 0 8px rgba(87, 145, 220, 0.2));
}

html[data-theme="sunset"] .geo-line {
    background: linear-gradient(90deg, rgba(58, 130, 233, 0.02), rgba(95, 155, 225, 0.54), rgba(58, 130, 233, 0.02));
    box-shadow: 0 0 10px rgba(94, 154, 225, 0.22);
}

html[data-theme="sunset"] .hero-kicker {
    color: #1f4874;
    border-color: rgba(100, 151, 214, 0.4);
    background: rgba(105, 154, 217, 0.14);
}

html[data-theme="sunset"] .hero-title,
html[data-theme="sunset"] .metric-value,
html[data-theme="sunset"] .card-head p,
html[data-theme="sunset"] .toggle-copy,
html[data-theme="sunset"] .input-row label,
html[data-theme="sunset"] .input-row span,
html[data-theme="sunset"] .problem-list li,
html[data-theme="sunset"] .settings-items p,
html[data-theme="sunset"] .ai-title,
html[data-theme="sunset"] .ai-assist-line {
    color: #1d3b5f;
}

html[data-theme="sunset"] .hero-keyword {
    color: #1f5f99;
    background: none;
    box-shadow: none;
    text-shadow: 0 0 10px rgba(97, 151, 219, 0.26);
}

html[data-theme="sunset"] .free-pill {
    color: #133962;
    background: linear-gradient(140deg, #e6f9ff, #bfe8ff);
    border-color: rgba(145, 205, 240, 0.8);
}

html[data-theme="sunset"] .toggle-item {
    border-color: rgba(118, 162, 216, 0.33);
    background: rgba(251, 255, 255, 0.86);
}

html[data-theme="sunset"] .toggle-ui {
    background: rgba(140, 170, 205, 0.34);
    border-color: rgba(121, 158, 202, 0.44);
}

html[data-theme="sunset"] .input-wrap input {
    border-color: rgba(112, 157, 211, 0.5);
    background: rgba(255, 255, 255, 0.94);
    color: #1a3556;
}

html[data-theme="sunset"] .unit {
    color: #5c7698;
}

html[data-theme="sunset"] .problem-list li {
    border-color: rgba(115, 160, 214, 0.36);
    background: rgba(252, 255, 255, 0.9);
}

html[data-theme="sunset"] .level-pill {
    color: #4f6d91;
    border-color: rgba(116, 161, 214, 0.4);
}

html[data-theme="sunset"] .hero-visual .live-pill,
html[data-theme="sunset"] .hero-visual .page-pill,
html[data-theme="sunset"] .hero-visual .panel-pill {
    color: #2e557f;
    border-color: rgba(106, 153, 213, 0.42);
    background: rgba(114, 160, 220, 0.16);
}

html[data-theme="sunset"] .hero-visual .badge {
    color: #133a62;
    background: linear-gradient(140deg, #b6dcff, #7cc2ff);
}

html[data-theme="sunset"] .a4-mini {
    border-color: rgba(117, 162, 215, 0.34);
    background: rgba(255, 255, 255, 0.96);
}

html[data-theme="sunset"] .avatar {
    border-color: rgba(241, 248, 255, 0.96);
}

html[data-theme="sunset"] .pricing-table-wrap {
    border-color: rgba(112, 163, 218, 0.34);
    background: rgba(248, 252, 255, 0.86);
}

html[data-theme="sunset"] .pricing-table thead th {
    background: linear-gradient(165deg, rgba(199, 223, 248, 0.92), rgba(218, 234, 252, 0.84));
    color: #264a72;
    border-bottom-color: rgba(111, 164, 220, 0.3);
}

html[data-theme="sunset"] .pricing-table thead th:nth-child(2) {
    background: linear-gradient(165deg, rgba(202, 238, 230, 0.96), rgba(223, 247, 241, 0.9));
    color: #1f5f54;
}

html[data-theme="sunset"] .pricing-table thead th:nth-child(3) {
    background: linear-gradient(165deg, rgba(191, 220, 248, 0.96), rgba(209, 232, 255, 0.9));
    color: #1f4f84;
}

html[data-theme="sunset"] .pricing-table tbody tr:nth-child(odd) {
    background: rgba(222, 236, 251, 0.48);
}

html[data-theme="sunset"] .plan-chip {
    border-color: rgba(117, 165, 221, 0.4);
    background: rgba(213, 231, 250, 0.72);
    color: #2a527c;
}

html[data-theme="sunset"] .pricing-table thead th:nth-child(2) .plan-chip {
    border-color: rgba(72, 152, 134, 0.38);
    background: rgba(229, 249, 243, 0.88);
    color: #27665a;
}

html[data-theme="sunset"] .pricing-table thead th:nth-child(3) .plan-chip {
    border-color: rgba(88, 144, 213, 0.46);
    background: rgba(228, 242, 255, 0.9);
    color: #2a5888;
}

html[data-theme="sunset"] .plan-chip-best {
    border-color: rgba(99, 153, 217, 0.58);
    background: linear-gradient(145deg, rgba(156, 201, 246, 0.92), rgba(143, 187, 239, 0.86));
    box-shadow: 0 0 0 1px rgba(121, 170, 228, 0.28), 0 8px 18px rgba(120, 162, 214, 0.26);
}

html[data-theme="sunset"] .pricing-table thead th:nth-child(4) {
    background: linear-gradient(165deg, rgba(165, 206, 246, 0.96), rgba(146, 187, 238, 0.9));
}

html[data-theme="sunset"] .pricing-table tbody td:nth-child(4) {
    background: linear-gradient(170deg, rgba(212, 232, 253, 0.64), rgba(203, 223, 247, 0.58));
}

html[data-theme="sunset"] .pricing-table tbody td:nth-child(2) {
    background: linear-gradient(170deg, rgba(230, 250, 244, 0.66), rgba(220, 244, 236, 0.58));
}

html[data-theme="sunset"] .pricing-table tbody td:nth-child(3) {
    background: linear-gradient(170deg, rgba(226, 241, 255, 0.66), rgba(215, 233, 251, 0.58));
}

html[data-theme="sunset"] .price-row td {
    background: linear-gradient(165deg, rgba(188, 219, 249, 0.88), rgba(209, 230, 250, 0.76));
}

html[data-theme="sunset"] .price-row td:nth-child(2) {
    background: linear-gradient(165deg, rgba(204, 239, 230, 0.9), rgba(223, 248, 241, 0.84));
    box-shadow: inset 0 0 0 1px rgba(88, 168, 149, 0.18);
}

html[data-theme="sunset"] .price-row td:nth-child(3) {
    background: linear-gradient(165deg, rgba(191, 222, 250, 0.9), rgba(210, 232, 252, 0.82));
    box-shadow: inset 0 0 0 1px rgba(102, 157, 222, 0.2);
}

html[data-theme="sunset"] .price-row td:nth-child(2) .price-main {
    color: #1f675a;
}

html[data-theme="sunset"] .price-row td:nth-child(2) .price-sub {
    color: #4f7d74;
}

html[data-theme="sunset"] .price-row td:nth-child(3) .price-main {
    color: #28588c;
}

html[data-theme="sunset"] .price-row td:nth-child(3) .price-sub {
    color: #4f7298;
}

html[data-theme="sunset"] .price-main {
    color: #25507a;
}

html[data-theme="sunset"] .price-sub {
    color: #4f7198;
}

html[data-theme="sunset"] .pricing-table thead th:nth-child(2),
html[data-theme="sunset"] .pricing-table tbody td:nth-child(2) {
    border-left: 1px solid rgba(96, 174, 156, 0.24);
}

html[data-theme="sunset"] .pricing-table thead th:nth-child(3),
html[data-theme="sunset"] .pricing-table tbody td:nth-child(3) {
    border-left: 1px solid rgba(103, 160, 224, 0.24);
}

html[data-theme="sunset"] .plan-current {
    color: #4e6f97;
    background: rgba(226, 237, 248, 0.88);
    border-color: rgba(128, 167, 210, 0.42);
}

html[data-theme="sunset"] .plan-select-btn {
    color: #1d466f;
    background: rgba(233, 245, 255, 0.92);
    border-color: rgba(104, 154, 215, 0.46);
    box-shadow: 0 8px 16px rgba(121, 160, 208, 0.22);
}

html[data-theme="sunset"] .plan-select-btn--monthly {
    color: #f7fbff;
    border-color: rgba(121, 175, 235, 0.54);
    background: linear-gradient(135deg, rgba(73, 186, 255, 0.98), rgba(78, 143, 255, 0.96), rgba(118, 110, 255, 0.94));
    box-shadow:
        0 18px 32px rgba(114, 155, 208, 0.3),
        0 0 0 1px rgba(129, 182, 238, 0.16),
        0 0 24px rgba(119, 167, 237, 0.18);
}

html[data-theme="sunset"] .plan-select-btn--yearly {
    background: linear-gradient(135deg, rgba(188, 221, 255, 0.98), rgba(166, 203, 248, 0.92));
    border-color: rgba(79, 132, 205, 0.52);
    color: #1a4472;
}

html[data-theme="sunset"] .plan-select-btn:hover {
    box-shadow: 0 0 0 1px rgba(108, 162, 229, 0.24), 0 10px 18px rgba(118, 159, 209, 0.26);
}

html[data-theme="sunset"] .plan-select-btn--monthly:hover {
    box-shadow:
        0 0 0 1px rgba(125, 183, 243, 0.24),
        0 16px 28px rgba(118, 159, 209, 0.28),
        0 0 30px rgba(129, 178, 239, 0.22);
}

html[data-theme="sunset"] .billing-title {
    color: #2a507c;
}

html[data-theme="sunset"] .billing-table-wrap {
    border-color: rgba(112, 163, 218, 0.34);
    background: rgba(248, 252, 255, 0.86);
}

html[data-theme="sunset"] .billing-table thead th {
    background: linear-gradient(165deg, rgba(201, 224, 249, 0.92), rgba(219, 235, 252, 0.84));
    color: #264a72;
    border-bottom-color: rgba(111, 164, 220, 0.3);
}

html[data-theme="sunset"] .billing-table tbody tr:nth-child(odd) {
    background: rgba(222, 236, 251, 0.44);
}

html[data-theme="sunset"] .billing-table tbody tr.is-best th,
html[data-theme="sunset"] .billing-table tbody tr.is-best td {
    background: linear-gradient(165deg, rgba(168, 207, 245, 0.72), rgba(151, 192, 239, 0.58));
    color: #24496f;
}

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

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    min-height: 100svh;
    min-height: 100dvh;
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(1200px 620px at 12% -10%, rgba(43, 111, 199, 0.3), transparent 70%),
        radial-gradient(900px 520px at 92% -6%, rgba(0, 174, 239, 0.2), transparent 72%),
        linear-gradient(160deg, #081524 0%, var(--bg-primary) 36%, #0f2238 100%);
    overflow-x: hidden;
    position: relative;
    -webkit-text-size-adjust: 100%;
}

.background-scene {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(28px);
    opacity: 0.6;
}

.blob-a {
    width: 460px;
    height: 460px;
    background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.52), rgba(59, 130, 246, 0.02) 75%);
    left: -140px;
    top: -90px;
}

.blob-b {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at 50% 50%, rgba(0, 174, 239, 0.4), rgba(42, 66, 155, 0.04) 74%);
    right: -180px;
    top: 90px;
    animation: blobDrift 14s ease-in-out infinite;
}

.blob-c {
    width: 440px;
    height: 440px;
    background: radial-gradient(circle at 65% 50%, rgba(73, 91, 214, 0.36), rgba(14, 35, 64, 0.02) 74%);
    left: 26%;
    bottom: -220px;
    animation: blobDrift 16s ease-in-out infinite reverse;
}

.curve {
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(143, 193, 255, 0.16);
}

.curve-a {
    width: 720px;
    height: 720px;
    left: -320px;
    top: 120px;
    transform: rotate(-20deg);
}

.curve-b {
    width: 900px;
    height: 540px;
    right: -420px;
    top: 240px;
    transform: rotate(8deg);
}

.geo {
    position: absolute;
    pointer-events: none;
    opacity: 0.36;
}

.geo-ring {
    border-radius: 50%;
    border: 1px solid rgba(135, 201, 255, 0.28);
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.16);
}

.geo-ring-a {
    width: 120px;
    height: 120px;
    top: 16%;
    left: 54%;
    --geo-rot: 0deg;
    animation: geoFloat 12s ease-in-out infinite;
}

.geo-ring-b {
    width: 80px;
    height: 80px;
    bottom: 18%;
    left: 12%;
    --geo-rot: 0deg;
    animation: geoPulse 9s ease-in-out infinite;
}

.geo-square {
    border: 1px solid rgba(126, 189, 255, 0.3);
    border-radius: 14px;
    box-shadow: 0 0 14px rgba(0, 174, 239, 0.12);
}

.geo-square-a {
    width: 72px;
    height: 72px;
    top: 30%;
    right: 34%;
    transform: rotate(16deg);
    animation: geoSpinA 13s linear infinite;
}

.geo-square-b {
    width: 46px;
    height: 46px;
    bottom: 31%;
    right: 10%;
    --geo-rot: -22deg;
    transform: rotate(var(--geo-rot));
    animation: geoFloat 11s ease-in-out infinite reverse;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-bottom: 30px solid rgba(124, 196, 255, 0.2);
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.2));
}

.geo-triangle-a {
    top: 18%;
    right: 16%;
    transform: rotate(8deg);
    animation: geoSpinB 14s linear infinite;
}

.geo-triangle-b {
    bottom: 24%;
    left: 44%;
    transform: rotate(-14deg);
    animation: geoPulse 10s ease-in-out infinite;
}

.geo-line {
    height: 1px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0, 174, 239, 0.02), rgba(125, 206, 255, 0.5), rgba(0, 174, 239, 0.02));
    box-shadow: 0 0 10px rgba(0, 174, 239, 0.2);
}

.geo-line-a {
    width: 180px;
    top: 22%;
    left: 22%;
    --geo-rot: 26deg;
    transform: rotate(var(--geo-rot));
    animation: geoFloat 10s ease-in-out infinite;
}

.geo-line-b {
    width: 140px;
    bottom: 20%;
    right: 28%;
    --geo-rot: -20deg;
    transform: rotate(var(--geo-rot));
    animation: geoFloat 12s ease-in-out infinite reverse;
}

.home-shell {
    width: min(1240px, calc(100vw - 24px));
    margin: 0 auto;
    padding:
        calc(var(--sheetgenie-topbar-offset, 108px) + max(0px, var(--ios-safe-top)))
        max(0px, var(--ios-safe-right))
        calc(42px + max(0px, var(--ios-safe-bottom)))
        max(0px, var(--ios-safe-left));
    position: relative;
}

.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(12, 26, 44, 0.72), rgba(11, 22, 38, 0.5));
    border: 1px solid var(--card-border-soft);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(2, 8, 16, 0.36);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    text-decoration: none;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--accent), #4f7cff);
    color: #041326;
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    box-shadow: 0 0 24px rgba(0, 174, 239, 0.36);
}

.brand-text {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.87rem;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: 0.22s ease;
}

.nav-links a:hover {
    color: var(--text-main);
    border-color: var(--card-border-soft);
    background: rgba(30, 67, 112, 0.35);
}

.hero-layout {
    margin-top: 34px;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(430px, 0.88fr);
    gap: clamp(22px, 4.4vw, 64px);
    align-items: center;
}

.hero-content {
    min-width: 0;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.56s ease, transform 0.56s ease;
}

.hero-content.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(105, 184, 255, 0.42);
    background: linear-gradient(145deg, rgba(20, 48, 80, 0.56), rgba(16, 36, 60, 0.46));
    color: #d9ecff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-title {
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(2.2rem, 5vw, 4.35rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.hero-title > span {
    display: block;
}

.hero-title.hero-title-premium {
    font-size: clamp(2rem, 3.9vw, 3.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 18px;
    max-width: 780px;
}

.hero-title.hero-title-premium .title-line {
    text-wrap: balance;
}

.hero-title.hero-title-premium .title-line + .title-line {
    margin-top: 6px;
}

.hero-title.hero-title-premium .title-line.title-line-emphasis {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.18em;
}

.hero-title-prefix {
    color: #d7ebff;
}

.hero-keyword {
    display: inline;
    margin-left: 0;
    padding: 0;
    border-radius: 0;
    color: #9fd8ff;
    background: none;
    box-shadow: none;
    text-shadow: 0 0 18px rgba(92, 184, 255, 0.36);
    font-weight: 800;
}

.hero-subtitle {
    max-width: 620px;
    color: #d3e6ff;
    font-size: clamp(1.04rem, 1.45vw, 1.2rem);
    line-height: 1.72;
    font-weight: 600;
}

.hero-cta {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    min-height: 52px;
    padding: 0 22px;
    border-radius: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    will-change: transform;
    transition: transform 0.24s ease, box-shadow 0.28s ease, border-color 0.24s ease, background 0.24s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.social-pill,
.plan-select-btn {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn-primary-free {
    min-height: 64px;
    padding: 0 14px 0 30px;
    border-radius: 999px;
    gap: 13px;
    font-size: clamp(1.02rem, 1.25vw, 1.16rem);
    font-weight: 800;
    letter-spacing: 0.012em;
    color: #f2f8ff;
    border: 1px solid rgba(156, 211, 255, 0.56);
    background: linear-gradient(128deg, #00c2ff 0%, #3b82f6 48%, #725bff 100%);
    box-shadow: 0 20px 42px rgba(43, 105, 231, 0.46), 0 0 0 1px rgba(162, 218, 255, 0.32), 0 0 26px rgba(78, 147, 245, 0.24);
    transform: translate3d(0, 0, 0);
    animation: ctaBreath 2.8s ease-in-out infinite;
}

.btn.btn-primary-free,
.btn.btn-primary-free:hover,
.btn.btn-primary-free:focus-visible {
    color: #f7fbff;
}

.btn-primary-free > * {
    position: relative;
    z-index: 1;
}

.btn-copy {
    display: inline-flex;
    align-items: center;
}

.btn-primary-free .btn-copy {
    font-size: clamp(1.02rem, 1.58vw, 1.15rem);
    text-shadow: 0 1px 2px rgba(10, 38, 90, 0.28);
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

.btn-rocket {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    position: relative;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(239, 249, 255, 0.34), rgba(121, 171, 240, 0.08));
    box-shadow: inset 0 0 0 1px rgba(188, 228, 255, 0.22);
    transform: translateY(0) rotate(-10deg);
    transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.25, 1), filter 0.28s ease;
}

.rocket-glyph {
    font-size: 1.1rem;
    line-height: 1;
    display: block;
}


.free-pill {
    min-height: 42px;
    min-width: 72px;
    padding: 0 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.06;
    font-size: 0.88rem;
    font-weight: 900;
    text-transform: none;
    letter-spacing: 0.01em;
    color: #0f2f5c;
    background: linear-gradient(142deg, #f6fdff 0%, #e4f8ff 50%, #bde3ff 100%);
    border: 1px solid rgba(201, 234, 255, 0.92);
    box-shadow: 0 0 0 1px rgba(223, 245, 255, 0.82), inset 0 -4px 10px rgba(103, 168, 224, 0.26), 0 8px 20px rgba(89, 141, 212, 0.24);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
    animation: freePulse 2.2s ease-in-out infinite;
}

.btn-primary {
    color: #051120;
    background: linear-gradient(145deg, var(--accent), var(--accent-2));
    box-shadow: 0 16px 30px rgba(0, 174, 239, 0.34), 0 0 0 1px rgba(133, 214, 255, 0.24);
}

.btn-primary::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background:
        radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0) 50%),
        radial-gradient(circle at 80% 88%, rgba(141, 88, 255, 0.32), rgba(141, 88, 255, 0) 54%);
    opacity: 0.9;
    filter: blur(5px);
    z-index: 0;
    transition: opacity 0.24s ease;
}

.btn-primary-free.glow-on-hover {
    border: none;
    outline: none;
    background: transparent;
    box-shadow: 0 16px 32px rgba(31, 84, 196, 0.34);
    animation: none;
}

.btn-primary-free.glow-on-hover::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    border-radius: inherit;
    z-index: 0;
    background: linear-gradient(45deg, #00c2ff, #3b82f6, #7a5cff, #6f3dff, #00c2ff);
    background-size: 400%;
    filter: blur(7px);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    animation: glowing 20s linear infinite;
}

.btn-primary-free.glow-on-hover:hover::before {
    opacity: 0.78;
}

.btn-primary-free.glow-on-hover::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 0;
    background: linear-gradient(128deg, #00c2ff 0%, #3b82f6 48%, #725bff 100%);
}

.btn-primary-free.glow-on-hover:active::after {
    background: linear-gradient(128deg, #0b3f77 0%, #2d66c7 52%, #5f45d8 100%);
}

.btn-primary:hover {
    animation: ctaPop 0.32s cubic-bezier(0.2, 0.8, 0.28, 1) forwards;
    box-shadow: 0 24px 42px rgba(0, 174, 239, 0.44), 0 0 0 1px rgba(138, 220, 255, 0.38);
}

.btn-primary-free:hover {
    animation: none;
    transform: translateY(-4px) scale(1.018);
    box-shadow: 0 28px 56px rgba(43, 105, 231, 0.56), 0 0 0 1px rgba(182, 228, 255, 0.54), 0 0 34px rgba(85, 159, 255, 0.34);
}

.btn-primary-free.glow-on-hover:hover {
    transform: translateY(-3px) scale(1.012);
    box-shadow: 0 24px 50px rgba(42, 98, 223, 0.5), 0 0 24px rgba(84, 152, 255, 0.3);
}

.btn-primary-free:hover .free-pill {
    transform: scale(1.09);
    box-shadow: 0 0 0 1px rgba(237, 250, 255, 0.92), 0 12px 24px rgba(69, 141, 213, 0.32), 0 0 18px rgba(129, 202, 255, 0.36);
}

.btn-primary-free:hover .btn-rocket {
    transform: translate(2px, -3px) rotate(-18deg);
    filter: drop-shadow(0 8px 12px rgba(76, 149, 242, 0.36));
}


.btn-primary:hover::before {
    opacity: 0.85;
}

.btn-primary-free:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(189, 232, 255, 0.62), 0 24px 52px rgba(56, 113, 233, 0.52), 0 0 30px rgba(88, 160, 255, 0.32);
}

.btn-secondary {
    color: var(--text-main);
    border: 1px solid rgba(114, 183, 255, 0.42);
    background: rgba(15, 33, 58, 0.42);
    box-shadow: 0 12px 24px rgba(4, 12, 24, 0.35);
}

.btn-secondary:hover {
    animation: ctaPop 0.32s cubic-bezier(0.2, 0.8, 0.28, 1) forwards;
    border-color: rgba(114, 183, 255, 0.76);
    box-shadow: 0 0 0 1px rgba(114, 183, 255, 0.34), 0 0 24px rgba(59, 130, 246, 0.28), 0 18px 34px rgba(9, 24, 45, 0.42);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.ai-highlight {
    margin-top: 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 620px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(111, 183, 255, 0.28);
    background: linear-gradient(160deg, rgba(16, 36, 60, 0.72), rgba(13, 28, 47, 0.56));
    box-shadow: 0 14px 30px rgba(4, 12, 24, 0.35);
}

.ai-icon {
    min-width: 40px;
    min-height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #07253f;
    font-weight: 800;
    font-size: 0.84rem;
    letter-spacing: 0.04em;
    background: linear-gradient(145deg, #93d4ff, #58b5ff);
    box-shadow: 0 0 0 1px rgba(171, 225, 255, 0.32), 0 12px 24px rgba(34, 109, 191, 0.24);
}

.ai-copy {
    display: grid;
    gap: 4px;
}

.ai-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #e9f4ff;
}

.ai-desc {
    font-size: 0.82rem;
    line-height: 1.56;
    color: #a9c7ea;
}

.hero-metrics {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 680px;
}

.metric-card {
    padding: 14px 14px;
    border-radius: 16px;
    border: 1px solid var(--card-border-soft);
    background: linear-gradient(180deg, rgba(15, 32, 56, 0.62), rgba(12, 24, 42, 0.4));
    backdrop-filter: blur(8px);
}

.metric-value {
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.06rem, 1.5vw, 1.34rem);
    font-weight: 700;
    color: #eaf4ff;
    margin-bottom: 5px;
    letter-spacing: -0.01em;
}

.metric-label {
    font-size: 0.81rem;
    color: #9fbce0;
    line-height: 1.45;
}

.hero-metrics-note {
    margin: 10px 2px 0;
    font-size: 0.78rem;
    color: #7ebff0;
    letter-spacing: 0.01em;
    opacity: 0.92;
}

.hero-visual {
    position: relative;
    height: min(600px, 68svh);
    min-height: 520px;
}

.float-layer {
    position: absolute;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.56s ease, transform 0.56s ease;
}

.float-layer.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.layer-settings {
    top: 6%;
    left: 1%;
    width: min(400px, 75%);
    animation: floatA 8.8s ease-in-out infinite;
}

.layer-preview {
    right: 0;
    top: 47%;
    width: min(320px, 64%);
    animation: floatB 9.6s ease-in-out infinite;
}

.layer-a4 {
    right: 8%;
    top: 12%;
    width: min(325px, 62%);
    animation: floatC 9.2s ease-in-out infinite;
}

.layer-ai {
    left: 8%;
    top: 66%;
    width: min(280px, 56%);
    animation: floatD 10.4s ease-in-out infinite;
}

.glass-card {
    padding: 18px;
    border-radius: 24px;
    border: 1px solid var(--card-border);
    background: linear-gradient(170deg, var(--card-bg), var(--card-bg-soft));
    backdrop-filter: blur(18px);
    box-shadow: var(--surface-shadow);
    position: relative;
    transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) rotate(var(--rot, 0deg));
    transition: transform 0.22s ease;
    overflow: hidden;
}

.glass-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: linear-gradient(145deg, rgba(82, 151, 255, 0.22), rgba(0, 174, 239, 0.08), transparent 60%);
    pointer-events: none;
}

.card-settings {
    --rot: -5deg;
}

.card-preview {
    --rot: 6deg;
}

.card-a4 {
    --rot: 2deg;
}

.card-ai {
    --rot: -2deg;
    padding: 14px;
}

.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.card-head p {
    font-size: 0.88rem;
    font-weight: 700;
    color: #e8f4ff;
}

.badge,
.live-pill,
.page-pill,
.panel-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.badge {
    color: #052037;
    background: linear-gradient(140deg, #8fd4ff, #53b1ff);
}

.live-pill {
    color: #ccf0ff;
    border: 1px solid rgba(90, 180, 255, 0.52);
    background: rgba(15, 53, 89, 0.6);
}

.page-pill,
.panel-pill {
    color: #cae8ff;
    border: 1px solid rgba(109, 172, 248, 0.42);
    background: rgba(23, 49, 81, 0.62);
}

.toggle-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
}

.toggle-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(109, 172, 248, 0.2);
    background: rgba(17, 39, 65, 0.46);
}

.toggle-copy {
    font-size: 0.72rem;
    color: #d2e7ff;
    font-weight: 600;
}

.toggle-control {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.toggle-ui {
    width: 38px;
    height: 22px;
    border-radius: 999px;
    background: rgba(115, 153, 196, 0.34);
    border: 1px solid rgba(148, 188, 235, 0.32);
    position: relative;
    transition: 0.2s ease;
}

.toggle-ui::after {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #d8e9ff;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: 0.2s ease;
}

.toggle-control:checked+.toggle-ui {
    background: linear-gradient(140deg, var(--accent), var(--accent-2));
    border-color: rgba(165, 222, 255, 0.8);
}

.toggle-control:checked+.toggle-ui::after {
    transform: translateX(16px);
    background: #ffffff;
}

.input-row {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.input-row label,
.input-row span {
    font-size: 0.78rem;
    color: #cbddf5;
    font-weight: 600;
}

.input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-wrap input {
    width: 88px;
    min-height: 34px;
    border-radius: 9px;
    border: 1px solid rgba(127, 179, 241, 0.45);
    background: rgba(17, 35, 58, 0.68);
    color: #f4f8ff;
    font-family: inherit;
    font-weight: 700;
    text-align: center;
    outline: none;
}

.input-wrap input:focus {
    border-color: rgba(131, 205, 255, 0.88);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.24);
}

.unit {
    font-size: 0.72rem;
    color: #8fb4da;
}

.input-row.compact {
    margin-top: 10px;
}

.problem-list {
    list-style: none;
    display: grid;
    gap: 8px;
}

.problem-list li {
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: 0.84rem;
    letter-spacing: 0.01em;
    color: #e6f2ff;
    border-radius: 10px;
    border: 1px solid rgba(106, 168, 244, 0.24);
    background: rgba(16, 37, 62, 0.52);
    padding: 8px 10px;
}

.level-pills {
    display: flex;
    gap: 6px;
    margin-top: 11px;
}

.level-pill {
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    border: 1px solid rgba(117, 180, 253, 0.3);
    color: #a5c5e9;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

.level-pill.active {
    color: #062034;
    background: linear-gradient(140deg, #8fd4ff, #56bbff);
    border-color: transparent;
}

.a4-mini {
    border-radius: 14px;
    padding: 12px;
    border: 1px solid rgba(124, 189, 255, 0.28);
    background: rgba(232, 242, 255, 0.95);
    box-shadow: inset 0 0 0 1px rgba(210, 228, 246, 0.72);
}

.a4-line {
    height: 8px;
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(128, 159, 196, 0.42), rgba(176, 198, 224, 0.2));
    margin-bottom: 6px;
}

.a4-title {
    width: 62%;
    height: 10px;
    background: linear-gradient(90deg, rgba(70, 118, 176, 0.62), rgba(70, 118, 176, 0.22));
}

.a4-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.a4-grid span {
    min-height: 28px;
    border-radius: 7px;
    border: 1px solid rgba(147, 174, 204, 0.52);
    background: rgba(247, 252, 255, 0.84);
}

.collab-section {
    margin-top: 11px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
}

.avatar-stack {
    display: inline-flex;
    padding-left: 8px;
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(9, 25, 42, 0.8);
    margin-left: -8px;
    display: grid;
    place-items: center;
    font-size: 0.64rem;
    font-weight: 700;
    color: #04172c;
    background: linear-gradient(140deg, #9fd8ff, #62afff);
}

.settings-items {
    display: grid;
    gap: 4px;
}

.settings-items p {
    font-size: 0.7rem;
    color: #9cc0e7;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #5fc4ff;
    box-shadow: 0 0 10px rgba(95, 196, 255, 0.7);
}

.ai-assist-line {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #bdd8f8;
}

.ai-assist-line + .ai-assist-line {
    margin-top: 5px;
}

.pricing-section {
    margin-top: 24px;
    border-radius: 20px;
    border: 1px solid var(--card-border-soft);
    background: linear-gradient(160deg, rgba(12, 26, 45, 0.65), rgba(11, 21, 36, 0.5));
    padding: 20px;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.56s ease, transform 0.56s ease;
}

.pricing-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-head {
    display: grid;
    gap: 6px;
    margin-bottom: 14px;
}

.pricing-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(104, 178, 250, 0.38);
    color: #cfe8ff;
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(20, 46, 76, 0.4);
}

.pricing-head h2 {
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.18rem, 2vw, 1.62rem);
    line-height: 1.2;
    color: #ecf7ff;
}

.pricing-head p {
    font-size: 0.9rem;
    color: #a9c5e6;
}

.pricing-table-wrap {
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid rgba(98, 169, 243, 0.22);
    background: rgba(12, 28, 46, 0.54);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 860px;
}

.pricing-table thead th {
    background: linear-gradient(165deg, rgba(32, 67, 111, 0.78), rgba(20, 43, 74, 0.64));
    color: #eff8ff;
    font-size: 0.84rem;
    font-weight: 700;
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(115, 184, 255, 0.24);
}

.pricing-table thead th:nth-child(2) {
    background: linear-gradient(165deg, rgba(24, 82, 76, 0.84), rgba(16, 64, 60, 0.72));
    color: #e8fff8;
}

.pricing-table thead th:nth-child(3) {
    background: linear-gradient(165deg, rgba(23, 82, 148, 0.84), rgba(20, 65, 120, 0.72));
    color: #f0f8ff;
}

.plan-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(142, 203, 255, 0.32);
    background: rgba(24, 55, 91, 0.46);
    font-size: 0.74rem;
    line-height: 1;
}

.pricing-table thead th:nth-child(2) .plan-chip {
    border-color: rgba(108, 237, 208, 0.52);
    background: rgba(24, 88, 82, 0.74);
    color: #d9fff6;
    box-shadow: inset 0 0 0 1px rgba(85, 200, 176, 0.2);
}

.pricing-table thead th:nth-child(3) .plan-chip {
    border-color: rgba(137, 205, 255, 0.52);
    background: rgba(30, 87, 153, 0.68);
    color: #e7f4ff;
    box-shadow: inset 0 0 0 1px rgba(125, 195, 255, 0.18);
}

.plan-chip-best {
    border-color: rgba(138, 211, 255, 0.62);
    background: linear-gradient(145deg, rgba(20, 84, 146, 0.7), rgba(74, 89, 206, 0.62));
    box-shadow: 0 0 0 1px rgba(138, 211, 255, 0.28), 0 8px 18px rgba(41, 111, 198, 0.26);
}

.plan-meta {
    display: block;
    margin-top: 6px;
    font-size: 0.73rem;
    font-weight: 600;
    color: #a9c8ea;
}

.pricing-table tbody th,
.pricing-table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(106, 171, 239, 0.18);
    font-size: 0.82rem;
    line-height: 1.55;
    color: #d2e6ff;
    vertical-align: top;
}

.pricing-table tbody th {
    font-weight: 700;
    color: #eaf5ff;
    min-width: 168px;
}

.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-table tbody tr:nth-child(odd) {
    background: rgba(19, 43, 70, 0.28);
}

.pricing-table tbody td:nth-child(2) {
    background: linear-gradient(170deg, rgba(15, 65, 60, 0.4), rgba(14, 58, 54, 0.28));
}

.pricing-table tbody td:nth-child(3) {
    background: linear-gradient(170deg, rgba(17, 60, 108, 0.44), rgba(16, 52, 95, 0.3));
}

.pricing-table .price-row th {
    vertical-align: middle;
}

.price-row td {
    text-align: center;
    background: linear-gradient(170deg, rgba(22, 52, 86, 0.62), rgba(26, 44, 95, 0.5));
}

.price-row td:nth-child(2) {
    background: linear-gradient(170deg, rgba(19, 92, 83, 0.7), rgba(16, 74, 68, 0.6));
    box-shadow: inset 0 0 0 1px rgba(96, 224, 199, 0.24), 0 10px 20px rgba(12, 39, 36, 0.22);
}

.price-row td:nth-child(3) {
    background: linear-gradient(170deg, rgba(21, 91, 164, 0.74), rgba(23, 72, 132, 0.6));
    box-shadow: inset 0 0 0 1px rgba(141, 210, 255, 0.24), 0 10px 20px rgba(8, 34, 64, 0.24);
}

.price-main {
    display: block;
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.28rem, 2.2vw, 1.95rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.02em;
    color: #f2f9ff;
}

.price-row td:nth-child(2) .price-main {
    color: #dbfff7;
    text-shadow: 0 0 18px rgba(128, 243, 220, 0.24);
}

.price-row td:nth-child(3) .price-main {
    color: #eff8ff;
    text-shadow: 0 0 18px rgba(131, 204, 255, 0.22);
}

.price-sub {
    display: block;
    margin-top: 4px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #9ec0e7;
    line-height: 1.3;
}

.price-row td:nth-child(2) .price-sub {
    color: #a6d8cd;
}

.price-row td:nth-child(3) .price-sub {
    color: #b3d7ff;
}

.pricing-table thead th:nth-child(4) {
    background: linear-gradient(165deg, rgba(34, 92, 152, 0.85), rgba(62, 86, 194, 0.72));
}

.pricing-table tbody td:nth-child(4) {
    background: linear-gradient(170deg, rgba(28, 61, 100, 0.5), rgba(40, 57, 121, 0.34));
}

.pricing-table thead th:nth-child(4),
.pricing-table tbody td:nth-child(4) {
    border-left: 1px solid rgba(127, 196, 255, 0.28);
    border-right: 1px solid rgba(127, 196, 255, 0.28);
}

.pricing-table thead th:nth-child(2),
.pricing-table tbody td:nth-child(2) {
    border-left: 1px solid rgba(96, 224, 199, 0.2);
}

.pricing-table thead th:nth-child(3),
.pricing-table tbody td:nth-child(3) {
    border-left: 1px solid rgba(138, 210, 255, 0.2);
}

.plan-cta-row th,
.plan-cta-row td {
    vertical-align: middle;
    padding-top: 14px;
    padding-bottom: 14px;
}

.plan-cta-row th {
    color: #eff8ff;
}

.plan-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(124, 169, 219, 0.32);
    background: rgba(22, 45, 73, 0.5);
    color: #9fc0e6;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.plan-select-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(131, 194, 255, 0.36);
    background: rgba(24, 57, 93, 0.68);
    color: #f3f9ff;
    font-size: 0.79rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 20px rgba(7, 24, 44, 0.32);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, filter 180ms ease;
}

.plan-select-btn--monthly {
    background: linear-gradient(135deg, rgba(22, 109, 191, 0.88), rgba(21, 88, 156, 0.82));
    border-color: rgba(138, 210, 255, 0.44);
}

.plan-select-btn--yearly {
    background: linear-gradient(135deg, rgba(46, 105, 198, 0.9), rgba(65, 88, 194, 0.84));
    border-color: rgba(157, 209, 255, 0.52);
}

.plan-select-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(116, 186, 255, 0.26), 0 14px 24px rgba(6, 27, 50, 0.34);
}

.plan-select-btn:active {
    transform: translateY(0);
}

.plan-select-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(146, 208, 255, 0.45), 0 12px 24px rgba(8, 31, 58, 0.34);
}

.billing-cycles {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.billing-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #d9ebff;
}

.billing-table-wrap {
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid rgba(98, 169, 243, 0.22);
    background: rgba(12, 28, 46, 0.54);
}

.billing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.billing-table thead th {
    background: linear-gradient(165deg, rgba(32, 67, 111, 0.78), rgba(20, 43, 74, 0.64));
    color: #eff8ff;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: left;
    padding: 11px 13px;
    border-bottom: 1px solid rgba(115, 184, 255, 0.24);
}

.billing-table tbody th,
.billing-table tbody td {
    padding: 11px 13px;
    border-bottom: 1px solid rgba(106, 171, 239, 0.18);
    font-size: 0.8rem;
    line-height: 1.5;
    color: #d2e6ff;
    vertical-align: top;
}

.billing-table tbody th {
    font-weight: 700;
    color: #eaf5ff;
    white-space: nowrap;
}

.billing-table tbody tr:nth-child(odd) {
    background: rgba(19, 43, 70, 0.26);
}

.billing-table tbody tr:last-child th,
.billing-table tbody tr:last-child td {
    border-bottom: none;
}

.billing-table tbody tr.is-best th,
.billing-table tbody tr.is-best td {
    background: linear-gradient(165deg, rgba(28, 85, 142, 0.62), rgba(41, 74, 156, 0.5));
    color: #edf7ff;
}

@keyframes blobDrift {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(16px, -18px, 0);
    }
}

@keyframes geoFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(var(--geo-rot, 0deg));
    }

    50% {
        transform: translate3d(0, -12px, 0) rotate(var(--geo-rot, 0deg));
    }
}

@keyframes geoSpinA {
    from {
        transform: rotate(16deg);
    }

    to {
        transform: rotate(376deg);
    }
}

@keyframes geoSpinB {
    from {
        transform: rotate(8deg);
    }

    to {
        transform: rotate(-352deg);
    }
}

@keyframes geoPulse {
    0%,
    100% {
        opacity: 0.24;
    }

    50% {
        opacity: 0.54;
    }
}

@keyframes ctaPop {
    0% {
        transform: translateY(0) scale(1);
    }

    55% {
        transform: translateY(-4px) scale(1.035);
    }

    100% {
        transform: translateY(-2px) scale(1.018);
    }
}

@keyframes ctaBreath {
    0%,
    100% {
        box-shadow: 0 18px 38px rgba(43, 105, 231, 0.42), 0 0 0 1px rgba(153, 214, 255, 0.28), 0 0 18px rgba(75, 154, 251, 0.2);
    }

    50% {
        box-shadow: 0 24px 48px rgba(49, 112, 236, 0.52), 0 0 0 1px rgba(173, 226, 255, 0.44), 0 0 28px rgba(94, 170, 255, 0.3);
    }
}

@keyframes glowing {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}

@keyframes freePulse {
    0%,
    100% {
        box-shadow: 0 0 0 1px rgba(223, 245, 255, 0.82), inset 0 -4px 10px rgba(103, 168, 224, 0.26), 0 8px 20px rgba(89, 141, 212, 0.24);
    }

    50% {
        box-shadow: 0 0 0 1px rgba(235, 250, 255, 0.94), inset 0 -5px 12px rgba(98, 165, 223, 0.32), 0 12px 24px rgba(89, 141, 212, 0.34), 0 0 16px rgba(128, 199, 255, 0.32);
    }
}

@keyframes floatA {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes floatB {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes floatC {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatD {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-11px);
    }
}

@media (max-width: 1100px) {
    .home-shell {
        width: min(96vw, 980px);
        padding-top: calc(var(--sheetgenie-topbar-offset, 108px) + 12px + max(0px, var(--ios-safe-top)));
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-visual {
        max-width: 700px;
        width: 100%;
        margin: 0 auto;
        min-height: clamp(460px, 56vw, 560px);
        height: clamp(460px, 56vw, 560px);
    }

    .layer-settings {
        left: 2%;
    }

    .layer-preview {
        right: 3%;
    }

    .layer-a4 {
        right: 13%;
    }

    .hero-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 100%;
    }

    .metric-card:last-child {
        grid-column: 1 / -1;
    }

    .social-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .social-bar-actions {
        justify-content: stretch;
    }

    .social-pill {
        flex: 1 1 180px;
        justify-content: center;
    }
}

@media (max-width: 760px) {
    .home-shell {
        width: min(100vw - 12px, 620px);
        padding-top: calc(var(--sheetgenie-topbar-offset, 136px) + 8px + max(0px, var(--ios-safe-top)));
        padding-bottom: calc(88px + max(0px, var(--ios-safe-bottom)));
    }

    .top-nav {
        padding: 11px;
    }

    .nav-links {
        width: 100%;
        gap: 6px;
    }

    .nav-links a {
        font-size: 0.78rem;
        padding: 7px 10px;
    }

    .hero-cta {
        display: grid;
        grid-template-columns: 1fr;
    }

    .social-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .btn-primary-free {
        min-height: 58px;
        padding: 0 10px 0 20px;
        border-radius: 999px;
        animation-duration: 3.1s;
    }

    .btn-rocket {
        width: 32px;
        height: 32px;
    }

    .free-pill {
        min-height: 39px;
        min-width: 68px;
        font-size: 0.82rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .hero-title.hero-title-premium {
        font-size: clamp(1.38rem, 7.2vw, 2rem);
        line-height: 1.08;
    }

    .hero-title.hero-title-premium .title-line.title-line-emphasis {
        display: block;
    }

    .hero-keyword {
        margin-left: 0;
        display: inline;
    }

    .ai-highlight {
        padding: 12px;
    }

    .pricing-section {
        padding: 16px 14px;
    }

    .social-bar {
        padding: 18px 14px;
    }

    .social-bar-actions {
        justify-content: stretch;
    }

    .social-pill {
        width: 100%;
        justify-content: center;
    }

    .pricing-head p {
        font-size: 0.84rem;
    }

    .pricing-table {
        min-width: 760px;
    }

    .pricing-table thead th,
    .pricing-table tbody th,
    .pricing-table tbody td {
        padding: 10px 11px;
        font-size: 0.78rem;
    }

    .price-main {
        font-size: clamp(1.06rem, 4.8vw, 1.4rem);
    }

    .price-sub {
        font-size: 0.68rem;
    }

    .plan-current,
    .plan-select-btn {
        padding: 9px 10px;
        font-size: 0.74rem;
        border-radius: 10px;
    }

    .billing-table {
        min-width: 600px;
    }

    .billing-table thead th,
    .billing-table tbody th,
    .billing-table tbody td {
        padding: 10px 11px;
        font-size: 0.76rem;
    }

    .hero-visual {
        min-height: 620px;
        height: min(620px, 82svh);
    }

    .layer-settings {
        top: 0;
        width: 93%;
        left: 0;
    }

    .layer-a4 {
        top: 28%;
        width: 83%;
        right: 0;
    }

    .layer-preview {
        top: 59%;
        width: 88%;
        left: 6%;
        right: auto;
    }

    .layer-ai {
        top: 84%;
        width: 78%;
        left: 11%;
    }

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

    .geo-square-b,
    .geo-line-b,
    .geo-triangle-b {
        display: none;
    }
}

@media (max-width: 540px) {
    .home-shell {
        width: min(100vw - 12px, 620px);
        padding-top: calc(var(--sheetgenie-topbar-offset, 124px) + 4px + max(0px, var(--ios-safe-top)));
        padding-bottom: calc(96px + max(0px, var(--ios-safe-bottom)));
    }

    .hero-layout {
        gap: 22px;
    }

    .hero-content {
        gap: 14px;
    }

    .hero-title.hero-title-premium {
        font-size: clamp(1.18rem, 9vw, 1.7rem);
        letter-spacing: -0.04em;
    }

    .hero-subtitle,
    .ai-desc,
    .metric-label,
    .trust-text {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .hero-visual {
        min-height: 540px;
        height: min(540px, 74svh);
    }

    .glass-card {
        border-radius: 22px;
    }

    .layer-settings {
        width: 100%;
        left: 0;
    }

    .layer-a4 {
        top: 30%;
        width: 92%;
        right: 0;
    }

    .layer-preview {
        top: 63%;
        width: 92%;
        left: 4%;
    }

    .pricing-section {
        padding: 14px 10px;
        border-radius: 22px;
    }

    .social-bar {
        padding: 14px 10px;
        border-radius: 22px;
    }

    .pricing-table {
        min-width: 680px;
    }

    .billing-table {
        min-width: 560px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .btn-primary-free:hover,
    .btn-primary-free.glow-on-hover:hover,
    .btn-secondary:hover,
    .social-pill:hover,
    .plan-select-btn:hover {
        transform: none;
        box-shadow: inherit;
    }

    .btn-primary-free:hover .free-pill,
    .btn-primary-free:hover .btn-rocket {
        transform: none;
        filter: none;
        box-shadow: inherit;
    }

    .nav-link-pill:hover::after,
    .nav-link-pill.active::after {
        transform: scaleX(1);
        opacity: 1;
    }
}

@media (max-width: 420px) {
    .btn-primary-free {
        min-height: 54px;
        padding: 0 8px 0 16px;
    }

    .btn-copy {
        font-size: 0.95rem;
    }

    .free-pill {
        min-width: 62px;
        min-height: 36px;
        font-size: 0.76rem;
    }

    .hero-metrics {
        gap: 10px;
    }

    .metric-card {
        padding: 14px;
    }
}
