/* ========== DESIGN SYSTEM ========== */
:root {
    --blue: #2596be;
    --blue-dark: #1e7da0;
    --blue-light: #e8f4f8;
    --purple: #8967F3;
    --purple-dark: #5C3BC4;
    --cyan: #53C5D5;
    --dark: #1B1C1F;
    --dark-section: #22242B;
    --light: #FAFAFA;
    --white: #FFFFFF;
    --text: #222222;
    --text-body: #555555;
    --text-light: #888888;
    --border: #e8e8e8;
    --gradient: linear-gradient(135deg, #8967F3, #53C5D5);
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-hover: 0 12px 40px rgba(0,0,0,0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px; color: var(--text-body); line-height: 1.7;
    background: var(--white); overflow-x: hidden;
}

h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 600; color: var(--text); line-height: 1.15; }
h2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 600; color: var(--text); line-height: 1.2; }
h3 { font-size: 22px; font-weight: 600; color: var(--text); line-height: 1.3; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.label {
    font-size: 11px; text-transform: uppercase; letter-spacing: 2px;
    color: var(--blue); font-weight: 600; margin-bottom: 16px; display: inline-block;
}

.gradient-text {
    background: var(--gradient); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
}

.section { padding: 100px 0; }
.section-light { background: var(--light); }
.section-white { background: var(--white); }

.btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px;
    border-radius: 50px; font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px; font-weight: 600; text-decoration: none;
    transition: all 0.3s ease; cursor: pointer; border: none;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,150,190,0.3); }
.btn-gradient { background: var(--gradient); color: var(--white); }
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(137,103,243,0.3); }
.btn-white { background: var(--white); color: var(--text); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--white); transform: translateY(-2px); }

.card {
    background: var(--white); border-radius: 16px; border: 1px solid var(--border);
    box-shadow: var(--shadow); transition: all 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.link-arrow {
    color: var(--blue); text-decoration: none; font-weight: 600; font-size: 15px;
    transition: color 0.3s ease; display: inline-flex; align-items: center; gap: 6px;
}
.link-arrow:hover { color: var(--blue-dark); }

/* ========== NAVBAR ========== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); border-bottom: 1px solid var(--border); }
.navbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px; max-width: 1140px; margin: 0 auto; padding: 0 24px;
}
.navbar .logo { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-body); font-size: 15px; font-weight: 500; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { margin-left: 16px; }
.nav-cta .btn { padding: 10px 24px; font-size: 14px; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); transition: all 0.3s ease; border-radius: 2px; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
    display: none; position: fixed; top: 72px; left: 0; right: 0;
    background: var(--white); padding: 24px; box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-bottom: 1px solid var(--border); z-index: 999;
}
.mobile-menu.active { display: block; }
.mobile-menu a { display: block; padding: 12px 0; text-decoration: none; color: var(--text-body); font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--blue); }
.mobile-menu .btn { margin-top: 16px; width: 100%; justify-content: center; }

/* ========== HERO ========== */
.hero {
    background: var(--dark); padding: 160px 0 100px; position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; bottom: -200px; right: -100px; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(137,103,243,0.1) 0%, transparent 70%); pointer-events: none;
}
.hero::after {
    content: ''; position: absolute; bottom: -150px; left: -100px; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(83,197,213,0.07) 0%, transparent 70%); pointer-events: none;
}
.hero-content { max-width: 760px; }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero-subtitle { color: rgba(255,255,255,0.65); font-size: 17px; line-height: 1.7; max-width: 700px; }

/* ========== USE CASE CONTENT ========== */
.use-case-content { max-width: 780px; }
.use-case-content h2 { margin-bottom: 28px; }
.use-case-content p { margin-bottom: 16px; font-size: 16px; }

.results-box {
    border-left: 4px solid var(--blue); background: var(--blue-light);
    border-radius: 0 12px 12px 0; padding: 28px 32px; margin-top: 32px; margin-bottom: 24px;
}
.results-box ul { list-style: none; }
.results-box ul li {
    padding: 6px 0; font-size: 15px; color: var(--text);
    display: flex; align-items: flex-start; gap: 10px;
}
.results-box ul li::before {
    content: '';
    display: inline-block; width: 8px; height: 8px; border-radius: 50%;
    background: var(--blue); flex-shrink: 0; margin-top: 8px;
}

.case-links { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 8px; }

/* ========== CTA BLUE ========== */
.cta-blue { background: var(--blue); padding: 80px 0; }
.cta-blue-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-blue-inner h2 { color: var(--white); margin-bottom: 20px; }
.cta-blue-inner p { color: rgba(255,255,255,0.85); margin-bottom: 32px; font-size: 17px; }
.cta-blue-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; align-items: center; }
.cta-blue-buttons .link-arrow { color: rgba(255,255,255,0.8); }
.cta-blue-buttons .link-arrow:hover { color: var(--white); }

