:root {
    --primary: #00A8AD;
    --primary-dark: #008a8e;
    --primary-light: #00c2c7;
    --bg-light: #ffffff;
    --bg-lighter: #f8f9fa;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --text: #1a1a1a;
    --text-muted: #6b7280;
    --border: rgba(0, 168, 173, 0.15);
    --glass: rgba(255, 255, 255, 0.8);
    --shadow: rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 50%, #ffffff 100%);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px var(--shadow);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: none;
    color: var(--text);
    letter-spacing: -0.5px;
}

.logo-highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 168, 173, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 173, 0.4);
}

.btn-secondary {
    background: var(--bg-lighter);
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-light);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 168, 173, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.badge {
    display: inline-block;
    background: rgba(0, 168, 173, 0.1);
    border: 1px solid rgba(0, 168, 173, 0.3);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem auto;
    max-width: 600px;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    perspective: 1000px;
}

.phone-frame {
    width: 320px;
    height: 650px;
    background: #000;
    border-radius: 40px;
    border: 12px solid #1a1a1a;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px #333;
    position: relative;
    overflow: hidden;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s;
}

.phone-frame:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.phone-notch {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #0E1621;
    display: flex;
    flex-direction: column;
}

.telegram-header {
    background: rgba(23, 33, 43, 0.95);
    padding: 3rem 1rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.tg-status {
    text-align: center;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.tg-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tg-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.tg-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.tg-online {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.telegram-chat {
    flex: 1;
    background: #0E1621;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 400 400"><defs><style>.pattern{fill:none;stroke:%23ffffff;stroke-width:0.5;opacity:0.03;}</style></defs><g class="pattern"><path d="M50,50 Q60,40 70,50 T90,50"/><circle cx="150" cy="80" r="15"/><path d="M200,60 L220,80 L200,100 L180,80 Z"/><path d="M280,70 Q290,60 300,70"/><circle cx="350" cy="90" r="10"/><path d="M40,150 L60,170 M60,150 L40,170"/><circle cx="120" cy="160" r="12"/><path d="M190,140 Q200,130 210,140 T230,140"/><path d="M300,150 L310,160 L300,170"/><circle cx="360" cy="155" r="8"/><path d="M70,230 Q80,220 90,230"/><circle cx="140" cy="240" r="14"/><path d="M220,220 L230,230 L220,240 L210,230 Z"/><path d="M310,235 Q320,225 330,235"/><circle cx="380" cy="240" r="11"/><path d="M50,310 L70,330 M70,310 L50,330"/><circle cx="130" cy="320" r="13"/><path d="M200,300 Q210,290 220,300 T240,300"/><path d="M290,315 L300,325 L290,335"/><circle cx="350" cy="320" r="9"/></g></svg>');
    background-size: 400px 400px;
    background-repeat: repeat;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Telegram message bubble - matching real app */
.tg-message {
    background: #182533;
    border-radius: 12px;
    overflow: hidden;
    max-width: 85%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    animation: messageSlide 0.3s ease-out;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tg-message-header {
    padding: 0.6rem 0.75rem 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tg-message-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.tg-message-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.tg-message-body {
    padding: 0.6rem 0.75rem;
    font-size: 0.8rem;
    line-height: 1.5;
}

.tg-message-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.25rem;
    color: #8b98a5;
}

.tg-message-row strong {
    color: #ffffff;
}

.tg-message-price {
    color: #00A8AD;
    font-weight: 700;
    font-size: 0.95rem;
}

.tg-message-time {
    font-size: 0.7rem;
    color: #6c7883;
    text-align: right;
    padding: 0 0.75rem 0.5rem;
}

.tg-message-button {
    background: rgba(0, 168, 173, 0.12);
    border-top: 1px solid rgba(0, 168, 173, 0.08);
    padding: 0.65rem;
    text-align: center;
    color: #00A8AD;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s;
}

.tg-message-button:hover {
    background: rgba(0, 168, 173, 0.18);
}


/* Sections */
.section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header.center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Problem Section */
.problem-section {
    background: var(--bg-lighter);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s;
    box-shadow: 0 4px 20px var(--shadow);
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 168, 173, 0.15);
    border-color: var(--primary);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.problem-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s;
    box-shadow: 0 4px 20px var(--shadow);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 168, 173, 0.15);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.feature-card p {
    color: var(--text-muted);
}

/* How It Works */
.how-it-works {
    background: var(--bg-light);
}

.steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.3;
    min-width: 80px;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.step-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Use Cases */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.use-case {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 20px var(--shadow);
}

.use-case:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 168, 173, 0.15);
    border-color: var(--primary);
}

.use-case-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.use-case h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.use-case p {
    color: var(--text-muted);
}

/* Pricing */
.pricing {
    background: var(--bg-lighter);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s;
    box-shadow: 0 4px 20px var(--shadow);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.price-period {
    font-size: 1rem;
    color: var(--text-muted);
}

.price-save {
    font-size: 0.85rem;
    color: var(--primary);
    margin-top: 0.5rem;
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 168, 173, 0.1) 0%, transparent 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--bg-lighter);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.footer-column a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--text);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: flex;
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 8rem 0 4rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .phone-frame {
        width: 280px;
        height: 570px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}