:root {
    --accent-color: #ff9200;
    --accent-color-bright: #ff7a45;
    --background-color: #071a2e;
    --background-color-deep: #041120;
    --card-color: rgba(255, 255, 255, 0.06);
    --card-color-strong: rgba(255, 255, 255, 0.1);
    --text-color: #f7fbff;
    --muted-text-color: rgba(247, 251, 255, 0.72);
    --border-color: rgba(255, 255, 255, 0.12);
    --shadow-color: rgba(0, 0, 0, 0.35);
    --container-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text-color);
    background:
        radial-gradient(circle at 72% 38%, rgba(255, 146, 0, 0.18), transparent 26%),
        radial-gradient(circle at 25% 50%, rgba(27, 206, 235, 0.12), transparent 26%),
        linear-gradient(135deg, var(--background-color), var(--background-color-deep));
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.menu-open {
    overflow: hidden;
}

.container {
    width: min(100% - 40px, var(--container-width));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(4, 17, 32, 0.82);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(18px);
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
}

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

.brand-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.brand-name {
    font-family: "Style Script", cursive;
    font-size: 36px;
    line-height: 1;
}

.navigation-links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.navigation-links a {
    color: var(--text-color);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: color 180ms ease, opacity 180ms ease;
}

.navigation-links a:hover {
    color: var(--accent-color);
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 0;
}

.menu-button span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: var(--text-color);
    border-radius: 99px;
}

.hero-section {
    min-height: 700px;
    padding: 84px 0 62px;
    border-bottom: 1px solid var(--border-color);
}

.hero-content {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 48px;
}

.hero-copy {
    text-align: center;
}

.hero-logo {
    width: 118px;
    height: 118px;
    object-fit: contain;
    margin-bottom: 14px;
}

h1 {
    margin: 0;
    font-family: "Style Script", cursive;
    font-size: clamp(74px, 9vw, 120px);
    font-weight: 400;
    line-height: 0.9;
    text-shadow: 0 18px 34px var(--shadow-color);
}

.hero-tagline {
    margin: 18px 0 28px;
    color: var(--accent-color-bright);
    font-family: "Style Script", cursive;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1;
}

.hero-description {
    width: min(100%, 520px);
    margin: 0 auto 36px;
    color: var(--text-color);
    font-size: 19px;
    line-height: 1.65;
}

.app-store-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 56px;
    padding: 0 28px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-bright));
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    box-shadow: 0 18px 34px rgba(255, 122, 69, 0.22);
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.app-store-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(255, 122, 69, 0.3);
}

.app-store-button.small {
    min-height: 42px;
    padding: 0 18px;
    font-size: 14px;
}

.apple-icon {
    font-size: 26px;
    line-height: 1;
}

.phone-showcase {
    position: relative;
    min-height: 560px;
}

.phone {
    position: absolute;
    width: 270px;
    height: 545px;
    padding: 13px;
    background: linear-gradient(135deg, #303642, #080a0d 42%, #2c3138);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 42px;
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5);
}

.phone-primary {
    left: 62px;
    top: 0;
    transform: rotate(-4deg);
    z-index: 2;
}

.phone-secondary {
    right: 32px;
    top: 72px;
    transform: rotate(7deg);
    z-index: 1;
}

.phone-top {
    position: absolute;
    top: 16px;
    left: 50%;
    width: 88px;
    height: 25px;
    background: #07090d;
    border-radius: 0 0 16px 16px;
    transform: translateX(-50%);
    z-index: 2;
}

.phone-screen {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 26px 18px 16px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(255, 146, 0, 0.12), transparent 28%),
        linear-gradient(180deg, #061b32, #04111f);
    border-radius: 32px;
}

.status-row,
.profile-actions {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
}

.screen-eyebrow {
    margin: 34px 0 2px;
    color: var(--muted-text-color);
    font-size: 12px;
}

.phone-screen h2 {
    margin: 0 0 18px;
    font-size: 25px;
    line-height: 1;
}

.event-list {
    display: grid;
    gap: 10px;
}

.event-card {
    display: grid;
    grid-template-columns: 42px 1fr 36px;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
}

.event-card strong,
.event-card span,
.event-card time {
    display: block;
}

.event-card strong {
    font-size: 13px;
}

.event-card span {
    color: var(--muted-text-color);
    font-size: 11px;
}

