/* --- CSS Variables & Resets --- */
:root {
    --primary-color: #d49a89; /* Elegant blush/rose gold */
    --hover-color: #c08574;
    --dark-bg: #1a1a1a;
    --text-primary: #333333;
    --text-secondary: #666666;
    --light-bg: #FCF9F9;
    --white: #ffffff;
    --font-heading: 'Tenor Sans', sans-serif;
    --font-body: 'Jost', sans-serif;
    --border-radius: 16px;
    --transition: all 0.3s ease;
    --shadow-light: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-strong: 0 20px 40px rgba(212, 154, 137, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: var(--white); }

/* Typography */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    color: var(--text-primary);
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary-color);
}

.section-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-title span {
    color: var(--primary-color);
    font-style: italic;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-body);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-strong);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--hover-color);
    transform: translateY(-3px);
    box-shadow: 0 25px 50px rgba(212, 154, 137, 0.3);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
    font-size: 1.1rem;
    padding: 16px;
}

/* Animations */
.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 154, 137, 0.7); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 15px rgba(212, 154, 137, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 154, 137, 0); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.slide-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}


/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

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

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

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

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

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--light-bg) 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 154, 137, 0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: #fff0ec;
    color: #b75e47;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.hero-cta-box {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    display: inline-block;
    border: 1px solid rgba(212, 154, 137, 0.1);
}

.price-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.old-price {
    font-size: 1.5rem;
    color: #999;
    text-decoration: line-through;
}

.new-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    transform: rotate(2deg);
    transition: var(--transition);
}

.hero-image:hover img {
    transform: rotate(0deg) scale(1.02);
}

.floating-badge {
    position: absolute;
    background: var(--white);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-light);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    animation: float 4s ease-in-out infinite;
}

.floating-badge i {
    color: #FFD700;
    font-size: 1.2rem;
}

.badge-1 {
    top: -20px;
    right: -20px;
}

.badge-2 {
    bottom: 30px;
    left: -30px;
    animation-delay: 2s;
}

