/* ========================================
   DeliDev Team Landing Page Styles
   Color Palette: Deep Teal + Mint + Amber
   ======================================== */

/* === CSS VARIABLES === */
:root {
    /* Base colors */
    --bg-dark: #0a1214;
    --bg-card: #0f1a1d;
    --bg-card-alt: #132427;
    
    /* Text colors */
    --text-primary: #e8f5f5;
    --text-secondary: #8fb3b8;
    --text-muted: #5a7a80;
    
    /* Accent colors - Deep Teal */
    --teal-deep: #0d4f4f;
    --teal-main: #115e59;
    --teal-light: #1a7a73;
    
    /* Accent colors - Mint */
    --mint-bright: #6ee7b7;
    --mint-soft: #a7f3d0;
    --mint-pale: #d1fae5;
    
    /* Accent colors - Amber */
    --amber-deep: #b45309;
    --amber-main: #d97706;
    --amber-bright: #f59e0b;
    --amber-light: #fbbf24;
    
    /* Gradients */
    --gradient-teal: linear-gradient(135deg, var(--teal-main), var(--teal-light));
    --gradient-mint: linear-gradient(135deg, var(--mint-bright), var(--mint-soft));
    --gradient-amber: linear-gradient(135deg, var(--amber-main), var(--amber-bright));
    --gradient-hero: linear-gradient(135deg, var(--teal-main), var(--mint-bright));
    
    /* Glows */
    --glow-teal: rgba(17, 94, 89, 0.5);
    --glow-mint: rgba(110, 231, 183, 0.4);
    --glow-amber: rgba(217, 119, 6, 0.4);
    
    /* Borders */
    --border: rgba(110, 231, 183, 0.1);
    --border-hover: rgba(110, 231, 183, 0.25);

    /* === JAPANESE-LEANING MINIMAL UI TUNING (keeps palette) === */
    --content-max: 1040px;
    --content-max-wide: 1200px;

    --space-1: 6px;
    --space-2: 10px;
    --space-3: 14px;
    --space-4: 20px;
    --space-5: 28px;
    --space-6: 40px;
    --space-7: 56px;
    --space-8: 80px;

    --radius-1: 10px;
    --radius-2: 14px;
    --radius-3: 18px;
    --radius-4: 24px;

    /* Modern shadows with depth */
    --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.28);
    --shadow-2: 0 20px 60px rgba(0, 0, 0, 0.35);
    --shadow-3: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-glow-teal: 0 0 30px rgba(17, 94, 89, 0.3);
    --shadow-glow-mint: 0 0 30px rgba(110, 231, 183, 0.25);
    --shadow-glow-amber: 0 0 30px rgba(217, 119, 6, 0.25);
    --shadow-0: 0 0 0 rgba(0, 0, 0, 0);
    
    /* Glassmorphism */
    --glass-bg: rgba(15, 26, 29, 0.7);
    --glass-border: rgba(110, 231, 183, 0.15);
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'Unbounded';
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    font-display: swap;
}

/* === ACCESSIBILITY: Skip to main content === */
.skip-to-main {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--gradient-amber);
    color: #1a1a1a;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    border-radius: 0 0 8px 0;
    transition: top 0.2s ease;
}

.skip-to-main:focus {
    top: 0;
    outline: 3px solid var(--mint-bright);
    outline-offset: 2px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
    width: 100%;
    max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Unbounded', sans-serif;
    letter-spacing: -0.02em;
}

/* === MATERIAL ICONS === */
.material-icons-outlined {
    font-size: inherit;
    vertical-align: middle;
}

/* === ANIMATED BACKGROUND === */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 80% 60% at 10% 5%, rgba(17, 94, 89, 0.16) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 90% 15%, rgba(110, 231, 183, 0.10) 0%, transparent 58%),
        radial-gradient(ellipse 50% 40% at 50% 90%, rgba(217, 119, 6, 0.08) 0%, transparent 58%),
        var(--bg-dark);
    z-index: -1;
}

.floating-orb {
    /* Japanese-minimal: remove noisy moving blobs; keep only the subtle gradients above */
    display: none;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--teal-main);
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: var(--mint-bright);
    top: 40%;
    right: -100px;
    animation-delay: -8s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--amber-main);
    bottom: -100px;
    left: 30%;
    animation-delay: -16s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(40px, 40px) rotate(5deg); }
    50% { transform: translate(-30px, 60px) rotate(-5deg); }
    75% { transform: translate(50px, -30px) rotate(3deg); }
}

/* === NAVIGATION === */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 18px 2rem;
    background: rgba(10, 18, 20, 0.8);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
}

.logo-icon {
    background: var(--gradient-teal);
    padding: 8px 12px;
    border-radius: var(--radius-1);
    font-size: 0.9rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 2px;
    box-shadow: none;
}

.logo-bracket {
    color: var(--mint-bright);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--mint-bright);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--mint-bright);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-amber);
    color: #1a1a1a;
    padding: 12px 20px;
    border-radius: var(--radius-1);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.25);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35), 0 0 25px rgba(217, 119, 6, 0.15);
    filter: brightness(1.1);
}

