/* Base Styles */
:root {
    --primary: #6C63FF;
    --primary-light: #8A85FF;
    --primary-dark: #564FD1;
    --secondary: #FF6584;
    --dark: #2D3748;
    --darker: #1A202C;
    --light: #F7FAFC;
    --lighter: #FFFFFF;
    --gray: #A0AEC0;
    --gray-light: #E2E8F0;
    --success: #48BB78;
    --warning: #ED8936;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    background-color: var(--lighter);
    line-height: 1.6;
    overflow-x: hidden;
}

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

section {
    padding: 100px 0;
    position: relative;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

.highlight {
    color:var(--primary) ;
    /* было: var(--primary) */
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(108, 99, 255, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    text-align: center;
}

.cta-button.primary {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--shadow);
}

.cta-button.primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
    background-color: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.cta-button.secondary:hover {
    background-color: var(--primary-light);
    color: white;
    transform: translateY(-2px);
}

.cta-button.large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.cta-button.full-width {
    width: 100%;
    display: block;
}

.try-mvp-btn {
    background-color: var(--secondary);
    color: white;
}

.try-mvp-btn:hover {
    background-color: #e04f70;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark);
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--primary);
    color: white;
    border-radius: 8px;
    margin-right: 10px;
    font-family: 'Fredoka One', cursive;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 150px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 3rem;
}

