/* Stripe / Linear / Vercel / Notion inspired SaaS redesign */

:root {
    --brand: #635BFF;
    --brand-hover: #4F46E5;
    --brand-soft: #F0EDFF;
    --accent: #0070F3;
    --text: #111111;
    --text-light: #666666;
    --text-muted: #999999;
    --text-inverse: #FFFFFF;
    --bg-white: #FFFFFF;
    --bg-subtle: #F9FAFB;
    --bg-alt: #F5F5F7;
    --border: #E5E7EB;
    --hero-start: #0A0A0A;
    --hero-end: #1a1a2e;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-btn: 8px;
    --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 6px 12px rgba(0,0,0,0.02);
    --shadow-card-hover: 0 4px 12px rgba(0,0,0,0.08), 0 16px 32px rgba(0,0,0,0.04);
    --shadow-button: 0 2px 8px rgba(99,91,255,0.3);
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --page-margin: 64px;
    --section-space: 80px;
    --section-space-lg: 120px;
    --card-padding: 28px 32px;
    --max-width: 1200px;
    --primary: #635BFF;
    --text2: #666666;
}

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

html {
    scroll-behavior: smooth;
    background: var(--bg-white);
}

body {
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
    color: var(--text);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition), border-color var(--transition), background-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img,
svg {
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--page-margin);
}

/* Buttons */
.btn,
.copy-btn,
.contact-link,
.subscribe-btn,
.consult-btn,
.lang-btn,
.filter-btn {
    border-radius: var(--radius-btn);
    transition: color var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 20px;
    border: 1px solid transparent;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.btn:hover,
.subscribe-btn:hover,
.copy-btn:hover,
.contact-link:hover,
.consult-btn:hover {
    transform: translateY(-1px);
}

.btn-primary,
.subscribe-btn,
.consult-btn {
    background: var(--brand);
    color: var(--text-inverse);
    box-shadow: var(--shadow-button);
}

.btn-primary:hover,
.subscribe-btn:hover,
.consult-btn:hover {
    background: var(--brand-hover);
    box-shadow: 0 4px 12px rgba(99,91,255,0.35);
}

.btn-outline {
    border-color: var(--border);
    background: transparent;
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--bg-white);
}

/* Navigation */
.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    background: rgba(255,255,255,0.82);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    color: var(--text);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.logo:hover {
    color: var(--brand);
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-btn);
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand);
    background: var(--brand-soft);
}

.lang-switch,
.mobile-lang {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-subtle);
}

.lang-btn {
    min-height: 30px;
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 600;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--bg-white);
    color: var(--brand);
    box-shadow: var(--shadow-card);
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    background: var(--bg-white);
}

.mobile-menu-btn span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
}

.mobile-menu {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    z-index: 99;
    display: none;
    padding: 12px 24px 24px;
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.mobile-menu.show {
    display: block;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 16px;
    font-weight: 500;
}

.mobile-menu a:hover {
    color: var(--brand);
}

.mobile-menu a:last-of-type {
    border-bottom: 0;
}

.mobile-lang {
    margin-top: 12px;
}

/* Hero */
.hero,
.page-hero {
    position: relative;
    overflow: hidden;
    margin-top: 72px;
    background:
        radial-gradient(circle at 82% 12%, rgba(99,91,255,0.20), transparent 34%),
        radial-gradient(circle at 10% 88%, rgba(139,92,246,0.15), transparent 36%),
        linear-gradient(135deg, var(--hero-start) 0%, var(--hero-end) 100%);
    color: var(--text-inverse);
}

.hero {
    padding: 120px 0 120px;
}

.hero .container,
.page-hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    max-width: 600px;
    margin-bottom: 16px;
    color: var(--text-inverse);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    max-width: 680px;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.82);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
}

