:root {
    --primary: #25D366; /* WhatsApp Green */
    --telegram: #2AABEE; /* Telegram Blue */
    --primary-glow: rgba(37, 211, 102, 0.4);
    --telegram-glow: rgba(42, 171, 238, 0.4);
    --primary-dark: #128C7E;
    --bg-dark: #070a0d;
    --bg-card: rgba(15, 23, 29, 0.7);
    --text-main: #ffffff;
    --text-muted: #8696a0;
    --border: rgba(255, 255, 255, 0.08);
    --glass: rgba(255, 255, 255, 0.03);
    --grad-hero: radial-gradient(circle at top center, rgba(18, 44, 30, 0.8) 0%, rgba(13, 33, 56, 0.8) 50%, #070a0d 100%);
    --grad-text: linear-gradient(120deg, var(--primary) 0%, var(--telegram) 100%);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Background animated glow */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    filter: blur(120px);
    z-index: -1;
    animation: floatGlow 10s ease-in-out infinite alternate;
}
body::after {
    content: '';
    position: fixed;
    bottom: -20%;
    right: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, var(--telegram-glow) 0%, transparent 60%);
    filter: blur(120px);
    z-index: -1;
    animation: floatGlow 12s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

body.no-scroll {
    overflow: hidden;
}

h1, h2, h3, h4, .logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

/* Typography Improvements */
h1 { 
    font-size: 2rem; 
    letter-spacing: -0.02em; 
}
h2 { font-size: 1.75rem; letter-spacing: -0.01em; }
p { font-size: 0.95rem; color: var(--text-muted); }

/* Buttons */
.btn-primary, .btn-primary-large {
    background: linear-gradient(135deg, var(--primary), var(--telegram));
    color: #fff;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 14px rgba(42, 171, 238, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-primary:hover, .btn-primary-large:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.btn-outline {
    border: 1px solid var(--border);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Navbar */
.navbar {
    height: 72px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 10, 13, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-menu.active {
    right: 0;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin-bottom: 48px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.5rem;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--telegram);
}

.nav-cta {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
    align-items: center;
}

.nav-cta a {
    width: 100%;
    text-align: center;
}

.mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: white;
    border-radius: 4px;
    transition: 0.3s;
}

.mobile-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    text-align: center;
    background: var(--grad-hero);
    position: relative;
}

.hero-badge {
    background: rgba(42, 171, 238, 0.1);
    color: var(--telegram);
    display: inline-block;
    padding: 8px 16px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 24px;
    border: 1px solid rgba(42, 171, 238, 0.3);
    box-shadow: 0 0 20px rgba(42, 171, 238, 0.15);
}

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

.hero p {
    margin: 0 auto 32px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

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

.hero-preview {
    display: none;
}

/* Glassmorphism Cards */
.feature-item, .case-card, .price-card, .faq-item {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Sections Global */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    margin-bottom: 16px;
}

/* Features */
.features {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature-item {
    padding: 32px;
}

.feature-item .icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-item h3 {
    margin-bottom: 12px;
}

/* Use Cases */
.use-cases {
    padding: 80px 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.case-card {
    padding: 32px;
}

/* Pricing */
.pricing {
    padding: 80px 0;
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
}

input:checked + .slider {
  background: var(--grad-text);
}

input:checked + .slider:before {
  transform: translateX(22px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.promo {
    color: var(--telegram);
    font-weight: bold;
    font-size: 0.85rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
}

.price-card {
    padding: 40px 24px;
    text-align: center;
    position: relative;
}

.price-card.popular {
    border-color: rgba(42, 171, 238, 0.4);
    background: linear-gradient(180deg, rgba(42, 171, 238, 0.05) 0%, rgba(15, 23, 29, 0.7) 100%);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(42, 171, 238, 0.2);
}

.badge-pop {
    background: var(--grad-text);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(42, 171, 238, 0.3);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin: 16px 0 4px;
}

.price-features {
    list-style: none;
    text-align: left;
    margin: 32px 0;
}

.price-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

/* FAQ */
.faq {
    padding: 80px 0;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    padding: 24px;
}
.faq-question {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #fff;
}
.faq-answer {
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
    background: rgba(7, 10, 13, 0.9);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
    margin-bottom: 48px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--telegram);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Media Queries (Tablet & Desktop) --- */
@media (min-width: 768px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    p { font-size: 1.1rem; }

    .container {
        padding: 0 40px;
    }

    .mobile-toggle { display: none; }

    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 32px;
        padding: 0;
    }

    .nav-links {
        flex-direction: row;
        margin-bottom: 0;
        gap: 32px;
    }

    .nav-links a { font-size: 1rem; color: var(--text-muted); }
    .nav-links a:hover { color: var(--telegram); }

    .nav-cta {
        flex-direction: row;
        width: auto;
    }

    .hero { padding-top: 180px; padding-bottom: 120px; }
    .hero p { max-width: 650px; font-size: 1.15rem; }
    .hero-actions { flex-direction: row; justify-content: center; }
    .hero-preview { display: block; margin-top: 80px; perspective: 1000px; }
    
    .preview-card { 
        transform: rotateX(10deg) translateY(20px); 
        max-width: 900px; 
        margin: 0 auto;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px rgba(42, 171, 238, 0.2);
        border: 1px solid var(--border);
        transition: transform 0.5s ease;
    }
    
    .preview-card:hover {
        transform: rotateX(0deg) translateY(0px);
    }
    
    .preview-card img {
        width: 100%;
        display: block;
    }

    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .cases-grid { grid-template-columns: repeat(3, 1fr); }
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }

    .footer-content { grid-template-columns: 2fr 1fr 1fr; text-align: left; }
    .footer-brand p { text-align: left; margin: 20px 0 0; }
    .footer-links ul { align-items: flex-start; }
}

@media (min-width: 1024px) {
    h1 { font-size: 4.2rem; }
    .feature-item:hover, .case-card:hover {
        transform: translateY(-8px);
        border-color: rgba(42, 171, 238, 0.4);
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }
}

/* Animations */
[data-sr-id] {
    visibility: hidden;
}