.nav-cta:hover::before {
    opacity: 1;
}

.nav-cta:active {
    transform: translateY(0);
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 2rem 110px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 860px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.hero-content > * {
    text-align: center;
}

.hero-content h1 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-content .hero-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Animated Avatar */
.hero-avatar {
    margin-bottom: var(--space-6);
}

.avatar-container {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    position: relative;
    border-radius: 50%;
}

.avatar-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, var(--glow-teal) 0%, transparent 70%);
    border-radius: 50%;
    animation: avatar-glow-pulse 4s ease-in-out infinite;
    z-index: 0;
}

@keyframes avatar-glow-pulse {
    0%, 100% { 
        opacity: 0.6;
        transform: scale(1);
    }
    50% { 
        opacity: 0.9;
        transform: scale(1.1);
    }
}

.avatar-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    border: 3px solid transparent;
    background: 
        linear-gradient(var(--bg-dark), var(--bg-dark)) padding-box,
        var(--gradient-hero) border-box;
    box-shadow: var(--shadow-1);
}

.avatar-ring-outer {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 1px dashed var(--mint-bright);
    opacity: 0.25;
    animation: ring-rotate 26s linear infinite;
    z-index: 1;
}

.avatar-ring-outer::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid var(--amber-bright);
    opacity: 0.3;
    animation: ring-rotate 15s linear infinite reverse;
}

@keyframes ring-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(17, 94, 89, 0.14);
    border: 1px solid rgba(110, 231, 183, 0.20);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--mint-bright);
    margin-bottom: var(--space-6);
    position: relative;
}

.badge-pulse {
    position: absolute;
    left: 16px;
    width: 8px;
    height: 8px;
    background: var(--mint-bright);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(110, 231, 183, 0.5);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(110, 231, 183, 0);
    }
}

.hero-badge .material-icons-outlined {
    font-size: 18px;
    margin-left: 16px;
}

/* Hero Title */
.hero h1 {
    font-size: clamp(2.6rem, 5.8vw, 4.1rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
    text-wrap: balance;
    text-align: center;
    width: 100%;
}

.gradient-text {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto var(--space-7);
    text-align: center;
}

.hero-subtitle strong {
    color: var(--mint-bright);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.25rem;
    margin-bottom: var(--space-7);
    flex-wrap: wrap;
    width: 100%;
}

.stat-item {
    text-align: center;
    flex: 0 0 auto;
    min-width: 0;
}

.stat-number {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    background: var(--gradient-amber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: normal;
    word-break: break-word;
    max-width: 100px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border);
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-7);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: var(--radius-2);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, filter 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn .material-icons-outlined {
    font-size: 20px;
}

.btn-primary {
    background: var(--gradient-teal);
    color: var(--mint-soft);
    box-shadow: 0 4px 15px rgba(17, 94, 89, 0.3), 0 0 20px rgba(17, 94, 89, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(17, 94, 89, 0.4), 0 0 30px rgba(110, 231, 183, 0.2);
    filter: brightness(1.1);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: rgba(110, 231, 183, 0.08);
    color: var(--mint-bright);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(110, 231, 183, 0.15), rgba(17, 94, 89, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(110, 231, 183, 0.15);
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(110, 231, 183, 0.2);
}

.btn-secondary:hover::before {
    opacity: 1;
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Hero Specializations */
.hero-specializations {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.spec-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(110, 231, 183, 0.12);
    padding: 9px 14px;
    border-radius: var(--radius-1);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.spec-tag::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(110, 231, 183, 0.1), rgba(17, 94, 89, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.spec-tag .material-icons-outlined {
    font-size: 16px;
    color: var(--mint-bright);
    position: relative;
    z-index: 1;
}

.spec-tag:hover {
    background: rgba(110, 231, 183, 0.1);
    border-color: rgba(110, 231, 183, 0.25);
    color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(110, 231, 183, 0.15);
}

.spec-tag:hover::before {
    opacity: 1;
}

/* === SECTION STYLES === */
section {
    padding: 90px 2rem;
    position: relative;
}

.container {
    max-width: var(--content-max);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid rgba(110, 231, 183, 0.08);
}

.section-badge {
    display: inline-block;
    background: rgba(17, 94, 89, 0.2);
    color: var(--mint-bright);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    border: 1px solid rgba(110, 231, 183, 0.2);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: var(--space-3);
    text-wrap: balance;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* === ADVANTAGES SECTION === */
.advantages {
    background: linear-gradient(180deg, transparent 0%, rgba(17, 94, 89, 0.05) 50%, transparent 100%);
}

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

@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

.advantage-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-4);
    padding: 2.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-3);
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-hero);
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

.advantage-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-4);
    padding: 1px;
    background: linear-gradient(135deg, rgba(110, 231, 183, 0.1), rgba(17, 94, 89, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.advantage-card:hover {
    transform: translateY(-4px);
    border-color: rgba(110, 231, 183, 0.25);
    box-shadow: var(--shadow-2), var(--shadow-glow-mint);
    background: rgba(15, 26, 29, 0.85);
}

.advantage-card:hover::before {
    opacity: 0.4;
}

.advantage-card:hover::after {
    opacity: 1;
}

.advantage-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.advantage-icon .material-icons-outlined {
    font-size: 26px;
}

.advantage-icon.teal {
    background: linear-gradient(135deg, rgba(17, 94, 89, 0.3), rgba(17, 94, 89, 0.1));
    color: var(--mint-bright);
}

.advantage-icon.mint {
    background: linear-gradient(135deg, rgba(110, 231, 183, 0.25), rgba(110, 231, 183, 0.08));
    color: var(--mint-bright);
}

.advantage-icon.amber {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.25), rgba(217, 119, 6, 0.08));
    color: var(--amber-bright);
}

.advantage-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.advantage-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* === WEB APP SHOWCASE === */
.webapp-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    margin-top: var(--space-8);
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 3rem;
    box-shadow: var(--shadow-1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.webapp-showcase:hover {
    box-shadow: var(--shadow-2), var(--shadow-glow-teal);
    border-color: rgba(110, 231, 183, 0.2);
}

.webapp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-amber);
    color: #1a1a1a;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.webapp-badge .material-icons-outlined {
    font-size: 18px;
}

.webapp-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.webapp-info p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.webapp-features {
    list-style: none;
}

.webapp-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.95rem;
}

.webapp-features .check {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: linear-gradient(135deg, var(--teal-main), var(--mint-bright));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.webapp-features .check .material-icons-outlined {
    font-size: 14px;
    color: #fff;
}

/* Phone Mockup */
.webapp-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--bg-dark);
    border-radius: 38px;
    border: 3px solid rgba(110, 231, 183, 0.2);
    box-shadow: var(--shadow-1);
    overflow: hidden;
    position: relative;
    animation: float-phone 6s ease-in-out infinite;
    cursor: pointer;
}

