:root {
    /* Цветовая палитра сайта */
    --primary: #4caf50;
    --primary-light: #70d274;
    --accent: #52339a;
    --text: #333333;
    --bg-1: #ffffff;
    --bg-2: #f3f4f6;
}


/* Базовые стили */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, sans-serif;
    color: var(--text);
    background: var(--bg-2);
}

section {
    padding: 4rem 0;
}

/* ===== Header / Hero ===== */
header {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.55)), url("img/hero.jpg") center/cover no-repeat;

}



.navbar {
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-radius: 0 0 1rem 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 0;
}

.navbar .container-fluid {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    letter-spacing: 0.3px;
    position: relative;
    transition: color 0.3s;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


.logo {
    width: 82px;
    height: 82px;
}

.main-caption {
    margin-top: 4rem;
    margin-bottom: 3rem;
    line-height: 1.3;
}

.Stonehenge {
    color: #FFD261;
}

.discount-note {
  font-size: 1.1rem;
  font-weight: 500;
  color: #6a5acd; 
  background: #f3f0ff;
  padding: 0.6rem 0.1rem;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(106, 90, 205, 0.15);
  transition: all 0.3s ease-in-out;
}

.discount-note span {
  background: linear-gradient(90deg, #7f5af0, #ff80bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.buy-btn {
    display: inline-block;
    padding: 0.75rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: var(--primary);
    border: none;
    border-radius: 2rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.buy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}


/* ===== Video ===== */
.ratio {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

/* ===== Секции с белым фоном ===== */
.bg-white-section {
    background: var(--bg-1);
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

/* ===== Заголовки ===== */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2.5rem;
    text-align: center;
    background: linear-gradient(90deg, #7f5af0, #ff80bf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



@media (min-width: 992px) {
    .section-title {
        font-size: 2.4rem;
    }
}

/* ===== About & Methodology ===== */
.lead {
    font-size: 1.1rem;
    line-height: 1.7;
}

.about,
.methodology {
    background: var(--bg-1);
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.methodology .card {
  border: none;
  border-radius: 1rem;
  transition: transform 0.2s ease;
}
.methodology .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.05);
}

.list-group-item {
    background: transparent;
    border: none;
    font-size: 1.05rem;
    padding-left: 2.2rem;
    position: relative;
}

.list-group-item::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 700;
}

/* ===== Tabs & Cards ===== */
.nav-tabs {
    border: none;
    justify-content: center;
    gap: 0.5rem;
}

.nav-tabs .nav-link {
    border-radius: 2rem;
    font-weight: 500;
    transition: color 0.3s, background 0.3s;
}

.nav-tabs .nav-link.active {
    color: #fff;
    background: var(--primary);
    border: none;
}

.card {
    background: linear-gradient(145deg, #ffffff, #f9f9f9);
    border: none;
    border-radius: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    position: relative;
    padding-bottom: 50px;
}

.card:hover {
    transform: translateY(-8px) scale(1.01);
    /* More pronounced lift and slight scale */
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
    /* Even stronger shadow on hover */
}

.card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card-title {
    font-size: 1.7rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.card-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

.card-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
}

.card-body .list-unstyled {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    padding-left: 0;
}

.card-body .list-unstyled li {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    color: var(--text);
    padding-left: 1.8rem;
    position: relative;
}

.card-body .list-unstyled li b {
    color: var(--accent);
}

.card-body .list-unstyled li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.card-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    padding: 0.85rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 0.75rem;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
}

.card-btn:hover {
    background: var(--primary-light);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
    transform: translateX(-50%) translateY(-2px);
    color: #fff;
}

.highlighted-subtitle {
  font-size: 1.35rem; 
  color: #6a5acd;    
  font-weight: 600;
  letter-spacing: 0.3px;
}

.discount-btn {
  background-color: #4caf50; 
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 8px;
  padding: 0.65rem 1.25rem;
  transition: all 0.3s ease;
}

.discount-btn:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(106, 90, 205, 0.2);
}

/* ===== Reviews ===== */
.reviews-photo {
    width: 320px;
    height: 200px;
    object-fit: cover;

}


/* ===== Footer ===== */
footer {
    background: var(--bg-1);
    border-top: 1px solid #e5e7eb;
}

.footer-text {
    font-size: 0.9rem;
}

.links {
    width: 28px;
    height: 28px;
    transition: transform 0.25s;
}

.links:hover {
    transform: translateY(-3px);
}

.highlight-box {
    background-color: #f3e5f5;
    border-left: 5px solid var(--accent);
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-box-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .highlight-box-title {
        font-size: 1.4rem;
    }

    .section-title.text-lg-start {
        text-align: left !important;
    }
}


/* ===== Новая секция "Как происходит обучение" ===== */
.how-it-works .learning-level {
    margin-bottom: 2rem;
    padding-left: 2.5rem;
    position: relative;
    text-align: left;
}

.how-it-works .learning-level:last-child {
    margin-bottom: 0;
}

.how-it-works .learning-level::before {
    content: "🎓";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary);
    font-size: 1.5rem;
}

.how-it-works .learning-level-title {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.how-it-works .learning-level-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text);
}