/* Reset & Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary-color: #2563eb;
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
    --text-main: #0f172a;
    --text-light: #64748b;
    --bg-main: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.7);
    --white: #ffffff;
    --border-color: rgba(226, 232, 240, 0.8);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-main);
    -webkit-font-smoothing: antialiased;
    /* Apple/Vercel inspired ambient mesh gradient background */
    background-image: 
        radial-gradient(at 0% 0%, hsla(213,100%,73%,0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, hsla(189,100%,56%,0.15) 0px, transparent 50%),
        radial-gradient(at 50% 100%, hsla(250,100%,70%,0.1) 0px, transparent 50%);
    background-attachment: fixed;
}

a { text-decoration: none; color: var(--primary-color); }

/* Header - Floating Pill Shape */
header { position: sticky; top: 20px; z-index: 100; padding: 0 20px; }
.nav-container {
    max-width: 900px; margin: 0 auto; padding: 12px 35px;
    display: flex; justify-content: space-between; align-items: center;
    background-color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-radius: 50px; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.8);
}
.logo { font-size: 24px; font-weight: 800; background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a { color: var(--text-main); font-weight: 600; font-size: 15px; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary-color); }

/* Typography */
h2 { text-align: center; font-size: 40px; font-weight: 800; margin-bottom: 60px; letter-spacing: -0.04em; }

/* Buttons */
.cta-btn {
    display: inline-block; background: var(--primary-gradient); color: var(--white);
    padding: 16px 42px; border-radius: 50px; font-size: 18px; font-weight: bold;
    text-align: center; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25); border: none;
}
.cta-btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4); color: white;}
.cta-btn.outline {
    background: transparent; color: var(--text-main); border: 2px solid var(--border-color);
    box-shadow: none;
}
.cta-btn.outline:hover { background: var(--white); border-color: var(--primary-color); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.05);}

/* Layout */
.section-container { max-width: 1200px; margin: 0 auto; padding: 100px 20px; }
.bg-light { background-color: transparent; } /* Override previous solid background */

