/* Reset & Base Variables */
:root {
    --primary-color: #0062FF;
    --primary-hover: #004ecc;
    --secondary-color: #F0F4F8;
    --secondary-hover: #e2e8f0;
    --text-color: #1A202C;
    --text-light: #4A5568;
    --bg-color: #FFFFFF;
    --bg-light: #F7FAFC;
    --border-color: #E2E8F0;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.2s ease-in-out;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography & Utilities */
h1, h2, h3 { line-height: 1.2; font-weight: 700; margin-bottom: 0.5em; }
p { color: var(--text-light); }
.container { width: 92%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 4rem 0; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 2.5rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.btn-primary { background-color: var(--primary-color); color: #fff; }
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-1px); }
.btn-secondary { background-color: var(--secondary-color); color: var(--primary-color); }
.btn-secondary:hover { background-color: var(--secondary-hover); }
.btn-large { padding: 1rem 2rem; font-size: 1.1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; }
.btn-block { display: block; width: 100%; }

/* Layout Grid System (Mobile First) */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }

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

/* Cards */
.card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }

/* Header & Nav */
.header { border-bottom: 1px solid var(--border-color); padding: 1rem 0; background: #fff; position: sticky; top: 0; z-index: 100; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary-color); text-decoration: none; }

.main-nav { display: none; gap: 2rem; }
.main-nav a { color: var(--text-color); text-decoration: none; font-weight: 500; transition: var(--transition); }
.main-nav a:hover { color: var(--primary-color); }

@media (min-width: 900px) {
    .main-nav { display: flex; }
}

/* Hero Section (Left/Right Layout) */
.hero { padding: 4rem 0; text-align: left; background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%); overflow: hidden; }
.hero-container { display: grid; gap: 3rem; align-items: center; }
.hero-content { z-index: 2; }
.hero .headline { font-size: 2.2rem; margin-bottom: 1.5rem; color: #1a202c; }
.hero .sub-headline { font-size: 1.1rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-direction: column; gap: 1rem; }

@media (min-width: 768px) {
    .hero { padding: 6rem 0; }
    .hero-container { grid-template-columns: 1fr 1fr; }
    .hero .headline { font-size: 3.2rem; }
    .hero .sub-headline { font-size: 1.25rem; margin-bottom: 2.5rem; }
    .hero-actions { flex-direction: row; }
}

/* CSS Only Dynamic Visuals */
.hero-visual { position: relative; height: 350px; display: flex; align-items: center; justify-content: center; width: 100%; max-width: 500px; margin: 0 auto;}
.visual-bg-glow { position: absolute; width: 250px; height: 250px; background: var(--primary-color); filter: blur(70px); opacity: 0.15; border-radius: 50%; z-index: 0; }

.floating-card { position: absolute; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 1rem 1.2rem; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.06); border: 1px solid rgba(255,255,255,0.6); display: flex; align-items: center; gap: 1rem; z-index: 1; animation: float 6s ease-in-out infinite; width: 220px; }
.floating-card h4 { font-size: 0.95rem; margin-bottom: 0.2rem; color: var(--text-color); }
.floating-card p { font-size: 0.8rem; margin: 0; color: var(--text-light); }

.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #10B981; box-shadow: 0 0 8px #10B981; animation: pulse 2s infinite; flex-shrink: 0; }

.card-1 { top: 5%; right: 0%; animation-delay: 0s; }
.card-2 { top: 40%; left: 0%; animation-delay: -2s; }
.card-3 { bottom: 5%; right: 10%; animation-delay: -4s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Features */
.feature-card .icon { font-size: 3rem; margin-bottom: 1rem; }

/* Pricing */
.pricing-card { text-align: center; position: relative; }
.pricing-card.popular { border: 2px solid var(--primary-color); transform: scale(1.02); }
.pricing-card.popular:hover { transform: scale(1.05); }
.badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary-color); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; }
.plan-name { font-size: 1.25rem; color: var(--text-light); margin-bottom: 1rem; }
.plan-price { font-size: 2.5rem; font-weight: 800; color: var(--text-color); margin-bottom: 2rem; }
.plan-price span { font-size: 1rem; font-weight: normal; color: var(--text-light); }
.plan-features { list-style: none; text-align: left; margin-bottom: 2rem; }
.plan-features li { margin-bottom: 0.75rem; padding-left: 1.5rem; position: relative; }

/* FAQ */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border-color); border-radius: 8px; margin-bottom: 1rem; overflow: hidden; }
.faq-item summary { padding: 1.25rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--primary-color); transition: var(--transition); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 1.25rem 1.25rem 1.25rem; border-top: 1px solid var(--bg-light); margin-top: -5px; }

/* Review */
.review-card { font-style: italic; }
.reviewer { margin-top: 1.5rem; font-weight: 600; font-style: normal; color: var(--primary-color); }

/* Footer */
.footer { background-color: #1A202C; color: #A0AEC0; padding: 3rem 0; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-bottom: 2rem; }
.footer-links a { color: #E2E8F0; text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--primary-color); }

/* Static Pages (About, Terms, etc.) */
.page-header { background: var(--bg-light); padding: 3rem 0; border-bottom: 1px solid var(--border-color); text-align: center; margin-bottom: 3rem;}
.content-section { max-width: 800px; margin: 0 auto 5rem; padding: 0 1rem; }
.content-section h2 { margin-top: 2.5rem; margin-bottom: 1rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.5rem; }
.content-section p { margin-bottom: 1rem; }
.content-section ul { margin-bottom: 1rem; padding-left: 1.5rem; color: var(--text-light); }
.back-btn { margin-top: 2rem; }

/* SEO Article Cards */
.blog { background-color: var(--bg-light); }
.article-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.article-img { width: 100%; height: 180px; background: linear-gradient(135deg, var(--secondary-hover), var(--secondary-color)); display: flex; align-items: center; justify-content: center; font-size: 4rem; color: #a0aec0; user-select: none; }
.article-content { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.article-content h4 { font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--text-color); }
.article-content p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 1.5rem; flex: 1; line-height: 1.5; }
.read-more { margin-top: auto; color: var(--primary-color); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.read-more:hover { text-decoration: underline; }
