/* ========================================
   ADSlocker — Global Styles
   ======================================== */

:root {
    --orange: #F15A29;
    --orange-dark: #D94A1E;
    --orange-light: #FF7A4D;
    --orange-glow: rgba(241, 90, 41, .15);
    --bg: #FAFAFA;
    --bg-card: #FFFFFF;
    --bg-dark: #1A1A1A;
    --text: #1A1A1A;
    --text-secondary: #6B6B6B;
    --text-light: #FFFFFF;
    --border: #E8E8E8;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 2px 20px rgba(0,0,0,.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.10);
    --font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --transition: .3s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-accent { color: var(--orange); }

.section-label {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--orange);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 48px;
}

/* ======= BUTTONS ======= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 60px;
    font-family: var(--font);
    font-size: .95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 4px 20px rgba(241,90,41,.35);
}
.btn--primary:hover { background: var(--orange-dark); box-shadow: 0 6px 28px rgba(241,90,41,.45); }
.btn--white {
    background: #fff;
    color: var(--orange);
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.btn--white:hover { background: #f5f5f5; }

/* ======= NAV ======= */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(250,250,250,.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}
.nav__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.15rem;
}
.nav__logo img { border-radius: 8px; }
.nav__links {
    display: flex;
    list-style: none;
    gap: 32px;
}
.nav__links a {
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
    position: relative;
}
.nav__links a:hover,
.nav__links a.active { color: var(--orange); }
.nav__links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
}

/* Burger */
.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ======= HERO ======= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 64px;
}
.hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 70% 40%, var(--orange-glow) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(241,90,41,.06) 0%, transparent 60%);
    z-index: 0;
}
.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
}
.hero__badge {
    display: inline-block;
    background: var(--orange-glow);
    color: var(--orange);
    padding: 6px 16px;
    border-radius: 60px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .04em;
    margin-bottom: 20px;
}
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero__subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

/* Phone mockup */
.hero__visual {
    display: flex;
    justify-content: center;
}
.hero__phone {
    width: 260px;
    height: 460px;
    background: var(--bg-dark);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg), 0 0 0 2px rgba(255,255,255,.1) inset;
    position: relative;
}
.hero__phone::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: var(--bg-dark);
    border-radius: 0 0 16px 16px;
    z-index: 2;
}
.hero__phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #fff 0%, #FFF5F0 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero__shield-anim {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero__shield-anim img {
    position: relative;
    z-index: 2;
    border-radius: 24px;
}
.hero__shield-ring {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 2px solid var(--orange);
    opacity: 0;
    animation: shieldPulse 3s ease-out infinite;
}
.hero__shield-ring--2 {
    animation-delay: 1.5s;
}

@keyframes shieldPulse {
    0% { transform: scale(.8); opacity: .5; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* ======= FEATURES ======= */
.features {
    padding: 100px 0;
}
.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.feature-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--orange-glow);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.feature-card p {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ======= STATS ======= */
.stats {
    padding: 60px 0;
    background: var(--bg-dark);
    color: var(--text-light);
}
.stats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: center;
}
.stat__number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--orange-light);
    margin-bottom: 4px;
}
.stat__label {
    font-size: .9rem;
    color: rgba(255,255,255,.6);
}

/* ======= REVIEWS ======= */
.reviews {
    padding: 100px 0;
}
.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}
.review-card__stars {
    color: #F5A623;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.review-card p {
    font-size: .95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}
.review-card__author {
    font-weight: 600;
    font-size: .85rem;
    color: var(--text);
}

/* ======= SUBSCRIPTION ======= */
.subscription {
    padding: 80px 0;
    background: #FFF5F0;
}
.subscription__box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 720px;
}
.subscription__box p {
    font-size: .95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}
.subscription__box p:last-child { margin-bottom: 0; }
.subscription__box a {
    color: var(--orange);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.subscription__box a:hover { color: var(--orange-dark); }

/* ======= CTA ======= */
.cta {
    padding: 100px 0;
    background: var(--orange);
    color: #fff;
    text-align: center;
}
.cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 12px;
}
.cta p {
    font-size: 1.05rem;
    opacity: .9;
    margin-bottom: 32px;
}

/* ======= FOOTER ======= */
.footer {
    padding: 40px 0;
    background: var(--bg-dark);
    color: rgba(255,255,255,.5);
}
.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #fff;
    font-size: .95rem;
}
.footer__brand img { border-radius: 6px; }
.footer__links {
    display: flex;
    list-style: none;
    gap: 24px;
}
.footer__links a {
    font-size: .85rem;
    transition: color var(--transition);
}
.footer__links a:hover { color: var(--orange-light); }
.footer__copy {
    font-size: .8rem;
    width: 100%;
    text-align: center;
    margin-top: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.08);
}

/* ======= LEGAL PAGES ======= */
.legal-page {
    padding: 120px 0 80px;
    min-height: 70vh;
}
.legal-page h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 32px;
}
.legal-page .legal-content {
    max-width: 720px;
    font-size: .95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}
.legal-page .legal-content h2 {
    font-family: var(--font);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin: 32px 0 12px;
}
.legal-page .legal-content p {
    margin-bottom: 16px;
}
.legal-page .legal-content a {
    color: var(--orange);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.legal-page .legal-placeholder {
    background: #FFF5F0;
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    color: var(--text-secondary);
}

/* ======= CONTACT PAGE ======= */
.contact-section {
    padding: 120px 0 80px;
    min-height: 70vh;
}
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px;
    max-width: 520px;
    text-align: center;
}
.contact-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: var(--orange-glow);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.contact-card h1 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 12px;
}
.contact-card p {
    color: var(--text-secondary);
    font-size: .95rem;
    margin-bottom: 24px;
    line-height: 1.7;
}
.contact-card__email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--orange-glow);
    border-radius: 60px;
    color: var(--orange);
    font-weight: 600;
    font-size: 1rem;
    transition: background var(--transition);
}
.contact-card__email:hover {
    background: rgba(241,90,41,.25);
}

/* ======= RESPONSIVE ======= */
@media (max-width: 960px) {
    .features__grid { grid-template-columns: repeat(2, 1fr); }
    .reviews__grid { grid-template-columns: 1fr; max-width: 520px; }
}

@media (max-width: 768px) {
    .nav__burger { display: flex; }
    .nav__links {
        position: fixed;
        top: 64px; left: 0; right: 0;
        background: rgba(250,250,250,.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 8px 0;
        border-bottom: 1px solid var(--border);
        transform: translateY(-120%);
        transition: transform var(--transition);
    }
    .nav__links.open { transform: translateY(0); }
    .nav__links li { width: 100%; text-align: center; }
    .nav__links a {
        display: block;
        padding: 14px 24px;
        font-size: 1rem;
    }
    .nav__links a.active::after { display: none; }

    .hero__inner { grid-template-columns: 1fr; text-align: center; }
    .hero__subtitle { margin-left: auto; margin-right: auto; }
    .hero__visual { margin-top: 24px; }
    .hero__phone { width: 220px; height: 380px; }
    .hero__shield-anim img { width: 90px; height: 90px; }
    .hero__shield-ring { width: 120px; height: 120px; }

    .stats__grid { grid-template-columns: 1fr; gap: 32px; }

    .footer__inner { justify-content: center; text-align: center; }
    .footer__links { justify-content: center; flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 480px) {
    .features__grid { grid-template-columns: 1fr; }
    .subscription__box { padding: 24px; }
    .contact-card { padding: 32px 24px; }
}

/* ======= ANIMATIONS ======= */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
