/* ============================================
   OCTOPODD - Modern Static Site Stylesheet
   Color scheme: Dark with blue/teal accents
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --text-muted: #6b6b80;
    --accent: #3b82f6;
    --accent-hover: #60a5fa;
    --accent-glow: rgba(59, 130, 246, 0.3);
    --accent-green: #22c55e;
    --accent-red: #ef4444;
    --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #111118 100%);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px var(--accent-glow);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-logo: 'Poppins', 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
    --header-height: 72px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 900px;
}

/* ---------- Header / Navigation ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 9998;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo img {
    height: 40px;
    width: auto;
    border-radius: 0;
}

.site-logo:hover {
    color: var(--text-primary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    margin-left: 12px;
}

.lang-switcher-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
}

.lang-switcher-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    padding: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    min-width: 140px;
    z-index: 100;
}

.lang-dropdown.active {
    display: block;
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-radius: 6px;
    transition: all var(--transition);
}

.lang-dropdown a:hover,
.lang-dropdown a.active {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.5) 0%,
        rgba(10, 10, 15, 0.3) 40%,
        rgba(10, 10, 15, 0.7) 80%,
        rgba(10, 10, 15, 1) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    padding: 2rem 24px;
}

.hero-content h1 {
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #fff 0%, #a0a0b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px var(--accent-glow), var(--shadow-md);
    color: #fff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.85rem;
}

/* ---------- Sections ---------- */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    margin-bottom: 1rem;
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

/* ---------- Feature Sections ---------- */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 80px 0;
}

.feature-block:nth-child(even) {
    direction: rtl;
}

.feature-block:nth-child(even) > * {
    direction: ltr;
}

.feature-text h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-text p {
    margin-bottom: 0.8rem;
}

.feature-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-media img,
.feature-media .gif-container {
    max-height: 500px;
    object-fit: contain;
}

.feature-media .gif-container {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.gif-container {
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

.gif-container img {
    border-radius: 0;
    box-shadow: none;
}

/* Phone mockup style for app screenshots */
.phone-frame {
    position: relative;
    max-width: 280px;
    margin: 0 auto;
    border-radius: 36px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(59, 130, 246, 0.1);
    background: #000;
}

.phone-frame img {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
}

/* ---------- Cards Grid ---------- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all var(--transition);
}

.card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.card h4 {
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.card p {
    font-size: 0.9rem;
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
}

/* ---------- Pricing Section ---------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    background: var(--gradient-accent);
    z-index: -1;
    opacity: 0.15;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.pricing-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-features {
    margin: 1.5rem 0 2rem;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .check {
    color: var(--accent-green);
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-features .cross {
    color: var(--text-muted);
    font-weight: 700;
    flex-shrink: 0;
    opacity: 0.4;
}

/* ---------- Distributors ---------- */
.distributor-card {
    display: flex;
    gap: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 1.5rem;
    align-items: center;
    transition: all var(--transition);
}

.distributor-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.distributor-logo {
    flex-shrink: 0;
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.distributor-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: brightness(0.95);
}

.distributor-info h4 {
    margin-bottom: 0.5rem;
}

.distributor-info a.website {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 0.8rem;
    font-weight: 500;
    font-size: 0.9rem;
}

/* ---------- News / Articles ---------- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all var(--transition);
}

.news-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.news-card .news-date {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.news-card p {
    font-size: 0.9rem;
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: var(--bg-card);
    transition: all var(--transition);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-main);
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question .faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    font-size: 1.1rem;
    transition: transform var(--transition), background var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 600px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ---------- Contact Form ---------- */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 1.2rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-info .contact-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-sm);
    font-weight: 500;
    margin-top: 1rem;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23e2e8f0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 10px;
}

.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group select:-webkit-autofill,
.form-group textarea:-webkit-autofill {
    -webkit-text-fill-color: var(--text-primary);
    -webkit-box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.04) inset;
    transition: background-color 5000s ease-in-out 0s;
}

