/* ===== CSS Variables ===== */
:root {
    --bg-dark: #0a0a12;
    --bg-card: #0d0d1a;
    --bg-card-hover: #14142a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0c0;
    --text-muted: #7b7b8b;
    --accent-primary: #ffa600;
    --accent-secondary: #ffb833;
    --accent-gradient: linear-gradient(135deg, #ffa600 0%, #ffb833 50%, #ffc966 100%);
    --accent-glow: rgba(255, 166, 0, 0.4);
    --border-color: rgba(255, 166, 0, 0.15);
    --success: #10b981;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-glow: 0 0 40px rgba(255, 166, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography ===== */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-glow {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 4px 20px var(--accent-glow);
    }

    50% {
        box-shadow: 0 4px 40px var(--accent-glow), 0 0 60px var(--accent-glow);
    }
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: all 0.3s ease;
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 75px;
    width: auto;
}

.nav-cta {
    padding: 10px 20px;
    background: var(--accent-gradient);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-cta:hover {
    transform: scale(1.05);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(255, 166, 0, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 166, 0, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 184, 51, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 166, 0, 0.1);
    border: 1px solid rgba(255, 166, 0, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* ===== Countdown ===== */
.countdown-wrapper {
    margin-top: 60px;
}

.countdown-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    min-width: 90px;
}

.countdown-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown-unit {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

/* ===== Scroll Indicator ===== */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    animation: scroll-bounce 1.5s infinite;
}

@keyframes scroll-bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: 0.3;
    }
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 166, 0, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Problem Section ===== */
.problem-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d0d14 100%);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.problem-card {
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.problem-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: rgba(255, 166, 0, 0.3);
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.problem-card p {
    color: var(--text-secondary);
}

/* ===== Solution Section ===== */
.solution-section {
    background: var(--bg-dark);
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.solution-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.solution-list {
    list-style: none;
}

.solution-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    font-size: 1.1rem;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-radius: 50%;
    font-weight: 700;
}

/* ===== Book Mockup ===== */
.book-mockup {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.book-image {
    max-width: 320px;
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow:
        20px 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 166, 0, 0.2);
    transition: var(--transition);
    transform: rotateY(-5deg);
}

.book-image:hover {
    transform: rotateY(0deg) scale(1.02);
    box-shadow:
        25px 25px 70px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(255, 166, 0, 0.3);
}

.book-cover {
    position: relative;
    width: 280px;
    height: 400px;
    transform-style: preserve-3d;
    transform: rotateY(-15deg);
    transition: var(--transition);
}

.book-cover:hover {
    transform: rotateY(-5deg);
}

.book-front {
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow:
        20px 20px 60px rgba(0, 0, 0, 0.4),
        -5px 0 15px rgba(0, 0, 0, 0.2);
}

.book-spine {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(90deg, #cc8500 0%, #ffa600 100%);
    transform: rotateY(90deg) translateZ(-15px);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.book-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.book-subtitle {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.book-main {
    font-size: 2.2rem;
    font-weight: 800;
}

.book-author {
    font-size: 0.95rem;
    opacity: 0.8;
}

.book-tagline {
    font-size: 0.85rem;
    opacity: 0.7;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 16px;
}

/* ===== Features Section ===== */
.features-section {
    background: linear-gradient(180deg, #0d0d14 0%, var(--bg-dark) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.feature-card.featured {
    background: linear-gradient(135deg, rgba(255, 166, 0, 0.1) 0%, rgba(255, 184, 51, 0.08) 100%);
    border-color: rgba(255, 166, 0, 0.3);
}

.feature-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--accent-gradient);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.feature-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===== Chapters Section ===== */
.chapters-section {
    background: var(--bg-dark);
}

.chapters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.chapter-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition);
}

.chapter-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 166, 0, 0.2);
}

.chapter-card.featured {
    background: linear-gradient(135deg, rgba(255, 166, 0, 0.12) 0%, rgba(255, 184, 51, 0.08) 100%);
    border-color: rgba(255, 166, 0, 0.4);
}

.chapter-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: 0.05em;
}

.chapter-card h3 {
    font-size: 1.1rem;
}

.chapter-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0a12 100%);
    overflow: hidden;
}

.testimonials-wrapper {
    position: relative;
}

.testimonials-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 20px 0;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonials-slider.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.testimonial-card {
    flex: 0 0 380px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    position: relative;
    transition: var(--transition);
    scroll-snap-align: start;
    user-select: none;
}