@keyframes float-phone {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.phone-notch {
    width: 110px;
    height: 26px;
    background: #000;
    border-radius: 0 0 18px 18px;
    margin: 0 auto;
}

.phone-screen {
    height: calc(100% - 26px);
    overflow: hidden;
}

.webapp-demo {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, var(--teal-deep) 0%, var(--bg-dark) 100%);
}

.webapp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--teal-main);
    color: var(--mint-soft);
    font-size: 0.9rem;
    font-weight: 600;
}

.webapp-header .material-icons-outlined {
    font-size: 20px;
    opacity: 0.8;
}

.webapp-content {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.product-image {
    height: 100px;
    background: linear-gradient(135deg, var(--teal-main), var(--mint-bright));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
}

.product-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 18, 20, 0) 30%, rgba(10, 18, 20, 0.45));
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.product-image::after {
    content: 'Нажмите';
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    letter-spacing: 0.02em;
    padding: 4px 8px;
    border-radius: 10px;
    color: var(--mint-soft);
    background: rgba(15, 26, 29, 0.85);
    border: 1px solid var(--border);
    opacity: 0.9;
    transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
    pointer-events: none;
}

.product-image:hover::before {
    opacity: 1;
}

.product-image:hover::after {
    color: var(--mint-bright);
    border-color: var(--border-hover);
    opacity: 1;
}

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

.image-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 2000;
}

.image-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.image-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 18, 20, 0.78);
    backdrop-filter: blur(8px);
}

.image-modal-content {
    position: relative;
    z-index: 1;
    width: min(92vw, 720px);
    max-height: 86vh;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 14px;
    box-shadow: var(--shadow-1);
}

.image-modal-img {
    width: 100%;
    height: auto;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 12px;
    display: block;
    background: #0b1416;
}

.image-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(15, 26, 29, 0.9);
    color: var(--mint-soft);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.image-modal-close:hover {
    color: var(--mint-bright);
    border-color: var(--border-hover);
    background: rgba(17, 94, 89, 0.35);
}

body.modal-open {
    overflow: hidden;
}

/* === FLOATING CTA BUTTON === */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--gradient-teal);
    color: var(--mint-soft);
    border: none;
    border-radius: 50px;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(17, 94, 89, 0.4), 0 0 20px rgba(110, 231, 183, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    overflow: hidden;
}

.floating-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floating-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(17, 94, 89, 0.5), 0 0 40px rgba(110, 231, 183, 0.4), var(--shadow-glow-teal);
    filter: brightness(1.15);
}

.floating-cta:hover::before {
    opacity: 1;
}

.floating-cta:active {
    transform: translateY(-1px) scale(0.98);
}

.floating-cta .material-icons-outlined {
    font-size: 22px;
}

.floating-cta-text {
    white-space: nowrap;
}

@media (max-width: 640px) {
    .floating-cta {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
        font-size: 0.85rem;
    }
    
    .floating-cta-text {
        display: none;
    }
}

/* === CONTACT POPUP MODAL === */
.contact-popup {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 3000;
}

.contact-popup.open {
    opacity: 1;
    pointer-events: auto;
}

