/* AdRev Science - Clean & Premium Layout */
:root {
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --secondary: #10b981;
    --secondary-glow: rgba(16, 185, 129, 0.3);
    --accent: #a855f7;
    --bg-deep: #020617;
    --bg-surface: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --grad: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #10b981 100%);
    --easing: cubic-bezier(0.23, 1, 0.32, 1);
}

/* Base Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background Blobs */
.luxury-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.2;
    transform: translate(-50%, -50%);
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: 0;
    left: 0;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    bottom: 0;
    right: 0;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    border: 1px solid var(--glass-border);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.6rem;
    letter-spacing: -1px;
}

.logo-accent {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.7;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 600;
}

.nav-links a:hover {
    color: white;
}

.btn-glow {
    padding: 0.7rem 1.8rem;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 10px 20px var(--primary-glow);
}

/* Hero */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Specific Sections Spacing */
.section {
    padding: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 2.6rem;
    margin-bottom: 0.8rem;
}

.section-title span {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.glass-display {
    background: var(--glass);
    padding: 8px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    position: relative;
    max-width: 380px;
    margin: 0 auto;
}

.glass-card {
    background: var(--glass);
    padding: 2.5rem;
    border-radius: 25px;
    border: 1px solid var(--glass-border);
    transition: 0.4s;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

/* Process */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.process-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: 900;
}

/* Collect Mobile */
.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.phone-frame {
    width: 240px;
    height: 480px;
    background: #000;
    border: 8px solid #1a1a1a;
    border-radius: 35px;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.app-screen {
    height: 100%;
    background: var(--bg-deep);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.qr-box {
    width: 140px;
    height: 140px;
    border: 2px dashed var(--primary);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
}

.check-list li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: 900;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.price-card {
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 40px;
}

.price-card.featured {
    border: 2px solid var(--primary);
    background: rgba(99, 102, 241, 0.05);
    transform: scale(1.05);
}

.amount {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 2rem 0;
}

.amount span {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* FOOTER - THE FIX */
.modern-footer {
    background: #010411;
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top-brand {
    text-align: center;
    margin-bottom: 3rem;
}

.footer-top-brand .logo {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.footer-top-brand p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    width: 100%;
    text-align: left;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: white;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.2rem;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-section ul {
    list-style: none !important;
    padding: 0 !important;
}

.footer-section li {
    margin-bottom: 0.8rem;
    list-style: none !important;
}

.footer-section a {
    color: var(--text-muted) !important;
    font-size: 0.9rem;
    transition: 0.3s;
    display: inline-block;
    text-decoration: none !important;
}

.footer-section a:hover {
    color: var(--primary) !important;
    transform: translateX(5px);
}

.footer-newsletter-box p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    overflow: hidden;
}

.newsletter-form input {
    background: transparent;
    border: none;
    padding: 0.6rem 0.8rem;
    color: white;
    flex: 1;
    outline: none;
    font-size: 0.85rem;
}

.newsletter-form button {
    background: var(--primary);
    border: none;
    color: white;
    padding: 0 1.2rem;
    font-weight: 700;
    font-size: 0.85rem;
}

.footer-social-centered {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.footer-social-centered .social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: 0.4s;
}

.footer-social-centered .social-icon:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--primary-glow);
}

.footer-bottom {
    width: 100%;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-bottom b {
    color: var(--primary);
}

/* Scroll reveal initial state */
.reveal-init {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s var(--easing);
}

.revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.blog-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.blog-date {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.blog-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    line-height: 1.4;
}

.blog-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 0.8rem;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-grid,
    .dual-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}