:root {
    --font-geist: 'Geist', sans-serif;
    --font-geist-mono: 'Geist Mono', monospace;
    --font-ebgaramond: 'EB Garamond', serif;
    --bg-dark: #0a0a0a;
    --bg-light: #ffffff;
    --text-light: #ffffff;
    --text-dark: #0a0a0a;
    --text-muted-dark: #dedede;
    --text-muted-light: #505050;
    --accent: #ff6b35;
    --hover: #cd0101;
    --animation-duration: 0.7s;
    --border-dark: #333;
    --border-light: #e0e0e0;
}

a {
    color: var(--accent);
    border-bottom: 1px solid var(--accent);
    transition: color 0.3s ease, border-bottom-color 0.3s ease, border-bottom-width 0.8s ease;
    text-decoration: none;
    }

    a:hover {
        color: var(--hover);
        border-bottom: 1px solid var(--hover);
        border-bottom-width: 4px;
    }

    em {
        font-family: var(--font-ebgaramond);
        
    }

    h1, h2, h3, h4, h5, h6 {
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    p {
        margin-bottom: 1rem;
    }

    ul li {
        margin-bottom: 2rem;
        line-height: 1.5;
    }

    .middot {
        font-style: normal;
        /* font-size: 4rem; */
        /* vertical-align: -0.5rem; */
        animation: fadeInOut 3s ease-in-out infinite alternate;
        color: var(--accent);
    }
    
    @keyframes fadeInOut {
        0% {
            opacity: 0;
        }
        100% {
            opacity: 1;
        }
    }
    
.light {
    --bg: var(--bg-light);
    --text: var(--text-dark);
    --text-muted: var(--text-muted-light);
    --border: var(--border-light);
}

.dark {
    --bg: var(--bg-dark);
    --text: var(--text-light);
    --text-muted: var(--text-muted-dark);
    --border: var(--border-dark);
}

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

/* Enable native smooth scrolling for in-page anchors */
html {
    scroll-behavior: smooth;
}

/* Provide a comfortable top offset when scrolling to elements with IDs */
[id] {
    scroll-margin-top: 80px;
}

body {
    font-family: var(--font-geist);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Shader hero wrapper and background */
.shader-hero {
    position: relative;
    isolation: isolate; /* ensure z-index stacking context */
    /* Full-bleed width while inside a centered .container */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    /* Cancel the top padding added by the parent .container so it hugs the top edge */
    margin-top: -2rem;
    /* Take full viewport height */
    min-height: 100vh;
    /* Desired spacing after the section */
    margin-bottom: 80px;
}

.shader-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none; /* let content be interactable */
}

/* Ensure the auto-inserted canvas fills the background container */
.shader-bg canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.shader-hero > :not(.shader-bg) {
    position: relative;
    z-index: 1;
    padding: 3rem; /* Increased inner padding to better match sections below */
}

label {
    cursor: help;
    border-bottom-style: dotted;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header {
    text-align: center;
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(-20px);
}

.logo {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.tagline {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #dadce0;
    letter-spacing: 0.05em;
    font-weight: 400;
    max-width: 30%;
    margin: 0;
}

@media (max-width: 768px) {
    .tagline {
        max-width: 80%;
        margin: 0 10%;
    }
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
    margin-bottom: 8rem;
}

.content-section {
    opacity: 0;
    transform: translateX(-30px);
}

.visual-section {
    opacity: 0;
    transform: translateX(30px);
}

.hero-text {
    color: #e8e8e8;
    font-size: clamp(2rem, 5.8vw, 10.8rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-family: var(--font-geist-mono);
}

.hero-text .highlight {
    color: var(--accent);
}

.highlight-bg {
    background-color: var(--accent);
    color: var(--bg);
    display: inline-block;
    padding: 0.2rem 0.5rem;
}

.hero-word {
    display: inline-block;
    /* Visible by default; animation will control inner letters */
    opacity: 1;
    transform: none;
    transform-origin: center bottom;
    font-family: var(--font-geist);
}

/* Moving letters effect (Tobias Ahlin #11) */
.ml11 .text-wrapper {
  position: relative;
  display: inline-block;
  padding-top: 0.1em;
  padding-right: 0.05em;
  padding-bottom: 0.15em;
}

.ml11 .line {
  opacity: 0;
  position: absolute;
  left: 0;
  height: 100%;
  width: 3px;
  background-color: currentColor;
  transform-origin: 0 50%;
}

.ml11 .line1 {
  top: 0;
  left: 0;
}

.ml11 .letter {
  display: inline-block;
  line-height: 1em;
  opacity: 0; /* hidden until animated in */
}

.description {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    line-height: 1.4;
    color: var(--text-muted);
    letter-spacing: 0.01em;
    max-width: 500px;
    margin-bottom: 3rem;
    font-family: var(--font-geist);
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: var(--text-dark);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid var(--text-dark);
}

.cta-button:hover {
    background: transparent;
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* Dark mode: ensure hover text uses accent color */
.dark .cta-button:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* Medium screens: keep the top-right controls compact */
@media (max-width: 900px) {
    .theme-toggle-container {
        gap: 0.35rem;
    }
    /* Hide the Telegram label to avoid overlay; keep icon visible */
    .telegram-button span {
        display: none;
    }
    .telegram-button {
        padding: 0.35rem; /* tighter around icon */
    }
}

.visual-section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.font-showcase {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.font-sample {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    border: 1px solid #333;
    background: rgba(255, 255, 255, 0.02);
    opacity: 0;
    transform: scale(0.95);
}

.font-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    min-width: 120px;
    letter-spacing: 0.05em;
}

.font-display {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.01em;
}

.geist-sans {
    font-family: var(--font-geist);
}

.geist-mono {
    font-family: var(--font-geist-mono);
}

/* Opt-in serif utility using EB Garamond */
.serif {
    font-family: var(--font-ebgaramond);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 1rem;
    margin-bottom: 6rem;
    position: relative;
    padding-top: 120px; /* Space for the sticky header */
}

.section-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--bg);
    padding: 1.5rem 0;
    margin-bottom: .2rem;
    margin-top: .2rem;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
}

.highlight {
    font-weight: 900;    
    color: var(--accent);
}

.section-header .highlight {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1;

    text-transform: uppercase;
}

.section-header .subtitle {
    font-size: 1.8rem !important;
    font-weight: normal;
    letter-spacing: 0.1em;
    color: #999;
    margin-left: 1rem;
    text-transform: lowercase;
    line-height: 1 !important;
    display: inline-flex;
    align-items: center;
transition: all 0.3s ease; 
}

.feature-card {
    padding: 2.5rem;
    border: 1px solid #333;
    background: rgba(255, 255, 255, 0.02);
    opacity: 0;
    transform: translateY(20px);
    margin-bottom: 2rem;
    transition: background-color 0.75s ease-in, border-color 0.75s ease-in, color 0.75s ease-in;
}

.feature-card:hover {
    background: rgba(255, 107, 53, 0.08); /* subtle accent wash */
    border-color: var(--accent);
}

.feature-card:hover .feature-title {
    color: var(--accent);
}

.feature-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.feature-description {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}

.stats-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6rem;
    padding: 3rem 0;
    border-top: 1px solid #333;
}

.stat {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Pricing Section Styles */
.pricing-section {
    margin-top: 8rem;
    padding-top: 6rem;
    border-top: 1px solid #333;
}

.pricing-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(20px);
}

.pricing-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.pricing-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.4;
}

.pricing-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    position: relative;
}

