/* Custom styles for EllevenVPN website */

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Subtle noise texture for premium feel */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Smooth gradient text fix for Safari */
.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

/* Better focus states */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #7C5CFF;
    outline-offset: 4px;
    border-radius: 8px;
}

/* Details disclosure animation */
details summary::-webkit-details-marker {
    display: none;
}

/* Article typography overrides */
article a {
    transition: opacity 0.2s;
}
article a:hover {
    opacity: 0.8;
}

/* App Store / Google Play buttons — built in HTML for guaranteed identical sizing.
   Both buttons share the exact same dimensions, padding, and typography. */
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    height: 56px;
    width: 195px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    font-family: 'Inter', system-ui, sans-serif;
    box-sizing: border-box;
}
.store-btn:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.32);
    background: #0a0a0a;
}
.store-btn:focus-visible {
    outline: 2px solid #7C5CFF;
    outline-offset: 4px;
}
.store-btn__icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}
.store-btn__text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    text-align: left;
}
.store-btn__top {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.02em;
    opacity: 0.92;
    text-transform: none;
}
.store-btn__bottom {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-top: 2px;
}
@media (max-width: 480px) {
    .store-btn {
        width: 175px;
        height: 52px;
        padding: 0 14px;
        gap: 10px;
    }
    .store-btn__icon {
        width: 24px;
        height: 24px;
    }
    .store-btn__bottom {
        font-size: 16px;
    }
}
