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

:root {
    --primary: #ff4d4d;
    --primary-dark: #e04444;
    --secondary: #ffcccc;
    --bg-light: #fff5f5;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(255, 77, 77, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-main);
}

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

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

/* Dynamic Background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
}

.bg-bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 77, 77, 0.1) 0%, rgba(255, 77, 77, 0) 70%);
    filter: blur(40px);
    z-index: -1;
    animation: float 20s infinite alternate ease-in-out;
}

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

/* Header */
header {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 77, 77, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo img {
    height: 40px;
    width: auto;
}

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

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

.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #ff7675);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 77, 77, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 77, 77, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

/* Hero */
.hero {
    padding: 10rem 0 6rem;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #2d3436 0%, #ff4d4d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

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

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.pricing-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 77, 77, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

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

.pricing-card.popular::after {
    content: 'RECOMMENDED';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 700;
    transform: rotate(45deg);
}

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

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2rem;
}

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

.features-list {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: left;
}

.features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.features-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
}

/* Articles Section */
.articles {
    padding: 6rem 0;
}

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

.article-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.article-content {
    padding: 1.5rem;
}

.article-content h4 {
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.article-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}
/* Article Page Styles */
.article-page {
    padding-top: 8rem;
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 3rem;
}

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

.article-body {
    font-size: 1.1rem;
    color: #444;
}

.article-body h2 {
    margin: 2rem 0 1rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-cta {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    margin-top: 4rem;
    text-align: center;
    border: 1px dashed var(--primary);
}

/* Reviews */
.reviews {
    padding: 6rem 0;
}

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

.review-card {
    background: rgba(255, 255, 255, 0.5);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 77, 77, 0.1);
}

.stars {
    color: #f1c40f;
    margin-bottom: 1rem;
}

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

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    background: #2d3436;
    color: #dfe6e9;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.8rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    nav ul { display: none; }
}