.currency-switch {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.currency-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-family: var(--font-geist-mono);
    letter-spacing: 0.02em;
}

.currency-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.currency-btn.active {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.discount-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: absolute;
    right: 0;
}

.discount-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-family: var(--font-geist-mono);
    cursor: pointer;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.discount-link:hover {
    opacity: 0.8;
}

.discount-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.discount-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    color: var(--text);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 4px;
    font-family: var(--font-geist-mono);
    outline: none;
    transition: border-color 0.3s ease;
    min-width: 150px;
}

.discount-input:focus {
    border-color: var(--accent);
}

.discount-apply-btn {
    background: var(--accent);
    border: 1px solid var(--accent);
    color: #000;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-family: var(--font-geist-mono);
    white-space: nowrap;
}

.discount-apply-btn:hover {
    opacity: 0.9;
}

.discount-message {
    font-size: 0.85rem;
    font-family: var(--font-geist-mono);
    white-space: nowrap;
}

.discount-message.success {
    color: var(--accent);
}

.discount-message.error {
    color: #ff4444;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-card {
    border: 1px solid #333;
    background: rgba(255, 255, 255, 0.02);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.pricing-card.featured {
    border-color: var(--accent);
    background: rgba(255, 107, 53, 0.05);
}

.pricing-card.featured::before {
    content: "РЕКОМЕНДУЕМ";
    position: absolute;
    top: 1.5rem;
    right: -4rem;
    background: var(--accent);
    color: var(--bg-dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.5rem 4rem;
    transform: rotate(45deg);
    letter-spacing: 0.05em;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.plan-price {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    margin: 1.5rem 0;
    letter-spacing: -0.02em;
    line-height: 1;
}

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    vertical-align: super;
    margin-right: 0.2rem;
}

.plan-price .period {
    font-size: 1rem;

.plan-description {
font-size: 0.9rem;
color: var(--text-muted);
margin-bottom: 2rem;
line-height: 1.5;
}

.plan-features {
list-style: none;
margin-bottom: 2rem;
flex-grow: 1;
}
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.plan-features li::before {
    content: "→";
    color: var(--accent);
    margin-right: 0.75rem;
    font-weight: 700;
}

.plan-button {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid;
}

.plan-button.primary {
    background: var(--accent);
    color: var(--bg-dark);
    border-color: var(--accent);
}

.plan-button.primary:hover {
    background: transparent;
    color: var(--accent);
    transform: translateY(-2px) scale(1.02);
}

.plan-button.secondary {
    background: transparent;
    color: var(--accent);
    border-color: var(--text-light);
}

.plan-button.secondary:hover {
    background: var(--text-light);
    color: var(--bg-dark);
    transform: translateY(-2px) scale(1.02);
}

@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 4rem;
        /* text-align: center; */
    }

    .container {
        padding: 1rem;
    }

    /* Adjust the shader hero top offset to match smaller container padding */
    .shader-hero {
        margin-top: -1rem;
    }

    /* Slightly reduce inner padding on small screens for better fit */
    .shader-hero > :not(.shader-bg) {
        padding: 2rem;
    }

    .font-sample {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .stats-section {
        flex-direction: column;
        gap: 2rem;
    }

    .three-column-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    /* Increase horizontal spacing for list items on mobile */
    ul li {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

@media (max-width: 768px) {
    .pricing-controls {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .discount-section {
        position: static;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    /* Prevent overlap with fixed theme/telegram bar on very small screens */
    .shader-hero {
        padding-top: 4.25rem; /* leaves space under the fixed controls */
    }

    /* Compact the Telegram button to icon-only to reduce width */
    .theme-toggle-container {
        gap: 0.25rem;
        top: 0.5rem;
        right: 0.5rem;
    }
    .telegram-button {
        padding: 0.35rem; /* tighter padding */
    }
    .telegram-button span {
        display: none; /* hide text label on very small screens */
    }
}

/* FAQ Section Styles */
.faq-section {
    margin-top: 8rem;
    padding-top: 6rem;
    border-top: 1px solid #333;
    opacity: 0;
    transform: translateY(20px);
}

.faq-container {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid #333;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.5s ease;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-item.active {
    border-color: var(--accent);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--accent);
}

/* Footer Section Styles */
.footer-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-top: 8rem;
    padding-top: 4rem;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 0;
    transform: translateY(20px);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent);
}

/* Three Column Section Styles */
.three-column-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin: 8rem 0;
    opacity: 0;
    transform: translateY(20px);
}

.column {
    display: flex;
    flex-direction: column;
}

.column-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.column-text {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.5;
    
}

.description-author {
    font-size: clamp(1rem, 1.4vw, 1.4rem);
    line-height: 1.5;
    color: var(--text-muted);
    
}

/* Grid utility: start at column 2 and span 2 columns (offset 1, width 2) */
.three-column-section .col-span-2-offset-1 {
    grid-column: 2 / span 2;
}

/* Reset on narrow screens where the grid collapses to single column */
@media (max-width: 768px) {
    .three-column-section .col-span-2-offset-1 {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .three-column-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Typography emphasis classes */
.text-massive {
    font-size: clamp(6rem, 15vw, 18rem);
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -0.03em;
}

.text-huge {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.02em;
}

.text-bold-spaced {
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Animation classes */
.animate {
    animation-duration: var(--animation-duration);
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Framer Motion-like animations for section headers */
.section-header {
    opacity: 0;
    transform: translateY(-10px);
}

.section-header.animated {
    animation: fadeInDown 0.5s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.section-header.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile adjustments for section headers */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    /* 30% smaller than desktop clamp(3rem, 8vw, 6rem) -> clamp(2.1rem, 5.6vw, 4.2rem) */
    .section-header .highlight {
        font-size: clamp(2.1rem, 5.6vw, 4.2rem);
    }

    /* Force subtitle to the next line and reduce size by ~30% */
    .section-header .subtitle {
        display: block;
        margin-left: 0;
        font-size: 1.26rem !important; /* 1.8rem * 0.7 */
        line-height: 1.1 !important;
    }
}

/* Comparison Grid Styles */
.comparison-section {
    margin: 6rem 0;
    position: relative;
    padding-top: 120px; /* Space for the sticky header */
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.comparison-header {
    text-align: center;
    margin-bottom: 3rem;
}

.comparison-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.comparison-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
}

.comparison-item {
    padding: 1.5rem;
    border: 1px solid #333;
    background: rgba(255, 255, 255, 0.02);
    opacity: 0;
    transform: translateY(20px);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.comparison-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.comparison-text {
    font-size: 1rem;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

/* Double Diamond Section Styles */
.double-diamond-section {
    margin: 6rem 0;
    position: relative;
    padding-top: 120px; /* Space for the sticky header */
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
}

.double-diamond-content {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
}

.double-diamond-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 1rem 2rem;
    margin-top: 1.5rem;
    list-style: none;
}

.double-diamond-list li::before {
    content: "→";
    color: var(--accent);
    margin-right: 0.5rem;
    font-weight: 700;
}

.double-diamond-figure img {
    width: 100%;
    height: auto;
    display: block;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
}

.double-diamond-caption {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0.75rem;
}

@media (max-width: 768px) {
    .double-diamond-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .double-diamond-list {
        grid-template-columns: 1fr;
    }
}

/* Theme Toggle Styles */
.theme-toggle-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.light .theme-toggle-container {
    background-color: rgba(0, 0, 0, 0.05);
}

.theme-toggle-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text);
}

.theme-toggle {
    position: relative;
    width: 48px;
    height: 24px;
    border-radius: 9999px;
    background-color: var(--border);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.theme-toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--bg);
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 12px;
}

.dark .theme-toggle-thumb {
    transform: translateX(24px);
}

.theme-toggle-icon {
    font-size: 12px;
    line-height: 1;
}

/* Telegram button next to theme toggle */
.telegram-button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid var(--border);
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.light .telegram-button {
    background-color: rgba(0, 0, 0, 0.04);
}

.telegram-button:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

.telegram-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
}

.telegram-button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/*
 * Table styles extracted from inline HTML
 */

.schedule-table {
    width: 100%;
    border-collapse: collapse;
}
/* ... */

.schedule-table th,
.schedule-table td {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--border);
}

.schedule-table th {
  text-align: left;
}

/* Payment note (moved from inline in index.html) */
.pricing-section > p.description {
  text-align: center;
  margin: 2rem auto;
  max-width: 50%;
  line-height: 1.5;
  font-size: 120%;
}

@media (max-width: 768px) {
  .pricing-section > p.description {
    max-width: 100% !important; /* override inline max-width on mobile */
  }
}
