:root {
    --bg-dark: #050306;
    --bg-elevated: #120a0e;
    --bg-card: rgba(28, 15, 18, 0.78);
    --bg-card-strong: rgba(38, 18, 21, 0.92);
    --text-main: #fff7ef;
    --text-soft: rgba(255, 244, 229, 0.82);
    --text-muted: rgba(255, 232, 209, 0.64);
    --primary: #ff8a00;
    --primary-hover: #ffb11f;
    --secondary: #ffca28;
    --accent: #ff5a36;
    --accent-soft: #ff7f50;
    --wine: #5b1824;
    --glass-border: rgba(255, 211, 156, 0.12);
    --glass-highlight: rgba(255, 255, 255, 0.08);
    --shadow-strong: 0 24px 80px rgba(0, 0, 0, 0.45);
}

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

body {
    background:
        radial-gradient(circle at top left, rgba(115, 19, 36, 0.55), transparent 30%),
        radial-gradient(circle at 78% 18%, rgba(255, 141, 0, 0.22), transparent 22%),
        radial-gradient(circle at bottom right, rgba(255, 99, 71, 0.18), transparent 24%),
        linear-gradient(180deg, #12070a 0%, #070407 45%, #040305 100%);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    line-height: 1.5;
}

h1, h2, h3, .logo-text {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.03em;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 120px 120px;
    mask-image: radial-gradient(circle at center, black, transparent 88%);
    pointer-events: none;
    z-index: -2;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(120, 20, 38, 0.4);
}

.blob-2 {
    bottom: -20%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: rgba(255, 145, 0, 0.2);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.05); }
}

.glass-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
        var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    box-shadow: var(--shadow-strong);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 8%;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 5, 7, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-mark {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(255, 169, 24, 0.3));
}

.logo-lockup {
    display: flex;
    flex-direction: column;
}

.logo-caption {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.64rem;
    font-weight: 700;
}

.logo-text {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(90deg, #fff7d8 0%, var(--secondary) 35%, var(--primary) 75%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav a {
    color: var(--text-soft);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--secondary);
}

.btn-primary, .btn-primary-sm {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #2a0905;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 10px 32px rgba(255, 117, 24, 0.35);
}

.btn-primary-sm {
    padding: 10px 24px;
    font-size: 0.95rem;
}

.nav-store-pill {
    cursor: default;
    pointer-events: none;
    opacity: 0.9;
}

.btn-primary {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-primary:hover, .btn-primary-sm:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(255, 166, 31, 0.38);
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 8%;
    gap: 60px;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-main-logo {
    width: min(100%, 260px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 14px 48px rgba(255, 157, 0, 0.35));
    margin-bottom: 26px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 186, 82, 0.12);
    border: 1px solid rgba(255, 208, 138, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 24px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.8rem);
    line-height: 0.98;
    margin-bottom: 24px;
    max-width: 11ch;
}

.highlight {
    background: linear-gradient(90deg, var(--secondary), var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 56ch;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1200px;
}

.android-phone {
    width: 340px;
    height: 680px;
    background: #0d0a0d;
    border-radius: 44px;
    padding: 12px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255, 194, 124, 0.18);
    transform: rotateY(-18deg) rotateX(4deg);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.android-phone:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 18% 18%, rgba(121, 21, 39, 0.5), transparent 24%),
        linear-gradient(180deg, #09070a 0%, #09070a 44%, #0d090d 100%);
    border-radius: 34px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #111;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    padding: 16px 24px 0 24px;
    font-size: 0.8rem;
    color: white;
    font-weight: 600;
    z-index: 5;
}

.app-grid {
    display: flex;
    justify-content: space-around;
    padding: 0 16px;
    margin-bottom: 12px;
}

.app-dock {
    margin-top: auto;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-around;
    padding: 16px 20px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    width: 85%;
    align-self: center;
    border-radius: 24px;
}

.app-icon {
    font-size: 1.6rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    border-radius: 14px;
}

