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

:root {
    --pink: #ff7ab8;
    --pink-soft: #ffd7ec;
    --blue: #4ad0ff;
    --blue-soft: #d0f2ff;
    --bg: #fff8ff;
    --text-main: #1b1230;
    --text-muted: #5e5677;
    --card-bg: #ffffff;
    --border-subtle: rgba(255, 255, 255, 0.6);
    --shadow-soft: 0 18px 45px rgba(35, 11, 68, 0.12);
    --radius-xl: 24px;
    --radius-pill: 999px;
    --transition-fast: 0.2s ease-out;
    --max-width: 1080px;
    --header-height: 70px;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    color: var(--text-main);
    background: radial-gradient(circle at top left, var(--pink-soft) 0, transparent 55%),
                radial-gradient(circle at top right, var(--blue-soft) 0, transparent 50%),
                var(--bg);
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.82));
    border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 18px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    object-fit: cover;
    background: linear-gradient(135deg, var(--pink-soft), var(--blue-soft));
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-weight: 700;
    font-size: 1rem;
}

.brand-tagline {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.95rem;
}

.site-nav a {
    position: relative;
    text-decoration: none;
    color: var(--text-muted);
    padding: 6px 0;
    transition: color var(--transition-fast);
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--pink), var(--blue));
    transition: width var(--transition-fast);
}

.site-nav a:hover {
    color: var(--text-main);
}

.site-nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px 0;
    border-radius: 999px;
    background: var(--text-main);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Hero Section */

.hero {
    padding: 56px 0 40px;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
    gap: 40px;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2.1rem, 2.5vw + 1.4rem, 2.8rem);
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.hero-tagline {
    font-size: 1.05rem;
    color: var(--pink);
    font-weight: 600;
    margin-bottom: 14px;
}

.hero-text {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 14px;
}

.hero-highlights {
    list-style: none;
    display: grid;
    gap: 6px;
    margin-bottom: 14px;
}

.hero-highlights li::before {
    content: "●";
    color: var(--blue);
    margin-right: 6px;
    font-size: 0.7rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    color: var(--text-main);
    background: linear-gradient(135deg, rgba(255, 122, 184, 0.12), rgba(74, 208, 255, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

/* Hero Card */

.hero-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 240, 255, 0.96));
    border-radius: var(--radius-xl);
    padding: 20px 20px 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 122, 184, 0.25), transparent 60%);
    top: -80px;
    right: -80px;
    opacity: 0.9;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    background: rgba(74, 208, 255, 0.16);
    color: var(--text-main);
    margin-bottom: 10px;
}

.hero-card-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Device Mock */

.hero-device {
    position: relative;
    margin-top: 4px;
    margin-inline: auto;
    width: min(240px, 100%);
    aspect-ratio: 9 / 16;
    border-radius: 32px;
    padding: 10px;
    background: linear-gradient(145deg, #151325, #2c2345);
    box-shadow: 0 24px 40px rgba(17, 6, 40, 0.55);
}

.device-notch {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.5);
}

.device-screen {
    width: 100%;
    height: 100%;
    border-radius: 26px;
    padding: 18px 16px;
    background: radial-gradient(circle at top, #ffd7ec 0, #4ad0ff 60%, #151325 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #140b22;
}

.device-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.device-copy {
    font-size: 0.82rem;
    line-height: 1.5;
}

/* Sections */

section {
    scroll-margin-top: calc(var(--header-height) + 16px);
}

.privacy {
    padding: 28px 0 40px;
}

.privacy h2,
.contact h2 {
    font-size: 1.7rem;
    margin-bottom: 10px;
}

.section-intro {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 8px;
}

.policy-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px 22px;
    margin-top: 20px;
}

.policy-block {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 16px 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 28px rgba(55, 22, 92, 0.06);
}

.policy-block h3 {
    font-size: 1.02rem;
    margin-bottom: 6px;
}

.policy-block p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 6px;
}

.policy-block ul {
    padding-left: 16px;
    margin-bottom: 4px;
}

.policy-block li {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 4px;
}

.last-updated {
    margin-top: 4px;
    font-size: 0.86rem;
    color: var(--text-muted);
}

/* Contact */

.contact {
    padding: 32px 0 44px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
    gap: 26px;
    align-items: flex-start;
}

.contact-copy p {
    font-size: 0.96rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 10px;
}

.contact-note {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    background: rgba(255, 122, 184, 0.16);
    color: var(--text-main);
}

.contact-form {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 18px 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 32px rgba(49, 15, 94, 0.08);
}

.field {
    margin-bottom: 10px;
}

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

label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-main);
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    font: inherit;
    border-radius: 12px;
    border: 1px solid rgba(148, 133, 176, 0.4);
    padding: 9px 10px;
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-main);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

textarea {
    resize: vertical;
    min-height: 110px;
}

input:focus,
textarea:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 1px rgba(255, 122, 184, 0.3);
    background: #ffffff;
}

.btn-primary {
    margin-top: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1a1024;
    background: linear-gradient(135deg, var(--pink), var(--blue));
    box-shadow: 0 12px 24px rgba(92, 24, 102, 0.35);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(92, 24, 102, 0.4);
    filter: brightness(1.03);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(92, 24, 102, 0.35);
}

.form-status {
    font-size: 0.8rem;
    margin-top: 6px;
    min-height: 1em;
    color: var(--text-muted);
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--border-subtle);
    padding: 14px 0 18px;
    background: rgba(255, 255, 255, 0.94);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.site-footer a {
    color: var(--text-main);
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* Responsive */

@media (max-width: 820px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .hero-card {
        order: -1;
    }

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

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

@media (max-width: 640px) {
    .header-inner {
        gap: 10px;
    }

    .site-nav {
        position: absolute;
        inset-inline: 0;
        top: var(--header-height);
        padding: 10px 20px 14px;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid var(--border-subtle);
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform var(--transition-fast), opacity var(--transition-fast);
    }

    .site-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
    }

    .nav-toggle.is-open span:nth-child(1) {
        transform: translateY(3px) rotate(45deg);
    }

    .nav-toggle.is-open span:nth-child(2) {
        transform: translateY(-3px) rotate(-45deg);
    }

    .hero {
        padding-top: 40px;
    }

    .contact-form {
        padding: 16px 14px 18px;
    }

    .field-inline {
        grid-template-columns: minmax(0, 1fr);
    }
}