/* Hero Section */
#hero { padding: 140px 20px 80px; text-align: center; }
.hero-container { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.hero-content { z-index: 10; }
.hero-content h1 { font-size: 68px; font-weight: 900; letter-spacing: -0.05em; line-height: 1.1; margin-bottom: 24px; background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;}
.hero-content .subtitle { font-size: 22px; color: var(--text-light); max-width: 600px; margin: 0 auto 40px; line-height: 1.6; }
.hero-visual { width: 100%; display: flex; justify-content: center; }

/* Core Globe - Futuristic styling */
.dynamic-element { position: relative; width: 140px; height: 140px; display: flex; justify-content: center; align-items: center; margin-top: 20px; }
.core-globe { width: 90px; height: 90px; background: var(--primary-gradient); border-radius: 50%; color: white; display: flex; justify-content: center; align-items: center; font-size: 22px; font-weight: 900; z-index: 2; box-shadow: 0 0 40px rgba(37, 99, 235, 0.5); }
.pulse-ring { position: absolute; width: 100%; height: 100%; border-radius: 50%; border: 2px solid rgba(37, 99, 235, 0.6); animation: pulse 2.5s infinite cubic-bezier(0.215, 0.61, 0.355, 1); }
@keyframes pulse { 0% { transform: scale(0.8); opacity: 1; border-width: 4px; } 100% { transform: scale(2.2); opacity: 0; border-width: 1px; } }

/* Cards Common (Glassmorphism & Bounciness) */
.feature-card, .price-card, .article-card, .review-card, .media-card {
    background: var(--card-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color); border-radius: 28px; padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.feature-card:hover, .article-card:hover, .media-card:hover, .review-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: rgba(37, 99, 235, 0.3); }

/* Grids */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card h3 { font-size: 24px; margin-bottom: 16px; color: var(--text-main); font-weight: 700;}
.feature-card p { color: var(--text-light); font-size: 16px; line-height: 1.7;}

/* Media Grid */
.media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 40px; }
.media-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-visual { width: 100%; height: 240px; display: flex; justify-content: center; align-items: center; position: relative; overflow: hidden; }
.media-visual-1 { background: linear-gradient(135deg, #c084fc 0%, #3b82f6 100%); color: white; }
.media-visual-2 { background: linear-gradient(135deg, #34d399 0%, #0ea5e9 100%); color: white; }
.card-visual svg { width: 90px; height: 90px; filter: drop-shadow(0 15px 25px rgba(0,0,0,0.25)); z-index: 2; transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.media-card:hover .card-visual svg { transform: scale(1.15) rotate(5deg); }
.card-visual::after { content: ''; position: absolute; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 70%); top: -100px; right: -100px; border-radius: 50%; }
.card-visual::before { content: ''; position: absolute; width: 200px; height: 200px; background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%); bottom: -50px; left: -50px; border-radius: 50%; }
.media-card h3 { padding: 35px 35px 15px; font-size: 24px; font-weight: 700;}
.media-card p { padding: 0 35px 35px; color: var(--text-light); line-height: 1.7;}

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; align-items: center; }
.price-card { text-align: center; position: relative; padding: 50px 40px; }
.price-card.popular { background: rgba(255,255,255,0.9); border: 2px solid var(--primary-color); transform: scale(1.05); box-shadow: 0 25px 50px rgba(37, 99, 235, 0.15); }
.price-card.popular:hover { transform: scale(1.05) translateY(-10px); }
.badge { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: var(--primary-gradient); color: white; padding: 8px 20px; border-radius: 30px; font-size: 14px; font-weight: 800; letter-spacing: 1px; box-shadow: 0 4px 10px rgba(37,99,235,0.3);}
.price-card h3 { font-size: 22px; color: var(--text-main); margin-bottom: 20px; font-weight: 700;}
.price { font-size: 56px; font-weight: 900; color: var(--text-main); margin-bottom: 30px; letter-spacing: -2px; }
.price span { font-size: 18px; color: var(--text-light); font-weight: 600; letter-spacing: normal; }
.price-card ul { list-style: none; margin-bottom: 40px; text-align: left; }
.price-card ul li { padding: 14px 0; border-bottom: 1px solid var(--border-color); color: var(--text-light); display: flex; align-items: center; font-size: 16px;}
.price-card ul li::before { content: "✓"; color: var(--primary-color); font-weight: 900; margin-right: 12px; font-size: 18px;}
.price-card .cta-btn { width: 100%; }

/* Articles Grid */
.article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.article-card { padding: 35px; }
.article-card h3 { font-size: 18px; margin-bottom: 15px; line-height: 1.5; font-weight: 700;}
.article-card p { color: var(--text-light); font-size: 15px; line-height: 1.6;}

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.faq-item { background: var(--card-bg); border: 1px solid var(--border-color); padding: 35px; border-radius: 24px; transition: all 0.3s ease;}
.faq-item:hover { border-color: rgba(37,99,235,0.3); transform: translateX(5px); }
.faq-item h3 { font-size: 20px; margin-bottom: 15px; font-weight: 700;}
.faq-item p { color: var(--text-light); margin: 0; line-height: 1.7;}

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.review-card { position: relative; padding: 40px; }
.review-card::before { content: '"'; position: absolute; top: 10px; left: 25px; font-size: 80px; color: rgba(37,99,235,0.1); font-family: Georgia, serif; line-height: 1; }
.review-card p { font-size: 17px; color: var(--text-main); margin-bottom: 25px; position: relative; z-index: 1; line-height: 1.8; font-weight: 500;}
.reviewer { font-weight: 800; color: var(--primary-color); font-size: 15px; text-align: right;}

/* Footer */
footer { border-top: 1px solid rgba(226, 232, 240, 0.5); background: rgba(255,255,255,0.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 80px 20px 40px; margin-top: 60px; }
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-links { display: flex; justify-content: center; gap: 40px; margin-bottom: 50px; flex-wrap: wrap;}
.footer-links a { color: var(--text-main); font-weight: 600; font-size: 16px; transition: color 0.3s;}
.footer-links a:hover { color: var(--primary-color); }
.footer-bottom { text-align: center; color: var(--text-light); font-size: 15px; }
.friend-links { margin-top: 20px; }
.friend-links a { color: var(--text-light); margin: 0 12px; transition: color 0.3s;}
.friend-links a:hover { color: var(--primary-color); text-decoration: underline; }

/* Mobile Adaptations */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-content h1 { font-size: 46px; }
    .hero-content .subtitle { font-size: 18px; }
    h2 { font-size: 32px; margin-bottom: 40px;}
    .price-card.popular { transform: scale(1); }
    .price-card.popular:hover { transform: translateY(-10px); }
    .section-container { padding: 60px 20px; }
    .dynamic-element { width: 100px; height: 100px; }
    .core-globe { width: 60px; height: 60px; font-size: 18px; }
}