.hero-desc {
    max-width: 660px;
    margin-bottom: 32px;
    color: rgba(255,255,255,0.70);
    font-size: 16px;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hero .btn-outline,
.page-hero .btn-outline {
    border-color: rgba(255,255,255,0.36);
    color: var(--text-inverse);
}

.hero .btn-outline:hover,
.page-hero .btn-outline:hover {
    border-color: var(--text-inverse);
    color: var(--text-inverse);
    background: rgba(255,255,255,0.08);
}

/* Sections */
.why-us,
.services,
.youtube-section,
.platforms-section,
.how,
.faq-section,
.contact-section {
    padding: var(--section-space) 0;
    background: var(--bg-white);
}

.services,
.platforms-section,
.contact-section {
    background: var(--bg-subtle);
}

.youtube-section,
.faq-section {
    background: var(--bg-alt);
}

.section-title {
    margin-bottom: 32px;
    color: var(--text);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.contact-desc,
.platforms-label {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
}

.contact-desc {
    max-width: 640px;
    margin: -20px 0 32px;
}

/* Shared card surfaces */
.why-list,
.faq-list,
.contact-cards,
.contact-icons,
.guides-grid,
.youtube-channel,
.video-placeholder,
.platform-item,
.how-item,
.service-block,
form,
.details-block,
.table-wrap {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-white);
    box-shadow: var(--shadow-card);
}

.why-list,
.contact-cards,
.contact-icons,
.faq-list {
    overflow: hidden;
}

.why-item,
.contact-card,
.contact-icon-item,
.guide-item,
.faq-item {
    position: relative;
    background: var(--bg-white);
}

.why-item::after,
.contact-card::after,
.contact-icon-item::after,
.guide-item::after,
.faq-item::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 32px;
    height: 1px;
    background: var(--border);
}

.why-item:last-child::after,
.contact-card:last-child::after,
.contact-icon-item:last-child::after,
.guide-item:last-child::after,
.faq-item:last-child::after {
    display: none;
}

.why-list,
.contact-cards,
.contact-icons {
    display: flex;
    flex-direction: column;
}

.why-item,
.guide-item,
.contact-card,
.contact-icon-item {
    transition: color var(--transition), border-color var(--transition), background-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-height: 88px;
    padding: var(--card-padding);
}

.why-item:hover,
.service-card:hover,
.youtube-channel:hover,
.platform-item:hover,
.contact-card:hover,
.contact-icon-item:hover,
.guide-item:hover,
.price-card:hover,
.feature-item:hover,
.info-block:hover,
.details-block:hover,
.how-item:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.why-item-icon,
.service-icon,
.guide-icon,
.price-emoji,
.feature-icon,
.contact-emoji {
    color: var(--brand);
}

.why-item-icon,
.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--brand-soft);
}

.why-item-icon svg {
    width: 22px;
    height: 22px;
}

.why-item-body h3,
.how-item h3,
.service-card h3,
.feature-name,
.channel-name,
.guide-item strong {
    color: var(--text);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.why-item-body p,
.how-item p,
.service-card p,
.feature-desc,
.channel-meta,
.guide-item small,
.service-intro,
.price-note {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

/* Service cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.service-card {
    display: block;
    min-height: 100%;
    padding: var(--card-padding);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-white);
    box-shadow: var(--shadow-card);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition), background-color var(--transition);
}

.service-card:hover {
    border-color: var(--brand);
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
}

/* Guides, media and platform chips */
.guides-section {
    margin-top: var(--section-space);
}

.guides-title {
    margin-bottom: 16px;
    color: var(--text);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 16px;
}

.guide-item {
    display: flex;
    gap: 14px;
    min-height: 96px;
    padding: 20px;
}

.guide-item:hover strong,
.guides-more:hover,
.related-links a:hover,
.contact-list a:hover,
.video-placeholder a:hover {
    color: var(--brand);
}

.guide-icon {
    width: 28px;
    min-width: 28px;
    font-size: 20px;
    line-height: 1.3;
}

.guide-item div {
    display: grid;
    gap: 4px;
}

.guide-item strong {
    font-size: 16px;
}

.guides-more,
.related-links a,
.contact-list a,
.video-placeholder a {
    color: var(--accent);
    font-size: 14px;
    font-weight: 500;
}

.youtube-channel {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    transition: box-shadow var(--transition), transform var(--transition);
}

.channel-avatar {
    width: 48px;
    min-width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--brand);
}

.channel-avatar svg,
.subscribe-btn svg {
    width: 22px;
    height: 22px;
    fill: #FFFFFF;
}

.channel-info {
    flex: 1;
    min-width: 0;
}

.channel-name {
    font-size: 20px;
}

.channel-meta {
    display: flex;
    gap: 10px;
}

.subscribe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    font-size: 14px;
    font-weight: 600;
}

