/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-white: #ffffff;
    --color-dark-blue: #1a2332;
    --color-anthracite: #2d3748;
    --color-gray-light: #f7f8fa;
    --color-gray-mid: #e2e5ea;
    --color-gray-text: #6b7280;
    --color-accent: #2563eb;
    --color-accent-hover: #1d4ed8;
    --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --max-width: 1080px;
    --spacing-section: 96px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    color: var(--color-anthracite);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===== TYPOGRAPHY ===== */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    text-align: center;
    margin-bottom: 16px;
}

.section-title--light {
    color: var(--color-white);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray-text);
    text-align: center;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: none;
    position: relative;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
}

.btn-light {
    background-color: var(--color-white);
    color: var(--color-dark-blue);
}

.btn-light:hover {
    background-color: var(--color-gray-light);
}

/* Pulsing glow effect on CTA buttons */
.btn-pulse {
    animation: btnPulse 2.5s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(37, 99, 235, 0); }
}

.btn-light.btn-pulse {
    animation-name: btnPulseLight;
}

@keyframes btnPulseLight {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3); }
    50% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--color-dark-blue) 0%, #1e3a5f 50%, #0f2847 100%);
    color: var(--color-white);
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-120px) translateX(40px);
        opacity: 0;
    }
}

.hero-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}

/* Domain name styling */
.domain-name {
    letter-spacing: 2px;
    display: inline-block;
}

.domain-dot {
    color: #60a5fa;
}

.domain-tld {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
}

.hero-highlight {
    color: #60a5fa;
    display: block;
    font-size: 0.65em;
    font-weight: 600;
    margin-top: 8px;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    max-width: 620px;
    margin: 0 auto 40px;
}

.hero-price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--color-white);
}

.hero-price-note {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== VISITOR COUNTER ===== */
.visitor-counter {
    margin-top: 32px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.counter-icon {
    opacity: 0.5;
}

.visitor-counter strong {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* ===== HERO ANIMATIONS ===== */
.animate-fade-down {
    animation: fadeDown 0.8s ease-out forwards;
    opacity: 0;
}

.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.reveal-left {
    transform: translateX(-30px);
}

.reveal.reveal-right {
    transform: translateX(30px);
}

.reveal.reveal-up {
    transform: translateY(30px);
}

.reveal:not(.reveal-left):not(.reveal-right):not(.reveal-up) {
    transform: translateY(20px);
}

.reveal.revealed {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* ===== BENEFITS ===== */
.benefits {
    padding: var(--spacing-section) 0;
    background-color: var(--color-white);
}

.benefits .section-title {
    margin-bottom: 48px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.benefit-card {
    padding: 32px;
    border: 1px solid var(--color-gray-mid);
    border-radius: 12px;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.benefit-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    border-color: var(--color-accent);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background-color: var(--color-gray-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-accent);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: scale(1.1);
}

.benefit-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--color-gray-text);
    line-height: 1.6;
}

/* ===== USAGE ===== */
.usage {
    padding: var(--spacing-section) 0;
    background-color: var(--color-gray-light);
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.usage-card {
    background-color: var(--color-white);
    padding: 32px 28px;
    border-radius: 12px;
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border: 1px solid var(--color-gray-mid);
}

.usage-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-6px);
}

.usage-emoji {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.usage-card:hover .usage-emoji {
    transform: scale(1.2) rotate(-5deg);
}

.usage-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 8px;
}

.usage-card p {
    font-size: 0.9rem;
    color: var(--color-gray-text);
    line-height: 1.6;
}

/* ===== CTA ===== */
.cta {
    padding: var(--spacing-section) 0;
    background: linear-gradient(135deg, var(--color-dark-blue) 0%, #1e3a5f 50%, #0f2847 100%);
    text-align: center;
    color: var(--color-white);
}

.cta-price {
    font-size: 3rem;
    font-weight: 800;
    margin: 24px 0;
}

.cta-price-note {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
}

.cta-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-email {
    margin-top: 20px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

.cta-email a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cta-email a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
    padding: 32px 0;
    background-color: #111827;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: var(--color-white);
}

.footer-copy {
    margin-top: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0 64px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-price {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 1.625rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .usage-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cta-price {
        font-size: 2.25rem;
    }

    :root {
        --spacing-section: 64px;
    }

    .reveal.reveal-left,
    .reveal.reveal-right {
        transform: translateY(20px);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-price,
    .cta-price {
        font-size: 1.875rem;
    }

    .btn {
        padding: 14px 32px;
        font-size: 1rem;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .btn-pulse {
        animation: none;
    }
}
