/* SSRDOG Style Sheet */
:root {
    --bg-start: #030d08;
    --bg-end: #081d12;
    --primary: #18e89f;
    --primary-glow: rgba(24, 232, 159, 0.35);
    --primary-dark: #0f9f6c;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --card-bg: rgba(10, 31, 20, 0.6);
    --card-border: rgba(24, 232, 159, 0.12);
    --card-border-hover: rgba(24, 232, 159, 0.4);
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans CJK SC", sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
    background-color: var(--bg-start);
    color: var(--text-main);
    line-height: 1.6;
}

body {
    background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-end) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Glowing Dots */
body::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 15%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(24, 232, 159, 0.08) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(24, 232, 159, 0.06) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}

h2 {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20%;
    right: 20%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

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

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(4, 15, 10, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(24, 232, 159, 0.1);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    gap: 0.5rem;
}

.logo-dot {
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    display: inline-block;
    animation: pulse 2s infinite;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.5rem 0.25rem;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.cta-nav {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #030d08 !important;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 0 15px var(--primary-glow);
}

.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--primary);
    color: #030d08 !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    position: relative;
}

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

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(120deg, #ffffff 60%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #030d08;
    box-shadow: 0 4px 20px var(--primary-glow);
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(24, 232, 159, 0.6);
}

.btn-secondary {
    background: rgba(24, 232, 159, 0.05);
    border: 1px solid var(--card-border);
    color: #ffffff;
}

.btn-secondary:hover {
    background: rgba(24, 232, 159, 0.12);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Glassmorphic Cards Container */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(24, 232, 159, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: var(--card-border-hover);
    box-shadow: 0 10px 30px rgba(24, 232, 159, 0.1);
}

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

/* Hero Right Card (Tech Spec Card) */
.tech-spec-card {
    background: rgba(10, 31, 20, 0.7);
    border: 1px solid rgba(24, 232, 159, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(24, 232, 159, 0.15);
    position: relative;
}

.tech-spec-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.tech-spec-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
}

.tech-spec-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.tech-spec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-spec-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tech-spec-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(24, 232, 159, 0.1);
    color: var(--primary);
    flex-shrink: 0;
}

.tech-spec-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.tech-spec-info p {
    font-size: 0.85rem;
}

/* Sections Global */
section {
    padding: 90px 0;
}

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

.section-desc {
    max-width: 600px;
    margin: -2rem auto 3rem;
    font-size: 1.05rem;
    text-align: center;
}

/* Advantage Section */
.advantage-card-icon {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    display: inline-block;
}

.advantage-card-tag {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(24, 232, 159, 0.1);
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid rgba(24, 232, 159, 0.2);
}

.advantage-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.advantage-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.advantage-bottom-btn {
    text-align: center;
    margin-top: 4rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: rgba(8, 25, 17, 0.7);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(24, 232, 159, 0.15);
}

.pricing-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: #030d08;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-header .price-desc {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

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

.pricing-features {
    margin: 2rem 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #e2e8f0;
}

.pricing-features li svg {
    color: var(--primary);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.pricing-btn {
    width: 100%;
}

/* Tutorials Section */
.tutorial-card {
    padding: 2rem;
}

.tutorial-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    margin-top: 1rem;
}

.tutorial-card p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.tutorial-icon {
    font-size: 2rem;
    color: var(--primary);
}

.tutorial-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tutorial-link:hover {
    gap: 0.75rem;
}

/* Review Section */
.review-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 3rem;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.review-score-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.review-score-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
}

.review-score-title {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    color: #e2e8f0;
}

.review-text-content {
    line-height: 1.8;
}

.review-text-content h3 {
    margin-bottom: 1rem;
}

.review-text-content p {
    margin-bottom: 1rem;
}

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

.article-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.article-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #ffffff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.2em;
}

.article-card p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.8em;
}

.article-card .read-more {
    margin-top: auto;
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.article-card .read-more:hover {
    gap: 0.6rem;
}

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

.feedback-card {
    padding: 2rem;
}

.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.feedback-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feedback-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(24, 232, 159, 0.2) 0%, rgba(24, 232, 159, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    border: 1px solid rgba(24, 232, 159, 0.2);
}

.feedback-stars {
    color: #fbbf24;
    font-size: 0.9rem;
}

.feedback-text {
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
}

/* FAQ Accordion Section */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(10, 31, 20, 0.45);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon-svg {
    transition: transform 0.3s ease;
    fill: currentColor;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item.active {
    border-color: var(--card-border-hover);
    box-shadow: 0 5px 15px rgba(24, 232, 159, 0.05);
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-item.active .faq-icon-svg {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

/* Footer Section */
footer {
    background: #020905;
    border-top: 1px solid rgba(24, 232, 159, 0.1);
    padding: 50px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.9rem;
    margin-top: 1rem;
    max-width: 320px;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    font-size: 0.9rem;
}

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

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Blog Article Layout */
.article-header {
    padding: 150px 0 60px;
    text-align: center;
    border-bottom: 1px solid rgba(24, 232, 159, 0.1);
    background: linear-gradient(180deg, rgba(3, 13, 8, 0.8) 0%, transparent 100%);
}

.article-header h1 {
    font-size: 2.5rem;
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    padding: 60px 0;
}

.article-content {
    background: rgba(10, 31, 20, 0.3);
    border: 1px solid var(--card-border);
    padding: 3rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #e2e8f0;
}

.article-body h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1.2rem;
    text-align: left;
    left: 0;
    transform: none;
    display: block;
}

.article-body h2::after {
    display: none;
}

.article-body h3 {
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
}

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

.article-body ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.article-body li {
    color: #cbd5e1;
}

.article-body strong {
    color: var(--primary);
}

.article-cta-box {
    margin: 3rem 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(24, 232, 159, 0.1) 0%, rgba(16, 185, 129, 0.03) 100%);
    border: 1px dashed var(--primary);
    border-radius: 12px;
    text-align: center;
}

.article-cta-box h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.article-cta-box p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.related-reading {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.related-reading h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.related-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.related-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-links a::before {
    content: '→';
    color: var(--primary);
}

.related-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: rgba(10, 31, 20, 0.45);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.8rem;
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.6rem;
}

.sidebar-cta {
    background: linear-gradient(135deg, rgba(24, 232, 159, 0.15) 0%, rgba(10, 31, 20, 0.6) 100%);
    border: 1px solid var(--primary);
    text-align: center;
}

.sidebar-cta h3 {
    color: var(--primary);
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-cta p {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

/* Keyframes */
@keyframes pulse {
    0% {
        box-shadow: 0 0 5px var(--primary-glow);
    }
    50% {
        box-shadow: 0 0 20px var(--primary);
    }
    100% {
        box-shadow: 0 0 5px var(--primary-glow);
    }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    .tech-spec-card {
        max-width: 500px;
        margin: 0 auto;
    }
    .article-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 1.8rem;
    }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(4, 15, 10, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 3rem;
        gap: 2rem;
        transition: var(--transition);
        border-top: 1px solid rgba(24, 232, 159, 0.1);
        z-index: 99;
    }
    .nav-menu.active {
        left: 0;
    }
    .menu-toggle {
        display: flex;
    }
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    .hero {
        padding: 120px 0 60px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .article-content {
        padding: 1.5rem;
    }
    .article-header h1 {
        font-size: 1.8rem;
    }
}