.video-placeholder {
    margin-top: 16px;
    padding: 24px;
    color: var(--text-light);
    font-size: 14px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.video-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-white);
    box-shadow: var(--shadow-card);
}

.video-thumb:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.video-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(17,17,17,0.72);
    color: #FFFFFF;
    font-size: 16px;
    transform: translate(-50%, -50%);
    transition: background-color var(--transition);
}

.video-thumb:hover .play-icon {
    background: var(--brand);
}

.platforms-label {
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.platforms-grid,
.app-grid {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.platform-item,
.app-tag {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition), background-color var(--transition);
}

.platform-item:hover,
.app-tag:hover {
    border-color: var(--brand);
}

.platform-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* How */
.how-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.how-item {
    min-height: 144px;
    padding: var(--card-padding);
    transition: box-shadow var(--transition), transform var(--transition);
}

.how-item h3 {
    margin-bottom: 12px;
}

/* FAQ */
.faq-list {
    max-width: 860px;
}

.faq-item {
    border: 0;
}

.faq-item summary,
.details-block summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding: 0 24px;
    list-style: none;
    cursor: pointer;
    color: var(--text);
    font-size: 16px;
    font-weight: 500;
    transition: color var(--transition), background-color var(--transition);
}

.faq-item summary::-webkit-details-marker,
.details-block summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after,
.details-block summary::after {
    content: "+";
    margin-left: auto;
    color: var(--text-muted);
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    transition: color var(--transition);
}

.faq-item[open] summary::after,
.details-block[open] summary::after {
    content: "-";
    color: var(--brand);
}

.faq-item summary:hover,
.details-block summary:hover {
    color: var(--brand);
}

.faq-item summary:hover::after,
.details-block summary:hover::after {
    color: var(--brand);
}

.faq-item p {
    padding: 0 24px 20px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

.faq-item p a {
    color: var(--brand);
    font-weight: 500;
}

/* Contact */
.contact-cards {
    max-width: 860px;
}

.contact-card {
    min-height: 72px;
    display: grid;
    grid-template-columns: minmax(72px, 120px) 1fr auto;
    align-items: center;
    column-gap: 16px;
    padding: 14px 20px;
}

.contact-label {
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
}

.contact-value {
    min-width: 0;
    color: var(--text-light);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.copy-btn,
.contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    min-width: 58px;
    padding: 0 12px;
    border: 1px solid var(--border);
    background: var(--bg-white);
    color: var(--brand);
    font-size: 14px;
    font-weight: 600;
}

.copy-btn:hover,
.contact-link:hover {
    border-color: var(--brand);
    background: var(--brand-soft);
}

.contact-icons {
    max-width: 860px;
}

.contact-icon-item {
    min-height: 84px;
    display: grid;
    grid-template-columns: 48px minmax(90px, 140px) 1fr;
    align-items: center;
    column-gap: 16px;
    padding: 18px 24px;
}

.contact-icon-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--brand-soft);
    color: var(--brand);
}

.contact-icon-logo svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
}

.contact-icon-logo svg[fill="currentColor"] {
    fill: currentColor;
    stroke: none;
}