.form-message {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--accent-green);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--accent-red);
}

/* ---------- Support Page ---------- */
.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.support-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.support-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all var(--transition);
}

.support-category:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.support-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-color);
}

.support-category-header i {
    font-size: 1.3rem;
    color: var(--accent);
    width: 24px;
    text-align: center;
}

.support-category-header h3 {
    font-size: 1.15rem;
    color: var(--accent);
    margin: 0;
}

.support-article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.support-article-list li {
    border-bottom: 1px solid var(--border-color);
}

.support-article-list li:last-child {
    border-bottom: none;
}

.support-article-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 4px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition);
    font-size: 0.9rem;
}

.support-article-list a:hover {
    color: var(--text-primary);
    padding-left: 10px;
}

.support-article-list a i {
    font-size: 0.7rem;
    opacity: 0;
    transition: all var(--transition);
    transform: translateX(-6px);
}

.support-article-list a:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* ---------- Support Article Page ---------- */
.page-header-compact {
    padding: 120px 0 40px;
    text-align: left;
}

.page-header-compact h1 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 0;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.breadcrumb-sep {
    color: var(--text-muted);
    font-size: 0.65rem;
}

.breadcrumb-category {
    color: var(--text-secondary);
}

.breadcrumb-current {
    color: var(--text-muted);
}

/* Article Layout */
.support-article-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Sidebar */
.support-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.sidebar-category h4 {
    font-size: 0.95rem;
    color: var(--accent);
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-category h4 i {
    font-size: 1rem;
}

.sidebar-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-category li {
    margin-bottom: 2px;
}

.sidebar-category li a {
    display: block;
    padding: 8px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.sidebar-category li a:hover {
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.08);
}

.sidebar-category li.active a {
    color: var(--accent);
    background: rgba(59, 130, 246, 0.12);
    font-weight: 600;
}

.sidebar-back {
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
}

/* Article Content */
.support-article-content {
    min-width: 0;
}

.article-body {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    line-height: 1.8;
}

.article-body h3 {
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    color: var(--text-primary);
}

.article-body h3:first-child {
    margin-top: 0;
}

.article-body h4 {
    font-size: 1.05rem;
    margin: 1.5rem 0 0.8rem;
    color: var(--accent);
}

.article-body p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.article-body ul, .article-body ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.article-body li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.article-body ul li ul {
    margin-top: 0.5rem;
}

.article-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.article-body a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

.article-body a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Article Prev/Next Navigation */
.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.article-nav-link {
    display: flex;
    flex-direction: column;
    padding: 1.2rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition);
}

.article-nav-link:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.article-nav-prev {
    align-items: flex-start;
}

.article-nav-next {
    align-items: flex-end;
    text-align: right;
}

.article-nav-label {
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-nav-title {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Article Images */
.article-images {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
    justify-items: center;
}

/* Text + Image side by side layout */
.article-text-image {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2rem;
    align-items: start;
    margin: 1rem 0;
}

.article-text-side p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.article-image-side img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

/* Image with arrow overlays */
.image-with-arrows {
    position: relative;
    display: inline-block;
    width: 100%;
}

.image-with-arrows img {
    display: block;
    width: 100%;
}

.arrow-overlay {
    position: absolute;
    width: 90px;
    height: 45px;
    pointer-events: none;
}

.arrow-deadtime {
    top: 22%;
    left: 10%;
}

.arrow-sensitivity {
    top: 55%;
    left: 10%;
}

.arrow-profile {
    top: 8%;
    right: 12%;
    left: auto;
    width: 35px;
    height: 35px;
}

.article-images-1 {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.article-images-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.article-images-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
}

.article-images img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: zoom-in;
    background: var(--bg-secondary);
}

.qrcode-container img {
    background: #ffffff;
    padding: 20px;
}

.store-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.store-badges a {
    display: block;
    transition: transform var(--transition), opacity var(--transition);
}

.store-badges a:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.store-badges img {
    height: 200px;
    width: auto;
    border-radius: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.article-images img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--border-hover);
}