.hero-visual {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    max-width: 600px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.visual-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.visual-card:hover {
    transform: translateY(-10px);
}

.dashboard-card {
    grid-column: span 2;
    background: linear-gradient(135deg, #f5f7ff, #eef1ff);
}

.goal-card {
    background: linear-gradient(135deg, #fff5f7, #ffebef);
}

.lesson-card {
    background-color: white;
}

.card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.card-title {
    font-weight: 600;
    color: var(--dark);
}

.card-value {
    font-weight: 700;
    color: var(--primary);
}

.progress-bar {
    height: 10px;
    background-color: var(--gray-light);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary);
    border-radius: 10px;
}

.categories {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category {
    display: flex;
    justify-content: space-between;
}

.category-name {
    color: var(--dark);
}

.category-amount {
    font-weight: 600;
}

.card-footer {
    margin-top: 20px;
}

.tip-bubble {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(108, 99, 255, 0.1);
    padding: 10px 15px;
    border-radius: 10px;
    color: var(--primary-dark);
    font-size: 0.9rem;
}

.tip-bubble i {
    color: var(--primary);
}

.goal-progress {
    display: flex;
    align-items: center;
    gap: 20px;
}

.progress-circle {
    position: relative;
    width: 80px;
    height: 80px;
}

.circular-chart {
    display: block;
    width: 100%;
    height: 100%;
}

.circle-bg {
    fill: none;
    stroke: var(--gray-light);
    stroke-width: 3;
}

.circle-fill {
    fill: none;
    stroke: var(--secondary);
    stroke-width: 3;
    stroke-linecap: round;
    animation: circle-fill-animation 1.5s ease-in-out;
}

@keyframes circle-fill-animation {
    0% {
        stroke-dasharray: 0, 100;
    }
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    color: var(--secondary);
}

.goal-details {
    flex: 1;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.lesson-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.lesson-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lesson-content h4 {
    margin-bottom: 10px;
    color: var(--dark);
}

.lesson-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.lesson-btn {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 8px;
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.lesson-btn.outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.lesson-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* How It Works Section */
.how-it-works {
    background-color: var(--light);
}

.steps-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.step-line {
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--primary-light);
    opacity: 0.3;
    z-index: 0;
}

.step {
    position: relative;
    margin-bottom: 60px;
    z-index: 1;
    display: flex;
    gap: 30px;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.step-content {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    flex: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.step-visual {
    margin-top: 20px;
    background-color: var(--light);
    padding: 20px;
    border-radius: 10px;
}

.visual-transaction {
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: var(--shadow);
}

.transaction-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
}

.transaction-item:last-child {
    border-bottom: none;
}

.transaction-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.transaction-details {
    flex: 1;
}

.transaction-name {
    font-weight: 600;
    display: block;
}

.transaction-date {
    font-size: 0.8rem;
    color: var(--gray);
    display: block;
}

.transaction-amount {
    font-weight: 700;
}

.transaction-item.income .transaction-amount {
    color: var(--success);
}

.visual-tip {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    box-shadow: var(--shadow);
}

.visual-tip i {
    color: var(--primary);
    font-size: 1.2rem;
}

.goal-visual {
    display: flex;
    gap: 20px;
    align-items: center;
}

.goal-meter {
    width: 30px;
    height: 150px;
    background-color: var(--gray-light);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.meter-fill {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: var(--secondary);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 5px;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
}

.goal-info {
    flex: 1;
}

.goal-info h4 {
    margin-bottom: 5px;
}

.goal-info p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 15px;
}

.goal-progress {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lesson-progress {
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.progress-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

.progress-dot.completed {
    background-color: var(--success);
    color: white;
}

.progress-dot.active {
    background-color: var(--primary);
    color: white;
}

.progress-label {
    flex: 1;
}

.progress-label span {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.start-lesson {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.start-lesson:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.try-mvp-cta {
    text-align: center;
    margin-top: 60px;
}

.try-mvp-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* Features Section */
.features {
    background-color: var(--lighter);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.feature-visual {
    margin-top: 20px;
    background-color: var(--light);
    padding: 20px;
    border-radius: 10px;
}

.budget-visual {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.budget-category {
    margin-bottom: 15px;
}

.budget-category:last-child {
    margin-bottom: 0;
}

.budget-bar {
    height: 10px;
    background-color: var(--gray-light);
    border-radius: 10px;
    margin-top: 5px;
    position: relative;
}

.budget-used {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: var(--primary);
    border-radius: 10px;
}

.budget-limit {
    position: absolute;
    right: 0;
    top: -20px;
    font-size: 0.8rem;
    color: var(--gray);
}

.savings-visual {
    display: flex;
    justify-content: center;
}

.savings-goal {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.goal-progress-circle {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}

.goal-info {
    text-align: center;
}

.goal-info span:first-child {
    font-weight: 600;
    display: block;
}

.learning-visual {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.lesson-card-small {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lesson-icon-small {
    width: 40px;
    height: 40px;
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lesson-content-small h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.lesson-content-small p {
    font-size: 0.8rem;
    color: var(--gray);
}

.lesson-progress-small {
    margin-top: 10px;
}

.progress-bar-small {
    height: 5px;
    background-color: var(--gray-light);
    border-radius: 5px;
    margin-bottom: 5px;
    overflow: hidden;
}

.progress-fill-small {
    height: 100%;
    background-color: var(--primary);
    border-radius: 5px;
}

.ai-visual {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.ai-message {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.ai-message:last-child {
    margin-bottom: 0;
}

.ai-avatar {
    width: 30px;
    height: 30px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.ai-question .ai-avatar {
    background-color: var(--secondary);
}

.ai-text {
    background-color: var(--light);
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
}

.ai-question .ai-text {
    background-color: rgba(255, 101, 132, 0.1);
}

.insights-visual {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pie-chart {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--gray-light);
}

.pie-segment {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%, 50% 50%);
    background-color: var(--color);
    transform: rotate(calc(var(--offset) * 360deg));
}

.pie-center {
    position: absolute;
    width: 60%;
    height: 60%;
    background-color: white;
    border-radius: 50%;
    top: 20%;
    left: 20%;
}

.pie-legend {
    flex: 1;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.alert-visual {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.alert-message {
    display: flex;
    gap: 15px;
    align-items: center;
}

.alert-icon {
    color: var(--warning);
    font-size: 1.5rem;
}

.alert-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.alert-content p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Try MVP Section */
.try-mvp {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.mvp-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.mvp-text {
    flex: 1;
}

.mvp-text .section-title,
.mvp-text .section-subtitle {
    text-align: left;
    margin-left: 0;
    color: white;
}

.mvp-text .section-subtitle {
    opacity: 0.9;
}

.mvp-features-list {
    margin: 30px 0;
}

.mvp-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.mvp-feature-item i {
    color: var(--secondary);
}

.mvp-form {
    flex: 1;
}

.form-card {
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark);
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
}

/* Learning Section */
.learning {
    background-color: var(--lighter);
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.learning-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
}

.learning-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.learning-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.learning-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.learning-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 30px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Pricing Section */
.pricing {
    background-color: var(--lighter);
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.pricing-card {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 400px;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.highlighted {
    border: 2px solid var(--primary);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background-color: var(--secondary);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary);
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray);
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list i {
    width: 20px;
    text-align: center;
}

.features-list .fa-check {
    color: var(--success);
}

.features-list .fa-times {
    color: var(--secondary);
}

.features-list .fa-gift {
    color: var(--primary);
}

/* FAQ Section */
.faq-items {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    background-color: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: var(--gray-light);
}

.faq-question h3 {
    font-size: 1.2rem;
    margin: 0;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        max-height 0.3s ease-out,
        padding 0.3s ease-out,
        opacity 0.2s ease-out;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 500px;
    /* Достаточно большое значение, чтобы вместить контент */
    opacity: 1;
    transition:
        max-height 0.4s ease-in,
        padding 0.4s ease-in,
        opacity 0.3s ease-in 0.1s;
    /* Небольшая задержка opacity для плавности */
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Final CTA Section */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
}

.cta-card {
    background-color: white;
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
}

.cta-card h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.cta-card p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Footer */
.footer {
    background-color: var(--darker);
    color: white;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-col p {
    opacity: 0.7;
    margin: 20px 0;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: white;
    opacity: 0.7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-col ul li i {
    margin-right: 10px;
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: white;
    opacity: 0.7;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
}

/* Background Shapes */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape-1,
.shape-2,
.shape-3 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background-color: var(--primary);
    top: -100px;
    left: -100px;
    animation: float 15s infinite ease-in-out;
}

.shape-2 {
    width: 700px;
    height: 700px;
    background-color: var(--secondary);
    bottom: -200px;
    right: -200px;
    animation: float 20s infinite ease-in-out reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background-color: var(--success);
    top: 50%;
    left: 30%;
    animation: float 12s infinite ease-in-out 2s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(50px, 50px) rotate(10deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-visual {
        position: relative;
        width: 100%;
        max-width: none;
        margin-top: 50px;
        transform: none;
        order: 2;
    }

    .hero-content {
        max-width: 100%;
        order: 1;
    }

    .mvp-content {
        flex-direction: column;
    }

    .mvp-text,
    .mvp-form {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .section-title {
        font-size: 2rem;
    }

    section {
        padding: 70px 0;
    }

    .step-line {
        left: 25px;
    }

    .step {
        gap: 15px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .visual-card {
        grid-column: span 2;
    }

    .step-content {
        padding: 20px;
    }

    .goal-visual {
        flex-direction: column;
    }

    .cta-card {
        padding: 40px 20px;
    }

    .cta-card h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    
    .step-line {
        display: none;
    }

    .step {
        flex-direction: column;
    }

    .step-number {
        margin-bottom: 15px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}
/* Roadmap Section */
.roadmap {
    background-color: var(--light);
}

.roadmap-timeline {
    max-width: 800px;
    margin: 50px auto 0;
    position: relative;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 120px;
    width: 4px;
    height: 100%;
    background-color: var(--primary-light);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-date {
    width: 120px;
    padding: 10px;
    background-color: var(--primary);
    color: white;
    border-radius: 20px;
    text-align: center;
    font-weight: 600;
    align-self: flex-start;
    flex-shrink: 0;
    margin-right: 30px;
}

.timeline-content {
    background-color: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    flex: 1;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 20px;
    width: 15px;
    height: 15px;
    background-color: var(--primary);
    border-radius: 50%;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.timeline-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.feature-badge {
    background-color: var(--light);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--dark);
}

/* Trusted Section */
.trusted {
    background-color: var(--lighter);
    padding: 80px 0;
}

.trusted-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 50px;
    align-items: center;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.logo-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.logo-item img {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.logo-item p {
    font-weight: 600;
    color: var(--dark);
    margin-top: auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .roadmap-timeline::before {
        left: 60px;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-date {
        margin-bottom: 15px;
        margin-right: 0;
        width: 100%;
    }

    .timeline-content::before {
        display: none;
    }

    .trusted-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .trusted-logos {
        grid-template-columns: 1fr;
    }
}
/* Founder Section in Footer */
.founder-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    margin: 30px 0;
}

.founder-content {
    text-align: center;
}

.founder-content h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: white;
}

.founder-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--primary);
    color: white;
}

.founder-btn:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}
.founder-btn i {
    transition: transform 0.3s ease;
}

.founder-btn:hover i {
    transform: rotate(-10deg);
}
@media (max-width: 768px) {

    .dashboard-card,
    .goal-card,
    .lesson-card {
        display: none;
    }
}