.testimonial-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 166, 0, 0.3);
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-primary);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-name {
    font-weight: 600;
    font-size: 1rem;
}

.testimonial-role {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Slider Navigation */
.slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--bg-dark);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--accent-primary);
    transform: scale(1.2);
}

.slider-dot:hover {
    background: var(--accent-secondary);
}

/* ===== Author Section ===== */
.author-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d0d14 100%);
}

.author-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.author-image {
    flex-shrink: 0;
}

.author-photo {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(255, 166, 0, 0.2);
    border: 3px solid rgba(255, 166, 0, 0.3);
}

.author-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.role-badge {
    padding: 8px 16px;
    background: rgba(255, 166, 0, 0.1);
    border: 1px solid rgba(255, 166, 0, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-primary);
}

.author-bio {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.author-bio strong {
    color: var(--text-primary);
}

.author-achievements {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 24px 0;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.achievement-icon {
    font-size: 1.2rem;
}

.author-stats {
    display: flex;
    gap: 40px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 120px 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(255, 166, 0, 0.08) 0%, transparent 60%),
        var(--bg-dark);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.cta-card {
    padding: 40px 30px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 166, 0, 0.3);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-glow);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cta-card:hover {
    transform: translateY(-8px);
    transition: var(--transition);
}

.cta-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ff6b6b;
    margin-bottom: 20px;
}

.cta-title {
    font-size: 2rem;
    margin-bottom: 8px;
}

.cta-subtitle {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.price-box {
    margin-bottom: 32px;
}

.price-current {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
}

.currency {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-top: 8px;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.price-original {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.original-price {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.save-badge {
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.cta-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
    padding: 0 10px;
    flex-grow: 1;
}

.cta-features li {
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

/* Responsive Pricing Grid */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
}

/* ===== Footer ===== */
.footer {
    padding: 40px 0;
    background: #08080c;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 90px;
    width: auto;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== Animations ===== */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.animate-fade-in:nth-child(1) {
    animation-delay: 0.1s;
}

.animate-fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

.animate-fade-in:nth-child(3) {
    animation-delay: 0.3s;
}

.animate-fade-in:nth-child(4) {
    animation-delay: 0.4s;
}

.animate-fade-in:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .solution-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .solution-visual {
        order: -1;
    }

    .book-cover {
        width: 220px;
        height: 320px;
        transform: rotateY(-10deg);
    }

    .author-content {
        flex-direction: column;
        text-align: center;
    }

    .author-photo {
        width: 200px;
        height: 200px;
    }

    .author-roles {
        justify-content: center;
    }

    .author-achievements {
        grid-template-columns: 1fr;
    }

    .author-stats {
        justify-content: center;
    }

    .countdown {
        flex-wrap: wrap;
    }

    .countdown-item {
        min-width: 70px;
        padding: 16px;
    }

    .countdown-value {
        font-size: 1.8rem;
    }

    .cta-card {
        padding: 40px 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .btn-large {
        padding: 16px 24px;
        font-size: 1rem;
    }

    .hero-scroll {
        display: none;
    }
}

/* ===== Modal Styles ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 480px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

/* Iframe Modal */
.modal-iframe {
    max-width: 600px;
    width: 95%;
    height: 85vh;
    max-height: 800px;
    padding: 0;
    overflow: hidden;
}

.modal-iframe .modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-iframe iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-lg);
}

.modal-title {
    font-size: 1.75rem;
    margin-bottom: 8px;
    text-align: center;
}

.modal-subtitle {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(255, 166, 0, 0.1);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.price-summary,
.form-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255, 166, 0, 0.1);
    border: 1px solid rgba(255, 166, 0, 0.3);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.price-summary .price,
.form-summary .summary-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.modal-secure {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 16px;
}

.secure-badge {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 16px;
}

/* ===== Success Modal ===== */
.success-modal {
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 24px;
    color: var(--bg-dark);
}

.success-details {
    background: var(--bg-dark);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin: 24px 0;
    text-align: left;
}

.success-details p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.success-details p:last-child {
    margin-bottom: 0;
}

.success-details strong {
    color: var(--text-primary);
}

.reference {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

/* ===== Mobile Modal ===== */
@media (max-width: 480px) {
    .modal-content {
        padding: 32px 24px;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}