@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

:root {
    --bg-primary: #0b071a;
    --bg-secondary: #140d2e;
    --accent-purple: #8b5cf6;
    --accent-indigo: #6366f1;
    --accent-pink: #ec4899;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --glass-bg: rgba(20, 13, 46, 0.45);
    --glass-border: rgba(139, 92, 246, 0.2);
    --glass-highlight: rgba(255, 255, 255, 0.05);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: default; /* custom trail handles the interest */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-purple);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-pink);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Ambient Animated Clouds Background */
.cloud-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #1e1145 0%, var(--bg-primary) 80%);
}

.ambient-cloud {
    position: absolute;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(236, 72, 153, 0.08) 100%);
    filter: blur(80px);
    border-radius: 50%;
    pointer-events: none;
}

.cloud-1 {
    width: 500px;
    height: 400px;
    top: -10%;
    left: -10%;
    animation: drift 25s infinite alternate ease-in-out;
}

.cloud-2 {
    width: 600px;
    height: 500px;
    bottom: -15%;
    right: -10%;
    animation: drift 35s infinite alternate-reverse ease-in-out;
}

.cloud-3 {
    width: 450px;
    height: 450px;
    top: 40%;
    left: 60%;
    animation: drift 30s infinite alternate ease-in-out;
}

/* Drifting Background Clouds */
.floating-cloud-svg {
    position: absolute;
    fill: rgba(139, 92, 246, 0.06); /* subtle visible background clouds */
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
    pointer-events: none;
}

.bg-cloud-1 {
    width: 220px;
    height: 150px;
    top: 8%;
    animation: driftLeftToRight 75s infinite linear;
}

.bg-cloud-2 {
    width: 280px;
    height: 180px;
    top: 30%;
    animation: driftRightToLeft 90s infinite linear;
}

.bg-cloud-3 {
    width: 200px;
    height: 130px;
    top: 55%;
    animation: driftLeftToRight 85s infinite linear;
}

.bg-cloud-4 {
    width: 260px;
    height: 170px;
    top: 75%;
    animation: driftRightToLeft 65s infinite linear;
}

.bg-cloud-5 {
    width: 180px;
    height: 120px;
    top: 90%;
    animation: driftLeftToRight 95s infinite linear;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(100px, 50px) scale(1.15);
    }
}

@keyframes driftLeftToRight {
    0% {
        transform: translateX(-300px);
    }
    100% {
        transform: translateX(calc(100vw + 300px));
    }
}

@keyframes driftRightToLeft {
    0% {
        transform: translateX(calc(100vw + 300px)) scaleX(-1);
    }
    100% {
        transform: translateX(-300px) scaleX(-1);
    }
}


/* Header & Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 7, 26, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-svg {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-svg {
    transform: rotate(5deg) scale(1.1);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, var(--text-primary), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

nav a:hover {
    color: var(--text-primary);
}

.nav-btn {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-indigo) 100%);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
    color: white;
}

/* Sections */
section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    min-height: calc(85vh - 73px);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero-content {
    flex: 1.2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid var(--accent-purple);
    color: #c084fc;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    gap: 0.5rem;
}

.hero-badge span {
    width: 6px;
    height: 6px;
    background-color: var(--accent-pink);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--accent-pink);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.cta-group {
    display: flex;
    gap: 1.25rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(168, 85, 247, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(139, 92, 246, 0.5);
}

.hero-visual {
    flex: 0.8;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-svg-cloud {
    width: 320px;
    height: 320px;
    filter: drop-shadow(0 20px 40px rgba(139, 92, 246, 0.35));
    animation: floatCloud 6s ease-in-out infinite;
}

@keyframes floatCloud {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

/* Features Section */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-tag {
    color: var(--accent-purple);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(139, 92, 246, 0.15), transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-purple);
    font-size: 1.75rem;
    animation: bounceIcon 3s infinite ease-in-out;
    transform-origin: bottom center;
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.1);
}

.features-grid .feature-card:nth-child(1) .feature-icon {
    animation-delay: 0s;
}

.features-grid .feature-card:nth-child(2) .feature-icon {
    animation-delay: 0.4s;
}

.features-grid .feature-card:nth-child(3) .feature-icon {
    animation-delay: 0.8s;
}

@keyframes bounceIcon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}