.badge-2 i {
    color: var(--primary-color);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Program Section */
.program {
    padding: 100px 0;
    background-color: var(--white);
}

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

.program-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(212, 154, 137, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.card-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.program-card:hover .card-icon {
    background-color: var(--primary-color);
}

.program-card:hover .card-icon i {
    color: var(--white);
}

.program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.program-card p {
    color: var(--text-secondary);
}


/* Instructor Section */
.instructor {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.instructor-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.instructor-image {
    position: relative;
}

.instructor-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-strong);
}

.instructor-experience {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
}

.instructor-experience strong {
    font-size: 2rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    line-height: 1;
}

.instructor-name {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.instructor-bio {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.instructor-achievements li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-weight: 500;
}

.instructor-achievements i {
    color: var(--hover-color);
    font-size: 1.5rem;
    margin-top: 2px;
}

/* Certificate Section */
.certificate {
    padding: 100px 0;
    background: var(--white);
}

.container-certificate {
    background: var(--text-primary);
    border-radius: 30px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    color: var(--white);
}

.cert-content .section-title {
    color: var(--white);
}

.cert-content p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
}

.cert-mockup {
    position: relative;
    padding: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.cert-mockup img {
    border: 5px solid var(--white);
    border-radius: 4px;
}

/* Reviews */
.reviews {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.reviews-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.review-rating {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 30px;
    position: relative;
}

.review-text::before {
    content: '"';
    font-family: var(--font-heading);
    font-size: 4rem;
    color: rgba(212, 154, 137, 0.2);
    position: absolute;
    top: -20px;
    left: -10px;
    z-index: 0;
}

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

.review-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.review-author h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.review-author span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: url('https://images.unsplash.com/photo-1519014816548-bf5fe059e98b?auto=format&fit=crop&q=80&w=1920') center/cover no-repeat;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26, 26, 26, 0.85); /* Dark overlay */
}

.container-cta {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.cta-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.final-offer-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.offer-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.offer-header h3 {
    font-size: 1.5rem;
}

.offer-price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 30px;
}

.offer-price .old {
    font-size: 1.8rem;
    color: #999;
    text-decoration: line-through;
}

.offer-price .new {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.offer-includes {
    margin-bottom: 30px;
}

.offer-includes li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.offer-includes i {
    color: #4CAF50;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.offer-includes li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    border-bottom: 1px solid #f0f0f0;
}

.offer-includes li:last-child {
    border-bottom: none;
}

.item-price {
    margin-left: auto;
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
    white-space: nowrap;
    flex-shrink: 0;
}

.offer-total {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.offer-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.offer-total-old {
    text-decoration: line-through;
    color: #ff6b6b;
    font-weight: 600;
}

.offer-total-final {
    border-top: 2px solid var(--primary-color);
    margin-top: 8px;
    padding-top: 12px;
}

.offer-total-new {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Countdown Timer */
.countdown-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1f3d 100%);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 24px;
    text-align: center;
}

.countdown-banner p {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.countdown-timer .time-block {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    border-radius: 10px;
    padding: 10px 14px;
    min-width: 60px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.15);
}

.countdown-timer .time-value {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    font-family: var(--font-heading);
}

.countdown-timer .time-label {
    display: block;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.secure-checkout {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer .logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-text {
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
    max-width: 300px;
}

.footer-email {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 500;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
}

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

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* Pain Points Section */
.pain-points { padding: 100px 0; background: var(--white); }
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.pain-card { background: var(--light-bg); padding: 50px 40px; border-radius: var(--border-radius); transition: var(--transition); border: 1px solid rgba(212, 154, 137, 0.1); }
.pain-card:hover { transform: translateY(-10px); background: var(--white); box-shadow: var(--shadow-strong); }
.pain-icon i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 20px; font-weight: 300; }
.pain-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--text-primary); }
.pain-card p { color: var(--text-secondary); margin-bottom: 30px; font-size: 1.05rem; }
.solution { border-top: 1px solid rgba(212, 154, 137, 0.2); padding-top: 20px; font-size: 0.95rem; color: var(--text-primary); display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.solution i { font-size: 1.2rem; color: var(--primary-color); margin-top: 2px; }
.solution span { font-weight: 600; color: var(--primary-color); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }

/* Bonuses Section */
.bonuses { padding: 100px 0; background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%); }
.bonus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 50px; }
.bonus-card { background: var(--white); padding: 30px; border-radius: var(--border-radius); box-shadow: var(--shadow-light); border: 1px solid rgba(212, 154, 137, 0.2); position: relative; overflow: hidden; }
.bonus-card::before { content: 'БОНУС'; position: absolute; top: 15px; right: -30px; background: var(--primary-color); color: white; font-size: 0.7rem; font-weight: 700; padding: 5px 30px; transform: rotate(45deg); letter-spacing: 1px; }
.bonus-price { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 15px; }
.bonus-price span { text-decoration: line-through; color: #ff6b6b; font-weight: 600; }
.bonus-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--primary-color); }
.bonus-card p { font-size: 0.95rem; color: var(--text-secondary); }
.total-value h3 { font-size: 2.5rem; }
.total-value .strike { text-decoration: line-through; color: #999; font-size: 1.8rem; margin-right: 15px; }
.total-value span:last-child { color: var(--primary-color); font-weight: 700; font-size: 3.5rem; }

/* Checkout Form */
.checkout-form { margin-top: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.95rem; color: var(--text-primary); }
.form-group input { width: 100%; padding: 14px 20px; border: 1px solid #ddd; border-radius: 8px; font-family: var(--font-body); font-size: 1rem; transition: var(--transition); background: #fafafa; }
.form-group input:focus { outline: none; border-color: var(--primary-color); background: var(--white); box-shadow: 0 0 0 4px rgba(212, 154, 137, 0.1); }
.checkbox-group { margin-top: 20px; display: flex; align-items: flex-start; gap: 10px; }
.checkbox-group input { margin-top: 4px; accent-color: var(--primary-color); cursor: pointer; }
.checkbox-group label { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.4; }
.checkbox-group a { color: var(--primary-color); text-decoration: underline; }

/* Stats Section */
.stats {
    padding: 60px 0;
    background: var(--light-bg);
}
.container-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}
.stat-item {
    flex: 1;
    min-width: 250px;
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(212, 154, 137, 0.2);
    transition: var(--transition);
}
.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
    margin-bottom: 10px;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .instructor-container {
        grid-template-columns: 1fr;
    }
    .hero {
        padding: 120px 0 60px;
    }
    .hero-title {
        font-size: 3rem;
    }
    .container-certificate {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }
    .hero-image {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .hero {
        padding: 100px 0 40px;
    }
    .hero-title {
        font-size: 2.2rem;
        text-align: center;
    }
    .hero-subtitle {
        text-align: center;
        margin: 0 auto 2rem;
    }
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .hero-cta-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .btn {
        width: 100%;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .pain-points, .program, .bonuses, .instructor, .certificate, .reviews, .cta-section {
        padding: 60px 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-email {
        justify-content: center;
    }
    .floating-badge {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    .badge-1 {
        top: -10px;
        right: -10px;
    }
    .badge-2 {
        bottom: 10px;
        left: -10px;
    }
}

/* Payment Modal */
.payment-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.payment-modal {
    background: var(--white);
    border-radius: 24px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    font-size: 1.5rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-body {
    padding: 30px;
}

.stripe-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.stripe-input-wrapper {
    padding: 14px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
    transition: var(--transition);
}

.stripe-input-wrapper:focus-within {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(212, 154, 137, 0.1);
}

.stripe-errors {
    color: #e53e3e;
    font-size: 0.9rem;
    margin-top: 10px;
    display: none;
}

.stripe-errors.show {
    display: block;
}

.payment-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.payment-success h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.payment-success p {
    color: var(--text-secondary);
}

.payment-error {
    text-align: center;
    padding: 30px 20px;
    background: #fdd;
    border-radius: 12px;
    border: 1px solid #f5a5a5;
}

#errorMessage {
    color: #e53e3e;
    margin-bottom: 20px;
    font-weight: 500;
}

.payment-loading {
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.payment-loading p {
    color: var(--text-secondary);
    font-weight: 500;
}