.contact-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 18, 20, 0.85);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
}

.contact-popup-content {
    position: relative;
    z-index: 1;
    width: min(90vw, 480px);
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 0;
    box-shadow: var(--shadow-2), var(--shadow-glow-teal);
    transform: scale(0.95) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-popup.open .contact-popup-content {
    transform: scale(1) translateY(0);
}

.contact-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(15, 26, 29, 0.9);
    color: var(--mint-soft);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    z-index: 10;
}

.contact-popup-close:hover {
    color: var(--mint-bright);
    border-color: var(--border-hover);
    background: rgba(17, 94, 89, 0.35);
}

.contact-popup-body {
    padding: 2.5rem 2rem 2rem;
    text-align: center;
}

.contact-popup-body h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.contact-popup-body p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-popup-promo {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.12), rgba(17, 94, 89, 0.08));
    border: 1px solid rgba(217, 119, 6, 0.2);
    border-radius: var(--radius-3);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.contact-popup-promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-amber);
    opacity: 0.6;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gradient-amber);
    color: #1a1a1a;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

.promo-badge .material-icons-outlined {
    font-size: 16px;
}

.promo-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.promo-title {
    color: var(--mint-bright);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Unbounded', sans-serif;
}

.promo-text {
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.promo-code {
    display: inline-block;
    background: rgba(110, 231, 183, 0.2);
    border: 1px solid rgba(110, 231, 183, 0.4);
    color: var(--mint-bright);
    padding: 3px 10px;
    border-radius: 8px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    font-size: 1.05em;
    letter-spacing: 0.1em;
    margin: 0 2px;
    box-shadow: 0 2px 8px rgba(110, 231, 183, 0.2);
}

.promo-discount {
    color: var(--amber-bright);
    font-weight: 800;
    font-size: 1.15em;
    margin: 0 2px;
}

.promo-urgency {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 0.5rem;
    color: var(--amber-bright);
    font-size: 0.85rem;
    font-weight: 600;
}

.promo-urgency .material-icons-outlined {
    font-size: 16px;
}

.contact-popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-popup-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 1rem;
}

@media (max-width: 640px) {
    .contact-popup-content {
        width: calc(100vw - 2rem);
        margin: 1rem;
    }
    
    .contact-popup-body {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .contact-popup-body h3 {
        font-size: 1.25rem;
    }
    
    .contact-popup-body p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
}

.product-info {
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-name {
    font-size: 0.85rem;
    font-weight: 600;
}

.product-price {
    font-size: 0.8rem;
    color: var(--amber-bright);
    font-weight: 600;
}

.webapp-button {
    margin: auto 16px 20px;
    background: var(--gradient-amber);
    color: #1a1a1a;
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    text-decoration: none;
}

.webapp-button:hover {
    filter: brightness(1.05);
}

/* === WHY US SECTION === */
.why-us {
    background: linear-gradient(180deg, transparent 0%, rgba(110, 231, 183, 0.04) 50%, transparent 100%);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .why-us-grid {
        grid-template-columns: 1fr;
    }
}

.why-us-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-4);
    padding: 2.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-3);
}

.why-us-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-hero);
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

.why-us-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-4);
    padding: 1px;
    background: linear-gradient(135deg, rgba(110, 231, 183, 0.1), rgba(17, 94, 89, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.why-us-card:hover {
    transform: translateY(-4px);
    border-color: rgba(110, 231, 183, 0.25);
    box-shadow: var(--shadow-2), var(--shadow-glow-mint);
    background: rgba(15, 26, 29, 0.85);
}

.why-us-card:hover::before {
    opacity: 0.4;
}

.why-us-card:hover::after {
    opacity: 1;
}

.why-us-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.why-us-icon .material-icons-outlined {
    font-size: 26px;
}

.why-us-icon.teal {
    background: linear-gradient(135deg, rgba(17, 94, 89, 0.3), rgba(17, 94, 89, 0.1));
    color: var(--mint-bright);
}

.why-us-icon.mint {
    background: linear-gradient(135deg, rgba(110, 231, 183, 0.25), rgba(110, 231, 183, 0.08));
    color: var(--mint-bright);
}

.why-us-icon.amber {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.25), rgba(217, 119, 6, 0.08));
    color: var(--amber-bright);
}

.why-us-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.why-us-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* === CASES SECTION === */
.cases {
    background: linear-gradient(180deg, transparent 0%, rgba(217, 119, 6, 0.03) 50%, transparent 100%);
    padding-bottom: 70px;
}

.cases-slider {
    position: relative;
    overflow: hidden;
}

.slider-container {
    overflow: hidden;
    border-radius: 24px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.case-slide {
    min-width: 100%;
    opacity: 0.5;
    transform: scale(0.95);
    transition: all 0.5s ease;
}

.case-slide.active {
    opacity: 1;
    transform: scale(1);
}

.case-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem;
    align-items: center;
}