.widget-wrapper {
    padding: 0 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.widget-preview {
    width: 100%;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
        rgba(28, 14, 19, 0.92);
    border: 1px solid rgba(255, 214, 165, 0.14);
    border-radius: 28px;
    backdrop-filter: blur(8px);
}

.widget-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.widget-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.widget-preview h3 {
    font-size: 1.1rem;
    color: #ffc559;
}

.widget-message-container {
    position: relative;
    height: 56px;
}

.widget-time-container {
    position: relative;
    height: 20px;
}

.widget-message {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff2de;
    line-height: 1.3;
    opacity: 0;
    animation: textFadeCycle 12s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.widget-time {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 0.85rem;
    color: rgba(255, 225, 193, 0.72);
    opacity: 0;
    animation: textFadeCycle 12s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.m-1 { animation-delay: 0s; }
.m-2 { animation-delay: 3s; }
.m-3 { animation-delay: 6s; }
.m-4 { animation-delay: 9s; }

@keyframes textFadeCycle {
    0% { opacity: 0; transform: translateY(10px); }
    5%, 22% { opacity: 1; transform: translateY(0); }
    25%, 100% { opacity: 0; transform: translateY(-10px); }
}

.features {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 60px 8%;
    margin-bottom: 44px;
    align-items: center;
}

.features-intro {
    max-width: 760px;
    width: 100%;
}

.features-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
    justify-content: center;
    gap: 32px;
}

.features-intro h2 {
    font-size: 2.4rem;
    margin-bottom: 14px;
}

.features-intro p {
    color: var(--text-muted);
    line-height: 1.7;
}

.feature-card {
    width: 100%;
    max-width: 360px;
    padding: 24px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    border-color: rgba(255, 213, 162, 0.08);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 166, 31, 0.28);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}

.feature-showcase {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-frame {
    width: min(100%, 290px);
    aspect-ratio: 9 / 19.5;
    margin: 0 auto 22px;
    padding: 10px;
    border-radius: 34px;
    background: linear-gradient(180deg, #1a1013, #080608);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 214, 165, 0.1);
}

.feature-shot {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 24px;
    background: #111;
    image-rendering: auto;
    transform: translateZ(0);
}

.feature-copy {
    padding: 0 4px 4px;
    margin-top: auto;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

.premium-section {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(280px, 520px);
    gap: 36px;
    align-items: center;
    padding: 24px 8% 72px;
}

.relationship-section {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
    gap: 32px;
    align-items: start;
    padding: 8px 8% 72px;
}

.relationship-copy h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.relationship-copy p {
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 58ch;
}

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

.mini-card {
    padding: 22px;
    min-height: 190px;
    border-radius: 24px;
}

.mini-card span {
    display: inline-flex;
    margin-bottom: 12px;
    color: #ffd980;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mini-card strong {
    display: block;
    margin-bottom: 10px;
    color: var(--text-main);
    font-size: 1.08rem;
}

.mini-card p {
    color: var(--text-muted);
    line-height: 1.65;
}

.premium-copy,
.premium-visual {
    padding: 32px;
}

.showcase-tag {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 180, 72, 0.12);
    border: 1px solid rgba(255, 204, 129, 0.2);
    color: #ffd980;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.premium-copy h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.premium-copy p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.showcase-list {
    list-style: none;
    display: grid;
    gap: 10px;
}

.showcase-list li {
    position: relative;
    padding-left: 22px;
    color: var(--text-muted);
    line-height: 1.6;
}

.showcase-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    box-shadow: 0 0 14px rgba(255, 134, 30, 0.35);
}

.premium-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.premium-shot {
    width: 100%;
    max-width: 420px;
    border-radius: 30px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 214, 165, 0.12);
}

.premium-section {
    padding-top: 0;
}

.footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.language-switcher {
    position: relative;
}

.language-switcher-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 214, 165, 0.16);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.language-switcher-button:hover,
.language-switcher-button[aria-expanded="true"] {
    transform: translateY(-1px);
    border-color: rgba(255, 181, 76, 0.35);
    background: rgba(255, 255, 255, 0.06);
}

.language-switcher-button .caret {
    font-size: 0.82rem;
    opacity: 0.75;
}

.flag-image {
    width: 20px;
    height: 14px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
    flex: 0 0 auto;
}

.language-switcher-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    padding: 10px;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        rgba(18, 10, 14, 0.96);
    border: 1px solid rgba(255, 214, 165, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    display: none;
    z-index: 120;
}

.language-switcher-menu.open {
    display: grid;
    gap: 6px;
}

.language-option {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 16px;
    background: transparent;
    color: var(--text-soft);
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.language-option:hover,
.language-option.active {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
}

.language-option .language-name {
    font-weight: 700;
}

.language-option .language-code {
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

@media (max-width: 900px) {
    .header {
        flex-direction: column;
        gap: 20px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }

    .hero-title,
    .hero-subtitle {
        max-width: none;
    }

    .android-phone {
        transform: none;
        margin-top: 40px;
    }

    .premium-section {
        grid-template-columns: 1fr;
        padding-top: 12px;
    }

    .relationship-section {
        grid-template-columns: 1fr;
    }

    .premium-copy,
    .premium-visual {
        padding: 24px;
    }

    .features-intro h2 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .header,
    .hero,
    .features,
    .relationship-section,
    .premium-section {
        padding-left: 24px;
        padding-right: 24px;
    }

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

    .logo {
        gap: 10px;
    }

    .logo-mark {
        width: 50px;
        height: 50px;
    }

    .logo-text {
        font-size: 1.7rem;
    }

    .hero-main-logo {
        width: min(100%, 220px);
    }

    .android-phone {
        width: min(100%, 340px);
        height: 640px;
    }

    .language-switcher {
        width: 100%;
    }

    .language-switcher-button {
        width: 100%;
        justify-content: center;
    }

    .language-switcher-menu {
        left: 0;
        right: 0;
        min-width: 0;
    }
}
