/* ========== Variables ========== */
:root {
    --bg-dark: #1a1c24;
    --bg-card: #252733;
    --bg-section: #2d303b;
    --accent: #ff2434;
    --accent-hover: #e61f2e;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border: rgba(255, 255, 255, 0.1);
    --success: #22c55e;
    --gradient: linear-gradient(135deg, #ff2434 0%, #ff6b4a 100%);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    --radius: 20px;
    --radius-sm: 12px;
    --transition: 0.3s ease;
}

/* ========== Reset & Base ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 36, 52, 0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.btn-white {
    background: #fff;
    color: var(--bg-dark);
}

.btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 17px;
}

.btn-block {
    width: 100%;
}

/* ========== Header ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 28, 36, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav a:hover {
    color: var(--text-primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-right .phone {
    display: none;
    font-weight: 600;
    font-size: 15px;
}

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

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-dark);
    z-index: 999;
    padding: 40px 20px;
}

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

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-menu a {
    font-size: 20px;
    font-weight: 600;
}

.phone-mobile {
    color: var(--accent);
    margin-top: 20px;
}

/* ========== Hero ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--bg-section);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 36, 52, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 74, 0.1) 0%, transparent 40%);
}

.hero .container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 36, 52, 0.15);
    border: 1px solid rgba(255, 36, 52, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 24px;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
    font-size: 42px;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

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

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 32px;
}

.price-label {
    font-size: 16px;
    color: var(--text-muted);
}

.price-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    gap: 40px;
}

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

.trust-item strong {
    font-size: 28px;
    font-weight: 800;
}

.trust-item span {
    font-size: 14px;
    color: var(--text-muted);
}

/* Mobile Platform Icons */
.mobile-platforms {
    display: none;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
}

.platform-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.platform-icon:first-child {
    color: #fff;
}

.platform-icon:last-child {
    color: #3ddc84;
}

.platform-icon span {
    font-size: 13px;
    font-weight: 600;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    z-index: 1;
}

/* Phones Container */
.phones-container {
    position: relative;
    width: 320px;
    height: 480px;
}

.phone {
    position: absolute;
    transition: transform 0.5s ease;
}

.phone-back {
    top: 30px;
    left: 0;
    z-index: 1;
    animation: phoneFloat 4s ease-in-out infinite;
}

.phone-front {
    top: 0;
    left: 80px;
    z-index: 2;
    animation: phoneFloat 4s ease-in-out infinite 0.5s;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-15px) rotate(0deg); }
}