/* Lightbox for zoomed images */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    cursor: zoom-out;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
}

/* ---------- Privacy / Legal Pages ---------- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-content h3 {
    font-size: 1.15rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.legal-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 0;
}

.legal-content ul li {
    padding: 4px 0 4px 20px;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.legal-content ul li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: var(--accent);
}

/* ---------- Page Header (for inner pages) ---------- */
.page-header {
    padding: 140px 0 60px;
    text-align: center;
    background: var(--gradient-dark);
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.page-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ---------- Footer ---------- */
.site-footer {
    padding: 60px 0 30px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-brand img {
    height: 32px;
    border-radius: 6px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* ---------- Advantages list ---------- */
.advantages-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.75rem;
}

.advantages-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.advantages-list li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: 700;
    flex-shrink: 0;
}

/* ---------- Two Column Layout ---------- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.two-col.reverse {
    direction: rtl;
}

.two-col.reverse > * {
    direction: ltr;
}

/* ---------- Animated Counter ---------- */
.counter-number {
    font-variant-numeric: tabular-nums;
}

/* ---------- Scroll Animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ---------- Product page image ---------- */
.product-hero-img {
    max-width: 400px;
    margin: 0 auto;
}

/* ---------- CTA Section ---------- */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(6, 182, 212, 0.05) 100%);
    border-top: 1px solid rgba(59, 130, 246, 0.15);
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 550px;
    margin: 0 auto 2rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .feature-block {
        gap: 3rem;
    }
    
    .contact-section {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .support-article-layout {
        grid-template-columns: 240px 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        height: calc(100vh - var(--header-height));
        height: calc(100dvh - var(--header-height));
        flex-direction: column;
        background: rgba(10, 10, 15, 0.99);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 1.5rem;
        gap: 2px;
        transform: translateX(100%);
        transition: transform var(--transition);
        overflow-y: auto;
        z-index: 9999;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .main-nav a {
        font-size: 1rem;
        padding: 14px 16px;
        width: 100%;
        border-radius: var(--radius-sm);
    }

    .main-nav a.active::after {
        display: none;
    }

    .lang-switcher {
        margin-left: 0;
        width: 100%;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }

    .lang-switcher-btn {
        width: 100%;
        justify-content: center;
    }

    .feature-block,
    .two-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-block:nth-child(even),
    .two-col.reverse {
        direction: ltr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .distributor-card {
        flex-direction: column;
        text-align: center;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .support-categories {
        grid-template-columns: 1fr;
    }

    .support-article-layout {
        grid-template-columns: 1fr;
    }

    .support-sidebar {
        position: static;
        order: 2;
    }

    .support-article-content {
        order: 1;
    }

    .article-body {
        padding: 1.5rem;
    }

    .article-nav {
        grid-template-columns: 1fr;
    }

    .article-nav-next {
        align-items: flex-start;
        text-align: left;
    }

    .page-header-compact {
        padding: 100px 0 30px;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }

    .article-images-2,
    .article-images-3 {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
    }

    .article-text-image {
        grid-template-columns: 1fr;
    }

    .article-image-side {
        max-width: 280px;
    }

    .section {
        padding: 60px 0;
        position: relative;
        z-index: 1;
    }

    main {
        position: relative;
        z-index: 1;
    }

    .page-header {
        padding: 110px 0 40px;
        position: relative;
        z-index: 1;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .phone-frame {
        max-width: 220px;
    }

    .product-hero-img {
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .advantages-list {
        grid-template-columns: 1fr;
    }
}

/* ---------- Training cards ---------- */
.training-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.training-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.training-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.training-card h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.training-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.training-card ul li {
    padding: 0.4rem 0 0.4rem 1.2rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.training-card ul li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: var(--accent);
}

@media (max-width: 900px) {
    .training-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .training-cards {
        grid-template-columns: 1fr;
    }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