.case-badge {
    display: inline-block;
    background: rgba(110, 231, 183, 0.15);
    color: var(--mint-bright);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-badge.coming-soon {
    background: rgba(217, 119, 6, 0.15);
    color: var(--amber-bright);
}

.case-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.case-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.case-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.case-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.case-features .material-icons-outlined {
    font-size: 18px;
    color: var(--mint-bright);
}

.case-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.case-tech span {
    background: rgba(17, 94, 89, 0.2);
    color: var(--mint-bright);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.case-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--amber-bright);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.case-link:hover {
    color: var(--amber-light);
}

.case-link .material-icons-outlined {
    font-size: 18px;
}

/* Case Visual */
.case-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.case-media {
    width: 100%;
    height: 350px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--bg-dark);
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 18, 20, 0) 30%, rgba(10, 18, 20, 0.45));
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.case-media::after {
    content: 'Открыть';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 10px;
    letter-spacing: 0.02em;
    padding: 4px 8px;
    border-radius: 10px;
    color: var(--mint-soft);
    background: rgba(15, 26, 29, 0.85);
    border: 1px solid var(--border);
    opacity: 0.92;
    transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
    pointer-events: none;
}

.case-media:hover::before {
    opacity: 1;
}

.case-media:hover::after {
    color: var(--mint-bright);
    border-color: var(--border-hover);
    opacity: 1;
}

.case-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: transparent;
}

.case-video-placeholder {
    width: 100%;
    min-height: 350px;
    background: var(--bg-dark);
    border-radius: 16px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-muted);
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.case-video-placeholder:hover {
    border-color: var(--mint-bright);
    color: var(--mint-bright);
}

.case-video-placeholder .material-icons-outlined {
    font-size: 60px;
}

.case-video-placeholder.coming-soon-visual {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), transparent);
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--teal-main);
    border-color: var(--teal-main);
    color: var(--mint-soft);
}

.slider-btn .material-icons-outlined {
    font-size: 24px;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: var(--text-muted);
}

.dot.active {
    background: var(--mint-bright);
    box-shadow: 0 0 10px var(--glow-mint);
}

/* More Cases Link */
.more-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
    align-items: start;
    margin-top: 2.2rem;
    padding-top: 1.8rem;
    border-top: 1px solid var(--border);
}

.more-cases {
    text-align: center;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.more-cases p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.telegram-channel-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px 24px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.telegram-channel-link:hover {
    border-color: #229ED9;
    box-shadow: none;
    transform: translateY(-1px);
}

.tg-icon {
    width: 44px;
    height: 44px;
    background: #229ED9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tg-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.channel-info {
    text-align: left;
}

.channel-name {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.channel-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.telegram-channel-link .material-icons-outlined {
    color: var(--text-muted);
    font-size: 20px;
    transition: all 0.3s ease;
}

.telegram-channel-link:hover .material-icons-outlined {
    color: #229ED9;
    transform: translateX(4px);
}

.presentation-link:hover {
    border-color: rgba(245, 158, 11, 0.6);
}

.presentation-link:hover .material-icons-outlined {
    color: var(--amber-bright);
}

.presentation-icon {
    background: var(--gradient-amber);
    color: #1a1a1a;
}

.presentation-icon .material-icons-outlined {
    font-size: 24px;
    color: inherit;
}

/* === CONTACT SECTION === */
.contact {
    background: linear-gradient(180deg, transparent 0%, rgba(17, 94, 89, 0.05) 100%);
}

/* === FAQ SECTION === */
.faq {
    background: linear-gradient(180deg, transparent 0%, rgba(110, 231, 183, 0.03) 45%, transparent 100%);
    padding-top: 60px;
    padding-bottom: 60px;
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

@media (max-width: 1024px) {
    .faq-list {
        grid-template-columns: 1fr;
        max-width: 860px;
    }
    
    .faq-media {
        height: 240px;
    }
}

.faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-3);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-3);
    margin-bottom: 0;
    height: fit-content;
    align-self: start;
}

.faq-item:hover {
    border-color: rgba(110, 231, 183, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 15px rgba(110, 231, 183, 0.1);
}

.faq-item[open] {
    border-color: rgba(110, 231, 183, 0.25);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2), 0 0 20px rgba(110, 231, 183, 0.15);
    background: rgba(15, 26, 29, 0.9);
}

.faq-question {
    list-style: none;
    cursor: pointer;
    padding: 16px 18px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    font-size: 0.95rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    color: var(--text-muted);
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(110, 231, 183, 0.15);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 18px;
}

.faq-question:hover::after {
    border-color: rgba(110, 231, 183, 0.25);
    background: rgba(110, 231, 183, 0.08);
    transform: scale(1.1);
}

.faq-item[open] .faq-question::after {
    content: '—';
    color: var(--mint-bright);
    border-color: rgba(110, 231, 183, 0.3);
    background: rgba(110, 231, 183, 0.12);
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 18px 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
    border-top: 1px solid rgba(110, 231, 183, 0.08);
}

.faq-answer p + p {
    margin-top: var(--space-2);
}

.faq-answer code {
    background: rgba(110, 231, 183, 0.06);
    border: 1px solid rgba(110, 231, 183, 0.12);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.95em;
    color: var(--mint-bright);
}