.event-card time {
    color: #ffb166;
    text-align: right;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
}

.event-card small {
    color: var(--muted-text-color);
    font-size: 9px;
}

.avatar,
.profile-avatar {
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    border-radius: 50%;
}

.avatar {
    width: 42px;
    height: 42px;
    font-size: 14px;
}

.avatar-one { background: linear-gradient(135deg, #ffaf6b, #7b4cff); }
.avatar-two { background: linear-gradient(135deg, #ff7a45, #ffcf70); }
.avatar-three { background: linear-gradient(135deg, #45d7ff, #6177ff); }
.avatar-four { background: linear-gradient(135deg, #ff477e, #ff9200); }

.tab-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    gap: 4px;
    margin-top: auto;
    padding-top: 18px;
    color: var(--muted-text-color);
    font-size: 9px;
    text-align: center;
}

.tab-bar .active {
    color: var(--accent-color);
}

.tab-bar button {
    width: 43px;
    height: 43px;
    margin: 0 auto;
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-bright));
    border: 0;
    border-radius: 50%;
    font-size: 30px;
    line-height: 1;
}

.profile-actions {
    margin-top: 34px;
    color: var(--accent-color);
}

.profile-avatar {
    width: 96px;
    height: 96px;
    margin: 34px auto 14px;
    background: linear-gradient(135deg, #ff7a45, #45d7ff);
    font-size: 40px;
}

.profile-screen {
    text-align: center;
}

.profile-screen h2 {
    margin-bottom: 8px;
    font-size: 22px;
}

.profile-screen p {
    margin: 2px 0;
    color: var(--muted-text-color);
    font-size: 13px;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 24px 0;
}

.quick-actions span {
    padding: 12px 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    color: var(--muted-text-color);
    font-size: 10px;
}

.notes-card {
    padding: 14px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    text-align: left;
}

.notes-card strong {
    font-size: 13px;
}

.features-section {
    padding: 34px 0 36px;
    background: rgba(4, 17, 32, 0.52);
    border-bottom: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.feature-card {
    padding: 24px 20px;
    text-align: center;
}

.feature-icon {
    margin-bottom: 14px;
    color: var(--accent-color-bright);
    font-size: 36px;
    line-height: 1;
}

.feature-card h3 {
    margin: 0 0 12px;
    font-size: 17px;
}

.feature-card p {
    margin: 0 auto;
    max-width: 230px;
    color: var(--text-color);
    line-height: 1.55;
}

.site-footer {
    padding: 36px 0 22px;
    background: rgba(4, 17, 32, 0.8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 36px;
}

.footer-logo {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.footer-about {
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: center;
    gap: 22px;
}

.footer-about p,
.site-footer p {
    color: var(--muted-text-color);
    line-height: 1.6;
}

.site-footer h2 {
    margin: 0 0 14px;
    font-size: 17px;
}

.site-footer a {
    display: block;
    margin: 10px 0;
    color: var(--text-color);
    text-decoration: none;
}

.site-footer a:hover,
.accent-link {
    color: var(--accent-color) !important;
}

.copyright {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.copyright p {
    margin: 0;
    color: rgba(247, 251, 255, 0.56);
}

@media (max-width: 980px) {
    .navigation-links {
        position: fixed;
        inset: 76px 0 auto 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px 20px 24px;
        background: rgba(4, 17, 32, 0.98);
        border-bottom: 1px solid var(--border-color);
    }

    .navigation-links.is-open {
        display: flex;
    }

    .navigation-links a {
        padding: 16px 0;
    }

    .navigation-links .app-store-button {
        margin-top: 10px;
    }

    .menu-button {
        display: block;
    }

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

    .phone-showcase {
        min-height: 560px;
        width: min(100%, 620px);
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

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

    .brand-name {
        font-size: 30px;
    }

    .hero-section {
        padding-top: 54px;
    }

    .hero-description {
        font-size: 16px;
    }

    .app-store-button {
        width: 100%;
        max-width: 330px;
    }

    .phone-showcase {
        min-height: 500px;
        transform: scale(0.82);
        transform-origin: top center;
        margin-bottom: -90px;
    }

    .phone-primary {
        left: 0;
    }

    .phone-secondary {
        right: 0;
        top: 110px;
    }

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

    .footer-about {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto;
    }
}
