/* Variables */
:root {
    --primary-color: #000000;
    --primary-hover: #333333;
    --bg-color: #ffffff;
    --text-main: #111827;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --card-bg: #f9fafb;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

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

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    border: 1px solid var(--primary-color);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--card-bg);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 2rem;
    }
    
    .nav-links a {
        font-weight: 500;
        transition: color 0.2s ease;
    }
    
    .nav-links a:hover {
        color: var(--primary-color);
    }
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content {
    text-align: left;
}

@media (max-width: 991px) {
    .hero-content {
        text-align: center;
    }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

@media (max-width: 991px) {
    .hero p {
        margin: 0 auto 2.5rem;
    }
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

@media (max-width: 991px) {
    .hero-actions {
        justify-content: center;
    }
}

/* Hero Animations */
.hero-graphic {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-orb {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(120,120,255,0.2) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    position: absolute;
    animation: pulse 4s infinite alternate;
}

.floating-card {
    position: absolute;
    background: var(--bg-color);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    font-weight: 600;
    border: 1px solid var(--border-color);
    z-index: 10;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation: float 6s infinite ease-in-out;
}

.card-2 {
    bottom: 25%;
    right: 5%;
    animation: float 5s infinite ease-in-out reverse;
}

.card-3 {
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    animation: float 7s infinite ease-in-out 1s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 1; }
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Features */
.features {
    padding: 5rem 0;
}

.feature-grid {
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.features h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.features p {
    color: var(--text-muted);
}

/* Unlocks */
.unlocks {
    padding: 5rem 0;
    background-color: var(--text-main);
    color: #ffffff;
}

.unlocks .section-title {
    color: #ffffff;
}

.unlock-grid {
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
    .unlock-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.unlock-card {
    background-color: #1f2937;
    border-color: #374151;
    color: #ffffff;
}

.unlock-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.unlock-card p {
    color: #9ca3af;
}

/* Pricing */
.pricing {
    padding: 5rem 0;
}

.pricing-grid {
    grid-template-columns: repeat(1, 1fr);
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    position: relative;
    text-align: center;
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: normal;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-card ul li {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    padding-left: 1.5rem;
    position: relative;
}

.pricing-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Reviews */
.reviews {
    padding: 5rem 0;
    background-color: var(--card-bg);
}

.review-grid {
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
    .review-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.review-text {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.reviewer {
    font-weight: 600;
}

/* Articles */
.articles {
    padding: 5rem 0;
    background-color: var(--bg-color);
}

.article-grid {
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .article-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.article-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    padding: 1.5rem;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.article-image {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.article-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-weight: 700;
}

.article-card .article-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* FAQ */
.faq {
    padding: 5rem 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
}

.faq-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--text-muted);
}

/* Page Contents (for subpages) */
.page-content {
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.page-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-content p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.page-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.page-content li {
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

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

.copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .btn-large {
        width: 100%;
    }
}

/* FAQ Navigation Tags */
.faq-navigation {
    padding: 3rem 0;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

.faq-nav-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    text-align: center;
}

.faq-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.faq-tags a {
    font-size: 0.875rem;
    color: var(--text-muted);
    background-color: var(--bg-color);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.faq-tags a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