.faq-answer a {
    color: var(--amber-bright);
    text-decoration: underline;
    text-decoration-color: rgba(217, 119, 6, 0.4);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.faq-answer a:hover {
    color: var(--amber-light);
    text-decoration-color: rgba(251, 191, 36, 0.6);
}

.faq-subtitle {
    margin-top: var(--space-4);
    margin-bottom: var(--space-2);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.faq-steps {
    margin: 0;
    padding-left: 1.25rem;
    display: grid;
    gap: var(--space-3);
}

.faq-steps-media li {
    padding: 8px 0;
}

.faq-media {
    margin-top: 12px;
    width: 100%;
    height: 280px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--bg-dark);
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 18, 20, 0) 30%, rgba(10, 18, 20, 0.45));
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.faq-media::after {
    content: 'Открыть';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 10px;
    letter-spacing: 0.02em;
    padding: 4px 8px;
    border-radius: 10px;
    color: var(--mint-soft);
    background: rgba(15, 26, 29, 0.85);
    border: 1px solid var(--border);
    opacity: 0.92;
    transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
    pointer-events: none;
}

.faq-media:hover::before {
    opacity: 1;
}

.faq-media:hover::after {
    color: var(--mint-bright);
    border-color: var(--border-hover);
    opacity: 1;
}

.faq-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.faq-steps ul {
    margin-top: var(--space-2);
    padding-left: 1.1rem;
    display: grid;
    gap: var(--space-2);
}

.faq-figure {
    margin: var(--space-5) 0 var(--space-4);
    border-radius: var(--radius-3);
    border: 1px solid rgba(110, 231, 183, 0.12);
    background: var(--bg-dark);
    overflow: hidden;
    min-height: 160px;
}

.faq-botfather-figure {
    background-image: url("../assets/botfather.png");
    background-size: 220px auto;
    background-repeat: repeat;
    background-position: center;
    position: relative;
}

.faq-botfather-figure::before {
    content: "";
    position: absolute;
    inset: 0;
    /* Soft veil to keep minimal feel & readability */
    background:
        linear-gradient(180deg, rgba(10, 18, 20, 0.85) 0%, rgba(10, 18, 20, 0.55) 35%, rgba(10, 18, 20, 0.85) 100%),
        radial-gradient(60% 80% at 50% 50%, rgba(110, 231, 183, 0.10) 0%, transparent 60%);
    pointer-events: none;
}

@media (max-width: 640px) {
    .faq-question {
        padding: 18px 18px;
        font-size: 1rem;
    }
    .faq-answer {
        padding: 0 18px 18px;
    }
    .faq-botfather-figure {
        background-size: 180px auto;
    }
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 1rem 0;
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: #229ED9;
    transform: translateX(5px);
}

.method-icon {
    width: 44px;
    height: 44px;
    background: #229ED9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-icon svg {
    width: 22px;
    height: 22px;
    color: #fff;
}

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

.method-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.method-value {
    font-weight: 600;
    color: var(--text-primary);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-dark);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--teal-main);
    box-shadow: 0 0 0 3px var(--glow-teal);
}

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

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238fb3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 20px;
    padding-right: 50px;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-submit {
    margin-top: 0.5rem;
    justify-content: center;
}

.form-status {
    margin-top: 1rem;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.95rem;
    display: none;
    text-align: center;
}

.form-status.success {
    display: block;
    background: rgba(110, 231, 183, 0.15);
    border: 1px solid rgba(110, 231, 183, 0.3);
    color: var(--mint-bright);
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Loading state */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    top: 50%;
    left: 50%;
    margin-left: -11px;
    margin-top: -11px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--mint-bright);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* === CALCULATOR SECTION === */
.calculator {
    background: linear-gradient(180deg, transparent 0%, rgba(110, 231, 183, 0.03) 50%, transparent 100%);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: start;
}

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

.calc-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.calc-section:hover {
    border-color: var(--border-hover);
}

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

.calc-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.calc-section-title .material-icons-outlined {
    font-size: 20px;
    color: var(--mint-bright);
}

.calc-tooltip {
    position: relative;
    cursor: help;
}

.calc-tooltip .material-icons-outlined {
    font-size: 18px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.calc-tooltip:hover .material-icons-outlined {
    color: var(--mint-bright);
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: var(--bg-card-alt);
    color: var(--text-secondary);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    line-height: 1.5;
    width: 280px;
    border: 1px solid var(--border-hover);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 100;
    transition: all 0.3s ease;
}

.tooltip-text::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 8px;
    width: 10px;
    height: 10px;
    background: var(--bg-card-alt);
    border-left: 1px solid var(--border-hover);
    border-top: 1px solid var(--border-hover);
    transform: rotate(45deg);
}

.calc-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Checkbox styles */
.calc-option {
    margin-bottom: 0.5rem;
}

.calc-checkbox,
.calc-radio {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
}

.calc-checkbox:hover,
.calc-radio:hover {
    background: rgba(110, 231, 183, 0.08);
    color: var(--text-primary);
}

