:root {
    --primary: #2ecc71;
    --primary-dark: #27ae60;
    --primary-light: #7fdeaa;
    --dark: #1a1a1a;
    --darker: #0a0a0a;
    --gold: #ffd700;
    --gold-light: #ffe566;
    --white: #ffffff;
    --gray: #666666;
    --light-gray: #999999;
    --gradient-green: linear-gradient(135deg, var(--primary), var(--primary-dark));
    --gradient-dark: linear-gradient(135deg, var(--darker), var(--dark));
    --shadow-main: 0 4px 20px rgba(0, 0, 0, 0.25);
    --glow-green: 0 0 15px rgba(46, 204, 113, 0.7);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --radius: 12px;
    --transition: all 0.3s ease;
}

/* Базовые стили */
body {
    font-family: var(--font-main);
    background-color: var(--darker);
    color: var(--white);
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}

/* Предотвращение pull-to-refresh для Telegram WebApp */
body.globe-page {
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
    position: fixed;
    width: 100%;
    height: 100%;
}

html {
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Типографика */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-green);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--light-gray);
}

/* Шапка */
.header {
    padding: 20px 0;
    background: var(--darker);
    border-bottom: 1px solid rgba(46, 204, 113, 0.2);
}

.logo {
    text-align: center;
}

.logo h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: var(--glow-green);
    letter-spacing: 0;
    margin-bottom: 0.2rem;
}

.tagline {
    font-size: 1.1rem;
    color: var(--white);
    opacity: 0.8;
}

/* Главный экран */
.hero {
    padding: 80px 0;
    text-align: center;
    background: var(--gradient-dark);
    border-bottom: 4px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    position: relative;
    z-index: 2;
    font-weight: 900;
}

.hero-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--white);
    opacity: 0.8;
    position: relative;
    z-index: 2;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    background: var(--gradient-green);
    border-radius: var(--radius);
    box-shadow: var(--shadow-main);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(46, 204, 113, 0.4);
}

.cta-button:active {
    transform: translateY(1px);
}

/* Кнопка для карты глобуса */
a.globe-button,
.globe-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary) !important; /* Принудительное применение цвета */
    background-color: transparent;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow-main);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 2;
    margin-left: 15px;
    text-decoration: none !important; /* Убираем подчеркивание для ссылки */
    text-align: center;
}

a.globe-button:hover,
.globe-button:hover {
    background: rgba(46, 204, 113, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(46, 204, 113, 0.2);
}

a.globe-button:active,
.globe-button:active {
    transform: translateY(1px);
}

/* Секции */
section {
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Возможности */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(26, 26, 26, 0.5);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(46, 204, 113, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--glow-green);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--white);
    opacity: 0.8;
    font-size: 1rem;
}

/* Преимущества */
.benefits-list {
    margin-top: 3rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    padding: 30px;
    background: rgba(26, 26, 26, 0.5);
    border-radius: var(--radius);
    margin-bottom: 30px;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.benefit-item:hover {
    background: rgba(26, 26, 26, 0.8);
    transform: translateX(5px);
}

.benefit-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 1rem;
    opacity: 0.3;
}

.benefit-item h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: var(--white);
    opacity: 0.8;
}

/* Боты */
.bots-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 3rem;
}

.bot-feature {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(26, 26, 26, 0.5);
    border-radius: var(--radius);
    transition: var(--transition);
}

.bot-feature:hover {
    background: rgba(46, 204, 113, 0.1);
}

.bot-feature .feature-icon {
    font-size: 1.8rem;
    margin-right: 15px;
    margin-bottom: 0;
    color: var(--gold);
}

.bot-feature p {
    color: var(--white);
    font-size: 1rem;
}

.advantages {
    margin-top: 3rem;
}

.advantage {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 15px;
    background: rgba(26, 26, 26, 0.5);
    border-radius: var(--radius);
    border-left: 4px solid var(--gold);
}

.advantage-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--primary);
}

.vip-notice {
    margin-top: 3rem;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    padding: 20px;
    background: rgba(26, 26, 26, 0.7);
    border-radius: var(--radius);
    border: 1px solid var(--gold-light);
}

/* Реклама и эффект */
.ads-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 3rem;
}

.ads-feature {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background: rgba(26, 26, 26, 0.5);
    border-radius: var(--radius);
    transition: var(--transition);
}

.ads-feature:hover {
    background: rgba(46, 204, 113, 0.1);
}

.ads-feature .feature-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    margin-bottom: 0;
    color: var(--primary);
}

.effect-calculator {
    margin-top: 4rem;
    padding: 30px;
    background: rgba(26, 26, 26, 0.5);
    border-radius: var(--radius);
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.effect-calculator h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.calculator-result {
    margin-top: 2rem;
    text-align: center;
}

.calculator-result p {
    margin-bottom: 0.5rem;
}

.result {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    padding: 15px;
    margin-top: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius);
    display: inline-block;
}

/* Партнерская программа */
.important-notice {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.partner-details {
    padding: 30px;
    background: rgba(26, 26, 26, 0.5);
    border-radius: var(--radius);
}

.partner-details p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.partner-highlights {
    margin: 2rem 0;
}

.highlight {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.highlight-icon {
    font-size: 1.3rem;
    margin-right: 15px;
    color: var(--primary);
}

.partner-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    text-align: center;
    padding: 15px;
    margin: 2rem 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius);
}

.partner-bonus {
    text-align: center;
    font-size: 1.1rem;
    color: var(--white);
}

/* Подвал */
.footer {
    background: var(--darker);
    padding: 50px 0;
    text-align: center;
    margin-top: auto;
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 1rem;
    color: var(--white);
    opacity: 0.7;
    margin-bottom: 2rem;
}

.footer-cta {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

/* Адаптивность */
@media (max-width: 768px) {
  .hero-title {
      font-size: 2.2rem;
  }
    
  .section-title {
      font-size: 2rem;
  }
    
  .feature-card, .benefit-item, .bot-feature, .ads-feature {
      padding: 20px;
  }
    
  .features-grid, .bots-features, .ads-features {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
      font-size: 1.8rem;
  }
    
  .hero-text {
      font-size: 1rem;
  }
    
  .section-title {
      font-size: 1.7rem;
  }
    
  .cta-button {
      padding: 12px 30px;
      font-size: 1rem;
  }
  
  a.globe-button {
      padding: 12px 30px;
      font-size: 1rem;
      margin-left: 0;
  }
    
  .result {
      font-size: 1rem;
      padding: 10px;
  }
}