/* RingIt Global Styles */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'SF Pro', Arial, sans-serif;
    background: #f9fafb;
    color: #18181a;
    width: 100vw;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    min-width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.background-blobs {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 35px;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(96px);
    opacity: 0.8;
    mix-blend-mode: lighten;
    pointer-events: none;
    transition: opacity 0.3s;
}

/* HSB 287° 6 96 → #d1c9f6 (stronger blue-violet) */
.blob-blue {
    width: 320px;
    height: 260px;
    background: radial-gradient(circle at 60% 40%, #d1c9f6 60%, #f3f2fa 100%);
    top: 60px;
    left: 60px;
}

/* HSB 42° 7 100 → #ffe9b3 (stronger yellow) */
.blob-yellow {
    width: 320px;
    height: 260px;
    background: radial-gradient(circle at 40% 60%, #ffe9b3 60%, #fff8e6 100%);
    bottom: 60px;
    right: 60px;
}

/* HSB 4° 6 100 → #ffd6d6 (stronger red) */
.blob-red {
    width: 260px;
    height: 200px;
    background: radial-gradient(circle at 60% 60%, #ffd6d6 60%, #fff0f0 100%);
    bottom: 120px;
    right: 120px;
}

/* New: top left gradient blob for more color */
.blob-violet {
    width: 340px;
    height: 320px;
    background: radial-gradient(circle at 30% 30%, #b3a1f7 60%, #f3f2fa 100%);
    top: -80px;
    left: -80px;
}

.site-border {
    position: relative;
    z-index: 1;
    background: #fff;
    box-shadow: 0 2px 32px 0 rgba(0, 0, 0, 0.04);
    min-width: 0;
    min-height: 0;
    width: calc(100vw - 32px);
    height: calc(100vh - 32px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    overflow-y: auto;
    overflow-x: hidden;
    border: 16px solid #fff;
    transition: box-shadow 0.2s;
}

.main-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 0;
    box-sizing: border-box;
    position: relative;
    overflow-y: auto;
}

.app-name {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #b3b3b3;
    margin-bottom: 1.1rem;
    text-align: center;
    text-transform: uppercase;
    user-select: none;
}

.app-icon {
    width: 112px;
    height: 112px;
    margin-bottom: 1rem;
    border-radius: 24px;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.07);
    object-fit: cover;
    background: #fff;
    border: 1px solid #ececec;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: -0.01em;
    text-align: center;
}

.hero-desc {
    font-size: 1.15rem;
    font-weight: 400;
    color: #444;
    margin-bottom: 2.5rem;
    max-width: 420px;
    text-align: center;
    line-height: 1.5;
}

.download-buttons {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.download-btn img {
    height: 54px;
    width: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.04);
    transition: transform 0.12s;
}

.download-btn img:active {
    transform: scale(0.97);
}

footer {
    width: 100vw;
    box-sizing: border-box;
    position: fixed;
    left: 0;
    bottom: 0;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 2.2rem 0.7rem 2.2rem;
    font-size: 0.98rem;
    color: #888;
    z-index: 10;
    pointer-events: none;
}

.footer-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
    flex-direction: column-reverse;
}

.footer-left {
    font-weight: 400;
}

.footer-right {
    display: flex;
    gap: 1.1rem;
    align-items: center;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.25rem;
    color: #aaa;
    font-size: 0.92rem;
}
.footer-links a {
    color: #9a9a9a;
    text-decoration: none;
    pointer-events: auto;
}
.footer-links a:hover {
    color: #555;
    text-decoration: underline;
}
.footer-links .sep { color: #bbb; }

.social-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    stroke: #888;
    stroke-width: 1.7;
    fill: none;
    transition: stroke 0.15s;
}

.social-icon:hover {
    stroke: #18181a;
}

/* Content pages styles */
.page-content {
    position: relative;
    z-index: 1;
    height: 100%;
    overflow: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 860px;
    padding: 56px 28px 140px;
}

.topline {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #a3a3a3;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

h1 {
    margin: 0 0 0.75rem;
    font-size: 2rem;
    letter-spacing: -0.01em;
}

.sub {
    color: #555;
    margin-bottom: 2rem;
}

h2 {
    margin: 2rem 0 0.5rem;
    font-size: 1.2rem;
}

p, li {
    color: #333;
    line-height: 1.7;
}

ul {
    padding-left: 1.2rem;
}

.home-link {
    display: inline-block;
    margin-top: 1rem;
    color: #444;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
    padding-bottom: 2px;
}

.home-link:hover {
    color: #000;
    border-color: #bbb;
}

@media (max-width: 600px) {
    .site-border {
        margin: 0;
        border-radius: 0;
        width: 100vw;
        height: 100vh;
    }

    .main-content {
        padding: 1.5rem 0.5rem 3.5rem 0.5rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .app-icon {
        width: 72px;
        height: 72px;
        margin-bottom: 1.2rem;
    }

    .download-btn img {
        height: 40px;
    }

    footer {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .container {
        padding: 36px 18px 140px;
    }

    h1 {
        font-size: 1.5rem;
    }
}