/* ========== INTERACTIVE HOVER BUTTON ========== */
.interactive-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 48px;
    padding: 8px 32px;
    border-radius: 50px;
    border: 1px solid var(--border, #e8e8e8);
    background: var(--white, #fff);
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text, #222);
}

.interactive-btn .btn-default-text {
    display: inline-block;
    transform: translateX(2px);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}
.interactive-btn:hover .btn-default-text {
    transform: translateX(48px);
    opacity: 0;
}

.interactive-btn .btn-hover-text {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    color: #fff;
    transform: translateX(48px);
    opacity: 0;
    transition: all 0.3s ease;
}
.interactive-btn:hover .btn-hover-text {
    transform: translateX(-2px);
    opacity: 1;
}

.interactive-btn .btn-hover-text svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.interactive-btn .btn-circle {
    position: absolute;
    left: 20%;
    top: 40%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue, #2596be);
    transition: all 0.3s ease;
    z-index: 1;
}
.interactive-btn:hover .btn-circle {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    transform: scale(1.8);
}

.interactive-btn.btn-dark-variant {
    border-color: rgba(255,255,255,0.2);
    background: transparent;
    color: #fff;
}
.interactive-btn.btn-dark-variant .btn-circle {
    background: #fff;
}
.interactive-btn.btn-dark-variant .btn-hover-text {
    color: var(--blue, #2596be);
}

.interactive-btn.btn-nav {
    min-width: 170px;
    height: 42px;
    padding: 6px 28px;
    font-size: 14px;
}
.interactive-btn.btn-nav .btn-circle {
    left: 10%;
    top: 35%;
}
.interactive-btn.btn-nav .btn-default-text {
    transform: translateX(0);
}
.interactive-btn.btn-nav:hover .btn-default-text {
    transform: translateX(40px);
}
.interactive-btn.btn-nav .btn-hover-text {
    transform: translateX(40px);
}
.interactive-btn.btn-nav:hover .btn-hover-text {
    transform: translateX(0);
}

.mobile-menu .interactive-btn {
    width: 100%;
    margin-top: 16px;
}

/* ========== FOOTER ========== */
.footer { background: var(--dark); padding: 80px 0 0; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer .logo { height: 32px; width: auto; margin-bottom: 16px; }
.footer-tagline { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.6; }
.footer-col h4 { color: var(--white); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 14px; transition: color 0.3s ease; }
.footer-col ul li a:hover { color: var(--blue); }
.footer-col p { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 13px; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.35); text-decoration: none; font-size: 13px; transition: color 0.3s ease; }
.footer-bottom-links a:hover { color: var(--blue); }

/* ========== FAQ ========== */
.faq-list { margin-top: 40px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.faq-item p { font-size: 15px; color: var(--text-body); line-height: 1.7; }

/* ========== DEFINITION BLOCKS (AI SEO) ========== */
.definition-block {
    background: var(--blue-light);
    border-left: 4px solid var(--blue);
    border-radius: 0 12px 12px 0;
    padding: 28px 32px;
    margin: 32px 0;
}
.definition-block dt {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}
.definition-block dd {
    font-size: 16px;
    color: var(--text-body);
    line-height: 1.7;
}

/* ========== HOW-TO STEPS (AI SEO) ========== */
.howto-steps { counter-reset: step; margin: 32px 0; }
.howto-step {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}
.howto-step:last-child { border-bottom: none; }
.howto-step::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}
.howto-step-content h3 { font-size: 18px; margin-bottom: 8px; }
.howto-step-content p { font-size: 15px; color: var(--text-body); line-height: 1.7; }

/* ========== COMPARISON TABLES (AI SEO) ========== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-size: 15px;
}
.comparison-table th {
    background: var(--dark);
    color: var(--white);
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
}
.comparison-table td {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text-body);
}
.comparison-table tr:nth-child(even) { background: var(--light); }
.comparison-table tr:hover { background: var(--blue-light); }

/* ========== STATS BLOCKS (AI SEO) ========== */
.stat-cite {
    background: var(--light);
    border-left: 4px solid var(--blue);
    padding: 20px 28px;
    margin: 24px 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.5;
}
.stat-cite cite {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-light);
    font-style: normal;
    margin-top: 8px;
}

/* ========== FAQ DROPDOWN ========== */
.faq-dropdown { margin-top: 32px; }
.faq-dropdown-item {
    border-bottom: 1px solid var(--border);
}
.faq-dropdown-item:last-child { border-bottom: none; }
.faq-dropdown-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    line-height: 1.4;
    gap: 16px;
}
.faq-dropdown-question:hover { color: var(--blue); }
.faq-dropdown-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.faq-dropdown-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-light);
    stroke-width: 2.5;
    fill: none;
}
.faq-dropdown-item.active .faq-dropdown-icon {
    transform: rotate(180deg);
}
.faq-dropdown-item.active .faq-dropdown-icon svg {
    stroke: var(--blue);
}
.faq-dropdown-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 0;
}
.faq-dropdown-item.active .faq-dropdown-answer {
    max-height: 500px;
    padding: 0 0 20px 0;
}
.faq-dropdown-answer p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.7;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .section { padding: 60px 0; }
    .hero { padding: 120px 0 80px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .cta-blue { padding: 60px 0; }
    .cta-blue-buttons { flex-direction: column; align-items: center; }
    .results-box { padding: 20px 24px; }
    .comparison-table { font-size: 13px; }
    .comparison-table th, .comparison-table td { padding: 10px 12px; }
    .definition-block { padding: 20px 24px; }
}