.calc-checkbox input,
.calc-radio input {
    display: none;
}

.checkmark,
.radiomark {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid var(--border-hover);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.radiomark {
    border-radius: 50%;
}

.checkmark::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid transparent;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: all 0.2s ease;
    margin-top: -2px;
}

.radiomark::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.2s ease;
    transform: scale(0);
}

.calc-checkbox input:checked ~ .checkmark,
.calc-radio input:checked ~ .radiomark {
    background: var(--gradient-teal);
    border-color: var(--teal-light);
    box-shadow: 0 0 15px var(--glow-teal);
}

.calc-checkbox input:checked ~ .checkmark::after {
    border-color: #fff;
    transform: rotate(45deg) scale(1);
}

.calc-radio input:checked ~ .radiomark::after {
    background: #fff;
    transform: scale(1);
}

.calc-checkbox input:checked ~ span:not(.checkmark):not(.calc-price),
.calc-radio input:checked ~ span:not(.radiomark):not(.calc-price) {
    color: var(--mint-bright);
}

.calc-price {
    margin-left: auto;
    font-weight: 600;
    color: var(--amber-bright);
    font-size: 0.9rem;
}

/* Suboptions */
.calc-suboptions {
    display: none;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 2px solid var(--teal-main);
    margin-top: 0.5rem;
    animation: slideDown 0.3s ease;
}

.calc-suboptions.show {
    display: block;
}

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

.calc-suboptions .calc-radio {
    padding: 10px 12px;
    font-size: 0.85rem;
}

/* Deadline section */
.calc-deadline .calc-deadline-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.calc-deadline .calc-radio {
    flex-direction: column;
    text-align: center;
    padding: 16px 12px;
    gap: 8px;
}

.calc-deadline .calc-radio .radiomark {
    order: -1;
}

.calc-deadline .calc-price {
    margin-left: 0;
    font-size: 0.85rem;
}

/* Comment textarea */
.calc-textarea {
    width: 100%;
    min-height: 100px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-dark);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
}

.calc-textarea:focus {
    outline: none;
    border-color: var(--teal-main);
    box-shadow: 0 0 0 3px var(--glow-teal);
}

.calc-textarea::placeholder {
    color: var(--text-muted);
}

/* Summary Card */
.calc-summary {
    position: sticky;
    top: 100px;
}

.calc-summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: none;
}

.calc-summary-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.calc-summary-header .material-icons-outlined {
    font-size: 24px;
    color: var(--mint-bright);
}

.calc-summary-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.calc-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.5rem;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.calc-breakdown::-webkit-scrollbar {
    width: 4px;
}

.calc-breakdown::-webkit-scrollbar-track {
    background: var(--bg-dark);
    border-radius: 2px;
}

.calc-breakdown::-webkit-scrollbar-thumb {
    background: var(--teal-main);
    border-radius: 2px;
}

.calc-breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
}

.calc-breakdown-item.base {
    background: rgba(110, 231, 183, 0.08);
    border-color: var(--border);
}

.calc-breakdown-item span:first-child {
    color: var(--text-secondary);
}

.calc-breakdown-item span:last-child {
    font-weight: 600;
    color: var(--mint-bright);
}

/* Total */
.calc-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: var(--gradient-teal);
    border-radius: 14px;
    margin-bottom: 1.5rem;
    box-shadow: none;
}

.calc-total span:first-child {
    font-size: 1rem;
    font-weight: 500;
}

.calc-total span:first-child strong {
    color: var(--amber-bright);
    font-weight: 700;
    text-transform: uppercase;
}

.calc-total-price {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mint-soft) !important;
}

/* Actions */
.calc-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.calc-order-btn,
.calc-custom-btn {
    width: 100%;
    justify-content: center;
}

.calc-custom-btn {
    background: rgba(217, 119, 6, 0.15);
    color: var(--amber-bright);
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.calc-custom-btn:hover {
    background: rgba(217, 119, 6, 0.25);
    border-color: var(--amber-bright);
}

/* Custom Price Popup */
.calc-custom-popup {
    display: none;
    padding: 1rem;
    background: var(--bg-dark);
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 1rem;
    animation: slideDown 0.3s ease;
}

.calc-custom-popup.show {
    display: flex;
    gap: 0.75rem;
}

.calc-custom-popup input {
    flex: 1;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
}

.calc-custom-popup input:focus {
    outline: none;
    border-color: var(--amber-main);
}

/* Note */
.calc-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.calc-note .material-icons-outlined {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Calculator Message */
.calc-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(217, 119, 6, 0.15);
    border: 1px solid rgba(217, 119, 6, 0.3);
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--amber-bright);
    animation: slideDown 0.3s ease;
}

.calc-message .material-icons-outlined {
    font-size: 20px;
    flex-shrink: 0;
}

/* Field Error Highlight */
.field-error {
    border-color: var(--amber-main) !important;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.3) !important;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}


/* Calculator Responsive */
@media (max-width: 1024px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
    
    .calc-summary {
        position: relative;
        top: 0;
    }
}