.contact-icon-label {
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
}

.contact-icon-value {
    color: var(--text-light);
    font-size: 14px;
    overflow-wrap: anywhere;
}

/* Footer and floating consult */
.footer {
    padding: 48px 0;
    background: var(--text);
    color: rgba(255,255,255,0.72);
}

.footer-brand,
.footer-links {
    margin-bottom: 16px;
}

.footer-name {
    margin-bottom: 4px;
    color: var(--text-inverse);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.footer-tagline,
.footer-links,
.footer-bottom {
    color: rgba(255,255,255,0.64);
    font-size: 14px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.footer-links p {
    width: 100%;
    margin-bottom: 2px;
}

.footer-links a:hover {
    color: var(--brand);
}

.float-consult {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 100;
}

.consult-btn {
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
}

.consult-popup {
    position: absolute;
    right: 0;
    bottom: 68px;
    min-width: 160px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.96);
    box-shadow: var(--shadow-card-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.consult-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.consult-popup a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
}

.consult-popup a:hover {
    color: var(--brand);
    background: var(--bg-subtle);
}

.consult-popup a:last-child {
    border-bottom: 0;
}

/* Detail pages */
.page-hero {
    padding: 80px 0;
}

.page-hero h1,
.contact-page h1 {
    max-width: 900px;
    margin-bottom: 16px;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.page-hero h1 {
    color: var(--text-inverse);
}

.page-hero p {
    max-width: 760px;
    color: rgba(255,255,255,0.70);
    font-size: 18px;
    line-height: 1.6;
}

.contact-page {
    padding: calc(72px + var(--section-space)) 0 var(--section-space);
    background: var(--bg-subtle);
}

.contact-page h1 {
    color: var(--text);
}

.contact-page > .container > p {
    max-width: 760px;
    margin-bottom: 32px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
}

.service-detail-page {
    padding: var(--section-space) 0;
    background: var(--bg-subtle);
}

.service-block {
    margin-bottom: 32px;
    padding: var(--card-padding);
    border-radius: var(--radius-lg);
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.service-block:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.service-block h2 {
    margin-bottom: 16px;
    color: var(--text);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
}

.service-block ul {
    list-style: none;
}

.service-block li {
    position: relative;
    padding: 10px 0 10px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
}

.service-block li:last-child {
    border-bottom: 0;
}

.service-block li::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 2px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
}

.price-box,
.info-block,
.details-block,
.related-articles,
.form-success {
    margin: 20px 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-alt);
}

.price-box {
    padding: 20px;
}

.price-box .label,
.info-block-label {
    margin-bottom: 6px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.price-box .value,
.price-card .price-value {
    color: var(--text);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.service-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.app-tag {
    border: 1px solid var(--border);
    background: var(--bg-white);
    box-shadow: var(--shadow-card);
}

/* Informational blocks and tables */
.info-block {
    padding: 20px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    transition: box-shadow var(--transition), transform var(--transition);
}

.info-block strong {
    color: var(--text);
    font-weight: 600;
}

.table-wrap {
    overflow-x: auto;
    margin: 20px 0;
}

.table-wrap table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background: var(--bg-white);
    font-size: 14px;
}

.table-wrap th,
.table-wrap td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.table-wrap th {
    color: var(--text);
    font-weight: 600;
    background: var(--bg-subtle);
}

.table-wrap td {
    color: var(--text-light);
}

.table-wrap tr:last-child td {
    border-bottom: 0;
}

.details-block {
    overflow: hidden;
    background: var(--bg-white);
    transition: box-shadow var(--transition), transform var(--transition);
}

.details-content {
    padding: 0 24px 20px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

.details-content ul {
    list-style: none;
}

.details-content li {
    border-bottom: 0;
}

/* Cards and lists used on service detail pages */
.price-cards,
.feature-grid,
.device-grid {
    display: grid;
    gap: 16px;
    margin: 20px 0;
}

.price-cards {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.device-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.price-card,
.feature-item,
.device-col {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-white);
    box-shadow: var(--shadow-card);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.price-card:hover,
.feature-item:hover {
    border-color: var(--brand);
}

.price-card {
    text-align: center;
}

.price-emoji,
.feature-icon {
    margin-bottom: 8px;
    font-size: 24px;
}

.price-name {
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
}

.price-desc {
    color: var(--text-light);
    font-size: 14px;
}

.device-col h4 {
    margin-bottom: 8px;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
}

.device-col li {
    padding: 4px 0;
    border-bottom: 0;
    color: var(--text-light);
    font-size: 14px;
}

.step-list {
    list-style: none;
    margin: 20px 0;
    counter-reset: steps;
}

.step-list li {
    min-height: 44px;
    position: relative;
    counter-increment: steps;
    padding: 8px 0 8px 44px;
    color: var(--text-light);
    font-size: 16px;
}

.step-list li::before {
    content: counter(steps);
    position: absolute;
    top: 8px;
    left: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-btn);
    background: var(--brand);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
}

.contact-list {
    overflow: hidden;
    list-style: none;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-white);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
    font-size: 14px;
}

.contact-list li:last-child {
    border-bottom: 0;
}

.contact-emoji {
    width: 24px;
}

.related-services,
.related-articles {
    margin-top: var(--section-space);
}

.related-services h3,
.related-articles h3 {
    margin-bottom: 16px;
    color: var(--text);
    font-size: 24px;
    font-weight: 600;
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.related-articles {
    padding: 20px;
}

/* Forms */
form {
    max-width: 860px;
    padding: var(--card-padding);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    outline: none;
    background: var(--bg-white);
    color: var(--text);
    font-size: 16px;
    line-height: 1.5;
    transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.form-group textarea {
    min-height: 132px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(99,91,255,0.14);
}

.form-submit {
    margin-top: 20px;
}

.form-submit .btn {
    width: 100%;
}

.form-success {
    max-width: 860px;
    padding: 28px 32px;
    text-align: center;
}

.form-success h3 {
    margin-bottom: 8px;
    color: var(--text);
    font-size: 24px;
    font-weight: 600;
}

.form-success p {
    color: var(--text-light);
}

@media (max-width: 980px) {
    .services-grid,
    .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guides-grid {
        grid-template-columns: 1fr;
    }

    .guide-item::after {
        left: 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --page-margin: 24px;
        --section-space: 64px;
        --section-space-lg: 80px;
        --card-padding: 24px;
    }

    .header-inner {
        min-height: 64px;
    }

    .logo {
        font-size: 18px;
    }

    .nav,
    .header .lang-switch {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu {
        top: 64px;
    }

    .hero,
    .page-hero {
        margin-top: 64px;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h1,
    .page-hero h1,
    .contact-page h1 {
        font-size: 40px;
    }

    .section-title {
        font-size: 32px;
    }

    .how-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        grid-template-columns: minmax(76px, 96px) 1fr auto;
        row-gap: 8px;
    }

    .contact-icon-item {
        grid-template-columns: 48px 1fr;
        row-gap: 4px;
    }

    .contact-icon-value {
        grid-column: 2;
    }

    .youtube-channel {
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .services-grid,
    .video-grid {
        grid-template-columns: 1fr;
    }

    .hero h1,
    .page-hero h1,
    .contact-page h1 {
        font-size: 36px;
    }

    .hero-btns {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .contact-card {
        grid-template-columns: 1fr auto;
    }

    .contact-label {
        grid-column: 1;
    }

    .contact-value {
        grid-column: 1 / 3;
    }

    .copy-btn,
    .contact-link {
        grid-column: 2;
        grid-row: 1;
    }

    .channel-meta {
        flex-direction: column;
        gap: 0;
    }

    .subscribe-btn {
        padding: 0 12px;
    }

    .footer-links {
        gap: 8px 14px;
    }
}
