:root {
    /* Основные цвета градиента */
    --pink-start: #ff758c; /* Розовый оттенок начала */
    --purple-end: #ff7eb3;  /* Пурпурный оттенок конца */
    --main-grad: linear-gradient(135deg, var(--pink-start) 0%, var(--purple-end) 100%);
    
    /* Дополнительные цвета */
    --dark: #2d3436;
    --light: #f9f9f9;
    --text: #636e72;
    --border: #dfe6e9;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Общие классы для градиентов */
.grad-bg {
    background-image: linear-gradient( 135deg, #F5CBFF 10%, #C346C2 100%);
    color: var(--white);
}

.grad-btn {
    background-image: linear-gradient(135deg, #FF99FF 0%, #A326A2 100%);
    /* Белый текст для максимального контраста */
  color: white;
  
  /* Стилизация формы */
  padding: 12px 24px;
  border: none;
  border-radius: 25px; /* Скругленные края */
  font-family: sans-serif;
  font-weight: bold;
  cursor: pointer;
  
  /* Мягкая тень для объема */
  box-shadow: 0 4px 15px rgba(163, 38, 162, 0.4);
  
  /* Плавный переход для ховера */
  transition: all 0.3s ease;
}

.grad-btn:hover {
    background-image: linear-gradient(135deg, #FFB3FF 0%, #B336B2 100%);
  /* Увеличиваем тень */
  box-shadow: 0 6px 20px rgba(163, 38, 162, 0.6);
  /* Легкое поднятие */
  transform: translateY(-2px);
}

/* Header */
.header {
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
}

.logo span {
    background: var(--main-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo img {
    height: 38px;
}

.nav a {
    text-decoration: none;
    color: var(--text);
    margin-left: 30px;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--pink-start);
}

.btn-reg {
    padding: 10px 20px;
    border-radius: 50px;
}

/* Hero Section */
.hero {
    padding: 100px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 19px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 10px 20px rgba(255, 117, 140, 0.3);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    height: 300px;
}

.img-placeholder {
    width: 100%;
    max-width: 450px;
    height: 350px;
    background: var(--white);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Эффект градиентной границы */
.grad-border::before {
    content: '';
    position: absolute;
    top: -5px; bottom: -5px; left: -5px; right: -5px;
    background: var(--main-grad);
    border-radius: 35px;
    z-index: -1;
}

.cloud-icon {
    font-size: 120px;
}

/* Tariffs */
.tariffs {
    padding: 100px 0;
}

.tariffs h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text);
    margin-bottom: 60px;
    font-size: 18px;
}

.table-wrapper {
    overflow-x: auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.tariff-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 600px;
}

.tariff-table th, .tariff-table td {
    padding: 25px;
    border-bottom: 1px solid var(--border);
}

.tariff-table th {
    background: var(--light);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark);
}

.featured {
    background-color: #fff9fa;
    position: relative;
}

.grad-border-row::after {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    border: 2px solid;
    border-image: var(--main-grad) 1;
    pointer-events: none;
}

.plan-name {
    font-weight: 700;
    color: var(--dark);
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.btn-select {
    padding: 10px 25px;
    border: 2px solid var(--border);
    background: var(--white);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    color: var(--text);
}

.btn-select:hover {
    border-color: var(--pink-start);
    color: var(--pink-start);
}

.btn-select.active {
    border: none;
}

/* Footer */
.footer {
    padding: 80px 0;
}

.footer .logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-info p {
    opacity: 0.8;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer h4 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
}

.footer-links a, .footer-social a {
    color: var(--white);
    text-decoration: none;
    margin-bottom: 12px;
    display: block;
    opacity: 0.8;
    transition: opacity 0.2s;
    font-size: 15px;
}

.footer-links a:hover, .footer-social a:hover {
    opacity: 1;
}