.feature-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Pricing Section - SINGLE ROW layout */
.pricing-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    align-items: stretch;
    flex-wrap: wrap; /* allow wrapping on tablets, custom styles below */
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2.25rem;
    flex: 1;
    min-width: 320px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(12px);
}

.pricing-card.popular {
    border-color: var(--accent-purple);
    background: linear-gradient(180deg, rgba(20, 13, 46, 0.75) 0%, rgba(20, 13, 46, 0.45) 100%);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
    transform: scale(1.03);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.85rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-header {
    margin-bottom: 2rem;
}

.plan-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.plan-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.plan-price-box {
    margin-top: 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 3.5rem; /* Large font size */
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.price-period {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.plan-features svg {
    color: var(--accent-purple);
    flex-shrink: 0;
}

.pricing-card.popular .plan-features svg {
    color: var(--accent-pink);
}

.plan-cta {
    display: block;
    text-align: center;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.plan-cta-standard {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.plan-cta-standard:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-purple);
}

.plan-cta-premium {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-indigo) 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.3);
}

.plan-cta-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

/* User Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.25rem;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-stars {
    display: flex;
    gap: 0.25rem;
    color: #fbbf24; /* Amber-400 */
    margin-bottom: 1.25rem;
}

.review-content {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.review-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.review-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item[open] {
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(20, 13, 46, 0.65);
}

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-family: monospace;
    color: var(--accent-purple);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
    color: var(--accent-pink);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Articles / SEO Section */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.article-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
}

.article-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.article-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.article-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-card h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card h3 a:hover {
    color: var(--accent-purple);
}

.article-excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.article-link {
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.2s ease;
}

.article-link:hover {
    gap: 0.6rem;
    color: var(--accent-pink);
}

/* Article Detail Pages Specific Styles */
.article-page {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.article-header {
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 2rem;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -1.5px;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.article-content p {
    margin-bottom: 1.75rem;
}

.article-content h2 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    margin: 2.5rem 0 1.25rem 0;
    color: #e9d5ff; /* light violet */
}

.article-content ul, .article-content ol {
    margin-bottom: 1.75rem;
    padding-left: 1.5rem;
}

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

.article-content a {
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed var(--accent-purple);
    transition: all 0.2s ease;
}

.article-content a:hover {
    color: var(--accent-pink);
    border-bottom-color: var(--accent-pink);
}

.article-footer-links {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.article-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.article-back-link:hover {
    color: var(--accent-purple);
}

/* Footer & PBN Links */
footer {
    border-top: 1px solid var(--glass-border);
    background: rgba(11, 7, 26, 0.9);
    padding: 4rem 2rem 2rem 2rem;
    margin-top: 6rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

/* PBN Weight Infusion Pipe Style - low key, integrated, dofollow */
.pbn-links-area {
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(139, 92, 246, 0.08);
    padding-top: 1.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.pbn-links-area span {
    user-select: none;
}

.pbn-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.pbn-link:hover {
    color: var(--accent-purple);
    border-bottom-color: rgba(139, 92, 246, 0.3);
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        padding-top: 2rem;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .cta-group {
        justify-content: center;
    }
    .hero-svg-cloud {
        width: 250px;
        height: 250px;
    }
    .hero-title {
        font-size: 3.25rem;
    }
    /* Pricing card row layout fallback on tablets - still rows but wrap allowed */
    .pricing-row {
        justify-content: center;
    }
    .pricing-card {
        flex: 1 1 45%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 1.5rem;
    }
    .nav-container {
        padding: 1rem 1.5rem;
    }
    nav ul {
        display: none; /* simple hidden for brevity, can enhance with menu */
    }
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }
    /* Pricing card row layout goes full column on small devices */
    .pricing-row {
        flex-direction: column;
        align-items: center;
    }
    .pricing-card {
        width: 100%;
        max-width: 100%;
        flex: none;
    }
    .pricing-card.popular {
        transform: none;
    }
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