@media (max-width: 640px) {
    .calc-section {
        padding: 1rem;
    }
    
    .calc-deadline .calc-deadline-options {
        grid-template-columns: 1fr;
    }
    
    .calc-deadline .calc-radio {
        flex-direction: row;
        text-align: left;
        padding: 12px;
    }
    
    .calc-deadline .calc-radio .radiomark {
        order: 0;
    }
    
    .calc-deadline .calc-price {
        margin-left: auto;
    }
    
    .calc-summary-card {
        padding: 1.25rem;
    }
    
    .calc-total-price {
        font-size: 1.25rem;
    }
    
    .tooltip-text {
        width: 220px;
        right: -100px;
    }
}

/* === FOOTER === */
footer {
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--border);
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
    max-width: 320px;
    line-height: 1.7;
}

.footer-section h4 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* === ANIMATIONS === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .webapp-showcase {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .webapp-visual {
        order: -1;
    }

    .case-content {
        grid-template-columns: 1fr;
    }

    .case-visual {
        order: -1;
    }

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

@media (max-width: 900px) {
    nav {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    section {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .container {
        width: calc(100% - 2rem);
        margin: 0 auto;
        padding: 0 1rem;
    }

    nav {
        padding: 0.75rem 1rem;
        flex-wrap: nowrap;
        gap: 8px;
        min-height: 60px;
    }

    .logo {
        font-size: 1rem;
        gap: 6px;
        flex-shrink: 0;
    }

    .logo-icon {
        padding: 5px 8px;
        font-size: 0.75rem;
    }

    .nav-cta {
        padding: 8px 12px;
        font-size: 0.75rem;
        border-radius: 8px;
        white-space: nowrap;
        flex-shrink: 0;
        min-width: auto;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-content {
        width: calc(100% - 2rem);
        max-width: 100%;
        margin: 0 auto;
        padding: 0 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-avatar {
        margin-bottom: var(--space-5);
    }

    .avatar-container {
        width: 160px;
        height: 160px;
    }

    .hero-avatar,
    .hero-badge,
    .hero h1,
    .hero-subtitle,
    .hero-stats,
    .hero-buttons,
    .hero-specializations {
        width: 100%;
        text-align: center;
        align-self: center;
    }

    .hero-badge {
        display: inline-flex;
        margin-left: auto;
        margin-right: auto;
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 5vw, 1.75rem);
        line-height: 1.2;
        margin-bottom: var(--space-3);
        text-align: center !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
        padding: 0;
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 3vw, 1rem);
        text-align: center !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: var(--space-5);
        width: 100%;
        padding: 0;
        max-width: 100%;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.2rem);
    }
    
    .section-subtitle {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
    }
    
    h3 {
        font-size: clamp(1.1rem, 4vw, 1.3rem);
    }
    
    p, li {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
    }

    .hero-stats {
        gap: 0.75rem;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: var(--space-5);
    }

    .stat-item {
        flex: 0 0 auto;
        min-width: 0;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.75rem;
        white-space: normal;
        max-width: 80px;
        line-height: 1.2;
    }

    .stat-divider {
        display: none;
    }

    .hero-buttons {
        margin-bottom: var(--space-5);
        gap: 0.75rem;
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .hero-specializations {
        gap: 6px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .spec-tag {
        padding: 7px 11px;
        font-size: 0.75rem;
    }

    .advantages-grid,
    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .webapp-showcase {
        padding: 2rem;
    }

    .case-content {
        padding: 2rem;
    }

    .case-media {
        height: 240px;
    }

    .faq-media {
        height: 200px;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        text-align: center;
    }

    .more-cases-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .avatar-container {
        width: 150px;
        height: 150px;
    }

    .avatar-glow {
        inset: -15px;
    }

    .avatar-ring-outer {
        inset: -8px;
    }
}

@media (max-width: 375px) {
    nav {
        padding: 0.65rem 0.75rem;
    }

    .logo {
        font-size: 0.9rem;
    }

    .logo-icon {
        padding: 4px 7px;
        font-size: 0.7rem;
    }

    .nav-cta {
        padding: 7px 10px;
        font-size: 0.7rem;
    }

    .hero {
        padding: 90px 0 50px;
    }

    .hero-content {
        width: calc(100% - 1.5rem);
        padding: 0 0.75rem;
    }

    .hero h1 {
        font-size: 1.5rem;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }
}

/* === ACCESSIBILITY & MINIMAL MOTION === */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
details:focus-visible summary {
    outline: 3px solid var(--mint-bright);
    outline-offset: 3px;
    border-radius: 4px;
}

a:focus-visible,
button:focus-visible {
    outline-color: var(--amber-bright);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline-color: var(--mint-bright);
    border-color: var(--mint-bright);
}

/* Touch targets for mobile (minimum 44x44px) */
@media (max-width: 640px) {
    .btn,
    .nav-cta,
    .slider-btn,
    .dot,
    .faq-question,
    .calc-checkbox,
    .calc-radio,
    .spec-tag {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }
}