.phone-frame {
    width: 200px;
    height: 400px;
    background: linear-gradient(145deg, #1a1c24 0%, #2d303b 100%);
    border-radius: 36px;
    padding: 8px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-notch {
    width: 80px;
    height: 24px;
    background: #1a1c24;
    border-radius: 0 0 16px 16px;
    margin: 0 auto 8px;
}

.phone-notch.iphone {
    width: 100px;
    height: 28px;
    border-radius: 0 0 20px 20px;
}

.phone-screen {
    width: 100%;
    height: calc(100% - 32px);
    background: linear-gradient(180deg, #1e2028 0%, #252830 100%);
    border-radius: 28px;
    padding: 16px 12px;
    overflow: hidden;
}

/* App UI Elements */
.app-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.app-logo {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: 8px;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 36, 52, 0.4); }
    50% { box-shadow: 0 0 20px 5px rgba(255, 36, 52, 0.2); }
}

.app-title {
    flex: 1;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
}

.app-card {
    height: 80px;
    background: linear-gradient(135deg, var(--accent) 0%, #ff6b4a 100%);
    border-radius: 16px;
    margin-bottom: 12px;
    animation: cardShine 3s ease-in-out infinite;
}

@keyframes cardShine {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.app-card.small {
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
}

.app-nav {
    position: absolute;
    bottom: 16px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-around;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
}

.nav-item {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
}

.nav-item.active {
    background: var(--accent);
}

.app-stats {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.stat {
    flex: 1;
    height: 60px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.app-chart {
    height: 100px;
    background: linear-gradient(180deg, rgba(255, 36, 52, 0.3) 0%, transparent 100%);
    border-radius: 16px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.app-chart::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    animation: chartLine 2s ease-in-out infinite;
}

@keyframes chartLine {
    0%, 100% { transform: scaleX(0.3); transform-origin: left; }
    50% { transform: scaleX(1); }
}

.app-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.list-item {
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

/* Platform Badges */
.platform-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.platform-badge.android {
    background: linear-gradient(135deg, #3ddc84 0%, #2ca85e 100%);
    color: #fff;
}

.platform-badge.ios {
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    color: #1a1c24;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    color: var(--bg-dark);
    font-size: 14px;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
    z-index: 5;
}

.card-1 {
    top: 10%;
    left: -30px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 30%;
    right: -40px;
    animation-delay: 1s;
}

.card-3 {
    top: 45%;
    right: -30px;
    animation-delay: 2s;
}

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

/* Decorative Circles */
.deco-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 36, 52, 0.15) 0%, transparent 70%);
    top: -50px;
    right: -100px;
    animation: circleFloat 6s ease-in-out infinite;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 74, 0.1) 0%, transparent 70%);
    bottom: 0;
    left: -50px;
    animation: circleFloat 6s ease-in-out infinite 3s;
}

@keyframes circleFloat {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* ========== Stats ========== */
.stats {
    padding: 80px 0;
    background: var(--bg-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.stat-value {
    font-size: 40px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ========== Section Header ========== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 36, 52, 0.15);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 34px;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
}

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

/* ========== Advantages ========== */
.advantages {
    padding: 100px 0;
    background: var(--bg-section);
}

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

.advantage-card {
    padding: 32px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 36, 52, 0.3);
}

.advantage-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 36, 52, 0.15);
    border-radius: 16px;
    margin-bottom: 20px;
    color: var(--accent);
}

.advantage-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

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

/* ========== App Types ========== */
.app-types {
    padding: 100px 0;
    background: var(--bg-dark);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.type-card {
    padding: 28px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    transition: all var(--transition);
}

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

.type-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

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

.type-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ========== Process ========== */
.process {
    padding: 100px 0;
    background: var(--bg-section);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.process-step {
    position: relative;
    padding: 32px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 32px;
    font-size: 48px;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.3;
}

.step-content {
    padding-top: 20px;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-content p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.step-duration {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 36, 52, 0.15);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
}

/* ========== Portfolio ========== */
.portfolio {
    padding: 100px 0;
    background: var(--bg-darker, #1f2128);
    position: relative;
    overflow: visible;
}

.portfolio-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.tab-btn {
    padding: 14px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.tab-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

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

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    transition: all var(--transition);
}

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

.portfolio-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition);
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

.portfolio-card .caption {
    padding: 20px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.portfolio-card .caption strong {
    color: var(--accent);
}

.portfolio-cta {
    text-align: center;
    margin-top: 48px;
}

/* ========== Pricing ========== */
.pricing {
    padding: 100px 0;
    background: var(--bg-section);
}

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

.pricing-card {
    position: relative;
    padding: 40px 32px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.popular {
    border-color: var(--accent);
    box-shadow: 0 0 40px rgba(255, 36, 52, 0.2);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--accent);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
}

.pricing-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-header p {
    font-size: 15px;
    color: var(--text-secondary);
}

.pricing-price {
    text-align: center;
    padding: 24px 0;
    margin-bottom: 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.pricing-price .price {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
}

.pricing-price .period {
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-features {
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-secondary);
}

/* ========== FAQ ========== */
.faq {
    padding: 100px 0;
    background: var(--bg-dark);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item:hover {
    border-color: rgba(255, 36, 52, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    color: var(--text-primary);
    cursor: pointer;
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-inner,
.faq-answer p {
    padding: 0 28px 24px;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========== CTA ========== */
.cta {
    padding: 100px 0;
    background: var(--gradient);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 34px;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== Contacts/Map ========== */
.contacts-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.contacts-info {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid var(--border);
}

.contacts-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 36, 52, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.contact-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-text p,
.contact-text a {
    font-size: 16px;
    color: var(--text-primary);
}

.contact-text a:hover {
    color: var(--accent);
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    height: 400px;
    border: 1px solid var(--border);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========== Chat Widget ========== */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

.chat-box {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 340px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.chat-widget.active .chat-box {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--accent);
    border-radius: 20px 20px 0 0;
    color: #fff;
}

.chat-avatar {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.chat-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.chat-info p {
    font-size: 12px;
    opacity: 0.9;
    margin: 2px 0 0;
}

.chat-body {
    padding: 20px;
}

.chat-message {
    background: #f0f2f5;
    color: #1b1d22;
    padding: 14px 18px;
    border-radius: 18px 18px 18px 4px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.chat-form .form-group {
    margin-bottom: 12px;
}

.chat-form input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e3e8;
    border-radius: 12px;
    font-size: 14px;
    background: #fff;
    color: #1b1d22;
    transition: border-color 0.3s ease;
}

.chat-form input:focus {
    outline: none;
    border-color: var(--accent);
}

.chat-form .btn {
    width: 100%;
    padding: 14px;
    font-size: 14px;
}

.chat-success {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.chat-success svg {
    margin-bottom: 12px;
}

.chat-success h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1b1d22;
    margin: 0 0 8px;
}

.chat-success p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 36, 52, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(255, 36, 52, 0.5);
}

.chat-toggle svg {
    width: 28px;
    height: 28px;
    color: #fff;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.chat-icon {
    position: absolute;
}

.chat-close {
    position: absolute;
    opacity: 0;
    transform: rotate(-90deg);
}

.chat-widget.active .chat-icon {
    opacity: 0;
    transform: rotate(90deg);
}

.chat-widget.active .chat-close {
    opacity: 1;
    transform: rotate(0);
}

.chat-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: var(--accent);
    animation: chatPulse 2s ease-out infinite;
}

@keyframes chatPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

.chat-widget.active .chat-pulse {
    display: none;
}

/* ========== Footer ========== */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-card);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 15px;
    color: var(--text-secondary);
}

.footer-links h4,
.footer-contacts h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links a,
.footer-contacts a {
    display: block;
    font-size: 15px;
    color: var(--text-secondary);
    padding: 6px 0;
}

.footer-links a:hover,
.footer-contacts a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all var(--transition);
}

.social-links a:hover {
    background: var(--accent);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ========== Modal ========== */
.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: var(--radius);
    padding: 48px 40px;
    animation: modalIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    border-radius: 50%;
    color: #333;
    transition: background var(--transition);
}

.modal-close:hover {
    background: #e5e5e5;
}

.modal-body h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1c24;
    margin-bottom: 8px;
    text-align: center;
}

.modal-body > p {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 32px;
}

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

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 16px 20px;
    background: #f4f4f4;
    border: 2px solid transparent;
    border-radius: 16px;
    font-family: inherit;
    font-size: 16px;
    color: #1a1c24;
    transition: all var(--transition);
}

.modal-form input:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
}

.modal-form input::placeholder,
.modal-form textarea::placeholder {
    color: #999;
}

.modal-form textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    margin-top: 16px;
    font-size: 13px;
    color: #999;
    text-align: center;
}

.form-note a {
    color: var(--accent);
    text-decoration: underline;
}

.form-success {
    text-align: center;
    padding: 20px 0;
}

.form-success svg {
    margin: 0 auto 20px;
}

.form-success h4 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1c24;
    margin-bottom: 8px;
}

.form-success p {
    color: #666;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 32px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-visual {
        order: 1;
        margin-top: 40px;
        min-height: 300px;
    }
    
    .phones-container {
        transform: scale(0.7);
    }
    
    .floating-card {
        display: none;
    }
    
    .deco-circle {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .pricing-grid::-webkit-scrollbar { display: none; }
    
    .pricing-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .header-right .btn {
        display: none;
    }
    
    .burger {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-price {
        flex-direction: column;
        gap: 4px;
        background: rgba(255, 36, 52, 0.1);
        border: 1px solid rgba(255, 36, 52, 0.3);
        padding: 16px 24px;
        border-radius: 16px;
        display: inline-flex;
    }
    
    .price-value {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-trust {
        flex-wrap: wrap;
        gap: 16px;
        background: rgba(255, 255, 255, 0.05);
        padding: 20px;
        border-radius: 16px;
    }
    
    .trust-item {
        flex: 1;
        min-width: 80px;
        text-align: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .mobile-platforms {
        display: flex;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .stat-card {
        padding: 24px 16px;
    }
    
    .stat-value {
        font-size: 32px;
    }
    
    /* Mobile Sliders for advantages and app types */
    .advantages-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .advantages-grid::-webkit-scrollbar { display: none; }
    
    .advantage-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
    
    .types-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .types-grid::-webkit-scrollbar { display: none; }
    
    .type-card {
        flex: 0 0 70%;
        scroll-snap-align: center;
    }
    
    /* Process timeline slider */
    .process-timeline {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .process-timeline::-webkit-scrollbar { display: none; }
    
    .process-step {
        flex: 0 0 80%;
        scroll-snap-align: center;
    }
    
    /* Portfolio tabs slider */
    .portfolio-tabs {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 10px;
        padding: 0 20px 16px;
        margin: 0 -20px 24px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .portfolio-tabs::-webkit-scrollbar { display: none; }
    
    .tab-btn {
        flex: 0 0 auto;
        min-width: 100px;
        white-space: nowrap;
        scroll-snap-align: center;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* Portfolio grid slider */
    .portfolio-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .portfolio-grid::-webkit-scrollbar { display: none; }
    
    .portfolio-card {
        flex: 0 0 80%;
        scroll-snap-align: center;
        display: flex !important;
    }
    .portfolio-card[style*="display: none"] { display: none !important; }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contacts-info {
        padding: 24px;
    }
    
    .contacts-info h3 {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .map-container {
        height: 300px;
    }
    
    /* Chat widget mobile */
    .chat-widget {
        bottom: 16px;
        right: 16px;
    }
    
    .chat-box {
        width: calc(100vw - 32px);
        right: -8px;
        max-width: 340px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .modal-content {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 90px 0 50px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .hero h1 {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-price {
        padding: 12px 20px;
    }
    
    .price-label {
        font-size: 14px;
    }
    
    .price-value {
        font-size: 28px;
    }
    
    .hero-trust {
        padding: 16px;
        gap: 12px;
    }
    
    .trust-item strong {
        font-size: 22px;
    }
    
    .trust-item span {
        font-size: 12px;
    }
    
    .btn-lg {
        padding: 16px 24px;
        font-size: 15px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .advantages,
    .app-types,
    .process,
    .portfolio,
    .pricing,
    .faq,
    .cta {
        padding: 60px 0;
    }
    
    .stats {
        padding: 40px 0;
    }
    
    .stat-icon {
        font-size: 32px;
    }
    
    .stat-value {
        font-size: 28px;
    }
    
    .faq-question {
        font-size: 16px;
        padding: 20px;
    }
    
    .faq-answer-inner,
    .faq-answer p {
        padding: 0 20px 20px;
        font-size: 15px;
    }
    
    /* Mobile hero alternative visual */
    .phone-frame {
        width: 180px;
        height: 360px;
        border-radius: 32px;
    }
    
    .platform-badge {
        font-size: 11px;
        padding: 6px 12px;
    }
}

/* ========== Fallback for no-JS ========== */
@media (prefers-reduced-motion: reduce) {
    .stat-card, .advantage-card, .type-card, 
    .process-step, .portfolio-card, .pricing-card {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Ensure elements are visible if JS fails */
.no-js .stat-card, .no-js .advantage-card, .no-js .type-card,
.no-js .process-step, .no-js .portfolio-card, .no-js .pricing-card {
    opacity: 1;
    transform: none;
}

