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

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

:root {
    --bg: #ffffff;
    --bg-alt: #f5f5f7;
    --bg-card: #ffffff;
    --text: #1d1d1f;
    --text-secondary: #6e6e73;
    --border: #d2d2d7;
    --accent: #F40009;
    --accent-dark: #c20007;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-hover: 0 12px 40px rgba(0,0,0,0.1);
    --glass-bg: rgba(245, 245, 247, 0.6);
    --glass-border: rgba(210, 210, 215, 0.4);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #000000;
        --bg-alt: #1d1d1f;
        --bg-card: #1d1d1f;
        --text: #f5f5f7;
        --text-secondary: #a1a1a6;
        --border: #424245;
        --shadow: 0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
        --shadow-hover: 0 12px 40px rgba(0,0,0,0.5);
        --glass-bg: rgba(29, 29, 31, 0.6);
        --glass-border: rgba(66, 66, 69, 0.4);
    }
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── Hero ── */
.svc-hero {
    padding: 120px 0 80px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.svc-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(244,0,9,0.08) 0%, transparent 70%);
    pointer-events: none;
}

@media (prefers-color-scheme: dark) {
    .svc-hero::before {
        background: radial-gradient(circle, rgba(244,0,9,0.12) 0%, transparent 70%);
    }
}

.svc-hero .container {
    position: relative;
    max-width: 1080px;
}

.svc-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    margin-bottom: 28px;
}

.svc-hero-icon i {
    font-size: 36px;
    color: var(--accent);
}

.svc-hero h1 {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.svc-hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Sections ── */
.svc-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.svc-section:last-of-type {
    border-bottom: none;
}

.svc-section .container {
    max-width: 1080px;
}

.svc-section-header {
    margin-bottom: 48px;
    text-align: center;
}

.svc-section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 12px;
}

.svc-section-header h2 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.svc-section-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* ── Cards Grid ── */
.svc-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.svc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.svc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.svc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

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

.svc-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    margin-bottom: 20px;
}

.svc-card-icon i {
    font-size: 24px;
    color: var(--accent);
}

.svc-card h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.svc-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Secondary Grid (channels, results, use cases, etc.) ── */
.svc-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.svc-grid-item {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.35s ease;
}

.svc-grid-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.svc-grid-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    margin-bottom: 16px;
}

.svc-grid-icon i {
    font-size: 26px;
    color: var(--accent);
}

.svc-grid-item h3 {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.svc-grid-item p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ── Tech Tags ── */
.svc-tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.svc-tech-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 100px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.svc-tech-tag:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.svc-tech-tag i {
    font-size: 18px;
    color: var(--accent);
}

/* ── Process ── */
.svc-process {
    display: flex;
    gap: 0;
    position: relative;
    counter-reset: step;
}

.svc-process::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 36px;
    right: 36px;
    height: 2px;
    background: var(--border);
}

.svc-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 12px;
    counter-increment: step;
}

.svc-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border);
    font-size: 20px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: all 0.35s ease;
}

.svc-step:hover .svc-step-num {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
    transform: scale(1.1);
}

.svc-step h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.svc-step p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ── Featured ── */
.svc-featured {
    display: flex;
    align-items: center;
    gap: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.35s ease;
}

.svc-featured:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.svc-featured-badge {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.svc-featured-badge img {
    width: 88px;
    height: 88px;
    object-fit: contain;
}

.svc-featured-content {
    flex: 1;
}

.svc-featured-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 6px;
}

.svc-featured-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.svc-featured-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.svc-featured-stats {
    display: flex;
    gap: 24px;
}

.svc-featured-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.svc-featured-stat i {
    font-size: 14px;
    color: var(--accent);
}

/* ── Option Cards (publishing) ── */
.svc-option-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.svc-option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.svc-option-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.svc-option-card:hover::before {
    opacity: 1;
}

.svc-option-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    margin-bottom: 20px;
}

.svc-option-icon i {
    font-size: 24px;
    color: var(--accent);
}

.svc-option-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    align-self: flex-start;
}

.svc-option-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.svc-option-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── CTA ── */
.svc-cta {
    padding: 100px 0;
}

.svc-cta .container {
    max-width: 1080px;
}

.svc-cta-card {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 20px;
    padding: 48px 40px;
    display: flex;
    align-items: center;
    gap: 32px;
    box-shadow: 0 8px 32px rgba(244, 0, 9, 0.2);
    position: relative;
    overflow: hidden;
}

.svc-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.svc-cta-badge {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.svc-cta-badge i {
    font-size: 28px;
    color: #ffffff;
}

.svc-cta-content {
    flex-grow: 1;
}

.svc-cta-content h3 {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.svc-cta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.svc-cta-btn-wrap {
    flex-shrink: 0;
}

.svc-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    background: #ffffff;
    color: var(--accent);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.svc-cta-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.02);
    gap: 14px;
}

.svc-cta-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.svc-cta-btn:hover svg {
    transform: translateX(4px);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .svc-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .svc-process {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .svc-process::before {
        top: 0;
        bottom: 0;
        left: 50%;
        right: auto;
        width: 2px;
        height: 100%;
    }

    .svc-step {
        max-width: 280px;
    }

    .svc-featured {
        flex-direction: column;
        text-align: center;
    }

    .svc-featured-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .svc-hero {
        padding: 80px 0 56px;
    }

    .svc-hero h1 {
        font-size: 34px;
    }

    .svc-hero p {
        font-size: 16px;
    }

    .svc-section {
        padding: 56px 0;
    }

    .svc-section-header h2 {
        font-size: 28px;
    }

    .svc-cards {
        grid-template-columns: 1fr;
    }

    .svc-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 32px;
        gap: 24px;
    }

    .svc-cta-badge {
        margin: 0 auto;
    }

    .svc-cta-content {
        text-align: center;
    }

    .svc-cta-content h3 {
        font-size: 26px;
    }

    .svc-cta-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .svc-hero h1 {
        font-size: 28px;
    }

    .svc-grid-3 {
        grid-template-columns: 1fr;
    }

    .svc-tech-grid {
        gap: 8px;
    }

    .svc-tech-tag {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* ── FAQ Section ── */
.svc-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.svc-faq-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

:root .svc-faq-item {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .svc-faq-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.svc-faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

:root .svc-faq-item:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .svc-faq-item:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.svc-faq-item.open {
    border-color: rgba(244, 0, 9, 0.2);
}

.svc-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
    transition: color 0.2s ease;
}

.svc-faq-q:hover {
    background: transparent;
    color: var(--primary-color);
}

.svc-faq-q svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--text-secondary);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
    opacity: 0.6;
}

.svc-faq-item:hover .svc-faq-q svg {
    opacity: 1;
    color: var(--primary-color);
}

.svc-faq-item.open .svc-faq-q svg {
    transform: rotate(180deg);
    color: var(--primary-color);
    opacity: 1;
}

.svc-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.svc-faq-a-inner {
    padding: 0 28px 24px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin: 0 16px;
    padding-top: 16px;
}

:root .svc-faq-a-inner {
    border-top-color: rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .svc-faq-a-inner {
    border-top-color: rgba(255, 255, 255, 0.06);
}

.svc-faq-item.open .svc-faq-a {
    max-height: 300px;
}
