:root {
    --background: 0 0% 0%;
    /* Pure Black */
    --foreground: 0 0% 98%;

    --card: 0 0% 3%;
    --card-foreground: 0 0% 98%;

    --popover: 0 0% 3%;
    --popover-foreground: 0 0% 98%;

    --primary: 0 100% 35%;
    /* Strong Red #b10000 */
    --primary-foreground: 0 0% 98%;

    --secondary: 0 0% 9%;
    --secondary-foreground: 0 0% 98%;

    --muted: 0 0% 9%;
    --muted-foreground: 0 0% 63.9%;

    --accent: 0 0% 9%;
    --accent-foreground: 0 0% 98%;

    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 0 0% 98%;

    --border: 0 0% 14.9%;
    --input: 0 0% 14.9%;
    --ring: 0 72% 51%;

    --radius: 0.5rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Starfield Canvas */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: hsl(var(--foreground));
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    text-decoration: none;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, #8a0000 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(177, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ef4444 0%, #b10000 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 35px rgba(177, 0, 0, 0.6);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    transition: 0.5s;
    opacity: 0;
}

.btn-primary:hover::after {
    opacity: 1;
    left: 100%;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
    width: 100%;
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-desc {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.125rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 6rem;
    overflow: hidden;
    background: radial-gradient(circle at top center, rgba(177, 0, 0, 0.3) 0%, transparent 70%), linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    z-index: 10;
    position: relative;
}

.badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(177, 0, 0, 0.3);
    backdrop-filter: blur(4px);
}

.badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: hsl(var(--primary));
    border-radius: 50%;
    margin-right: 0.5rem;
    box-shadow: 0 0 10px hsl(var(--primary));
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff 20%, #ffcccc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(177, 0, 0, 0.4);
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-guarantee {
    margin-top: 1rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0.8;
}

.hero-visual {
    margin-top: 4rem;
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.glass-card {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(177, 0, 0, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    transform-style: preserve-3d;
    animation: float3D 6s ease-in-out infinite;
}

.glass-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dots span {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: #334155;
    margin-right: 0.25rem;
}

.dots span:nth-child(1) {
    background-color: #ef4444;
}

.dots span:nth-child(2) {
    background-color: #eab308;
}

.dots span:nth-child(3) {
    background-color: #22c55e;
}

.chat-bubble {
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    margin-bottom: 0.75rem;
    max-width: 80%;
    font-size: 0.9rem;
    transform: translateZ(20px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.chat-bubble p {
    margin: 0;
    color: inherit;
}

.received {
    background-color: #1f2937;
    color: #f1f5f9;
    border-bottom-left-radius: 0.25rem;
    border-left: 2px solid #374151;
}

.sent {
    background-color: #111827;
    color: #e2e8f0;
    margin-left: auto;
    border-bottom-right-radius: 0.25rem;
    text-align: right;
    border-right: 2px solid hsl(var(--primary));
}

.highlight {
    background-color: hsl(var(--primary));
    color: #fff;
    font-weight: 500;
    box-shadow: 0 0 15px rgba(177, 0, 0, 0.4);
}

/* Pain Section */
.pain-section {
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    perspective: 1000px;
}

.pain-card {
    background-color: rgba(20, 20, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    backdrop-filter: blur(10px);
}

.pain-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    border-color: hsl(var(--primary));
    box-shadow: 0 20px 40px rgba(177, 0, 0, 0.1);
    background-color: rgba(30, 30, 30, 0.8);
}

.pain-icon-wrapper {
    width: 3rem;
    height: 3rem;
    background-color: rgba(177, 0, 0, 0.1);
    color: hsl(var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(177, 0, 0, 0.2);
}

.pain-footer {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--primary));
    text-shadow: 0 0 10px rgba(177, 0, 0, 0.5);
}

/* Product Section */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    perspective: 1500px;
}

.ebook-mockup {
    width: 300px;
    height: 450px;
    background: linear-gradient(135deg, #111 0%, #000 100%);
    border-radius: 5px 20px 20px 5px;
    box-shadow:
        -20px 20px 50px rgba(0, 0, 0, 0.8),
        inset 2px 0 5px rgba(255, 255, 255, 0.1),
        0 0 30px rgba(177, 0, 0, 0.2);
    position: relative;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    border: 1px solid #333;
    transform: rotateY(-25deg) rotateX(10deg);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
}

.ebook-mockup:hover {
    transform: rotateY(0) rotateX(0) scale(1.1) translateZ(50px);
    box-shadow: 0 0 60px rgba(177, 0, 0, 0.4);
}

.book-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: hsl(var(--primary));
    margin-bottom: 1rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(177, 0, 0, 0.5);
    transform: translateZ(30px);
}

.book-author {
    font-size: 1rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    transform: translateZ(20px);
}

.book-icon {
    width: 4rem;
    height: 4rem;
    color: #fff;
    opacity: 0.9;
    transform: translateZ(40px);
    filter: drop-shadow(0 0 10px rgba(177, 0, 0, 0.8));
}

.book-spine {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(to right, #222, #000);
    border-radius: 5px 0 0 5px;
    transform: translateX(-19px) rotateY(-90deg);
    transform-origin: right;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.feature-list li i {
    color: hsl(var(--primary));
    filter: drop-shadow(0 0 5px rgba(177, 0, 0, 0.6));
}

/* Learn Section */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    perspective: 1000px;
}

.feature-card {
    background-color: rgba(20, 20, 20, 0.4);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    background-color: rgba(30, 30, 30, 0.8);
    border-color: hsl(var(--primary));
    transform: translateZ(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-icon {
    color: hsl(var(--primary));
    margin-bottom: 1rem;
    width: 2rem;
    height: 2rem;
    filter: drop-shadow(0 0 8px rgba(177, 0, 0, 0.5));
}

/* Scenarios / Tabs */
.tabs-container {
    max-width: 800px;
    margin: 0 auto;
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid hsl(var(--border));
    color: hsl(var(--muted-foreground));
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.tab-btn:hover {
    color: hsl(var(--foreground));
    border-color: hsl(var(--primary));
    box-shadow: 0 0 10px rgba(177, 0, 0, 0.2);
}

.tab-btn.active {
    background-color: hsl(var(--primary));
    color: #fff;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 20px rgba(177, 0, 0, 0.4);
}

.tab-content {
    display: none;
    animation: fadeIn3D 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tab-content.active {
    display: block;
}

.scenario-box {
    background-color: rgba(20, 20, 20, 0.8);
    padding: 2rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 2rem;
    border: 1px solid rgba(177, 0, 0, 0.1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.scenario-situation,
.scenario-solution {
    flex: 1;
}

.scenario-situation h4 {
    color: #f87171;
    margin-bottom: 0.5rem;
}

.scenario-solution h4 {
    color: #4ade80;
    margin-bottom: 0.5rem;
}

.scenario-arrow {
    color: hsl(var(--muted-foreground));
}

/* Offer Section */
.offer-section {
    padding: 6rem 0;
    position: relative;
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background-color: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(177, 0, 0, 0.3);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(177, 0, 0, 0.15);
    position: relative;
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: scale(1.02);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: hsl(var(--primary));
    box-shadow: 0 0 20px hsl(var(--primary));
}

.pricing-header {
    padding: 2rem;
    text-align: center;
    background-color: rgba(20, 20, 20, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.offer-tag {
    background-color: rgba(177, 0, 0, 0.2);
    color: hsl(var(--primary));
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: inline-block;
    border: 1px solid rgba(177, 0, 0, 0.3);
    box-shadow: 0 0 10px rgba(177, 0, 0, 0.2);
}

.pricing-body {
    padding: 2rem;
    text-align: center;
}

.price-box {
    margin-bottom: 2rem;
}

.old-price {
    display: block;
    text-decoration: line-through;
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
}

.new-price {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    text-shadow: 0 0 20px rgba(177, 0, 0, 0.5);
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
    margin-right: 0.25rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
    display: inline-block;
}

.pricing-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li i {
    color: hsl(var(--primary));
    width: 1.25rem;
    height: 1.25rem;
    filter: drop-shadow(0 0 5px rgba(177, 0, 0, 0.5));
}

.trust-badges {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    flex-wrap: wrap;
}

.trust-badges span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* FAQ */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    text-align: left;
    color: hsl(var(--foreground));
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}

.accordion-header:hover {
    color: hsl(var(--primary));
}

.accordion-icon {
    transition: transform 0.3s;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
    color: hsl(var(--primary));
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-right: 2rem;
}

.accordion-content p {
    padding-bottom: 1.5rem;
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
    text-align: center;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    background-color: rgba(0, 0, 0, 0.8);
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: hsl(var(--primary));
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(177, 0, 0, 0.7);
    }

    70% {
        transform: scale(1.1);
        opacity: 0.8;
        box-shadow: 0 0 0 10px rgba(177, 0, 0, 0);
    }

    100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(177, 0, 0, 0);
    }
}

@keyframes float3D {
    0% {
        transform: rotateX(0) rotateY(0) translateY(0);
    }

    25% {
        transform: rotateX(2deg) rotateY(2deg) translateY(-10px);
    }

    50% {
        transform: rotateX(0) rotateY(0) translateY(0);
    }

    75% {
        transform: rotateX(-2deg) rotateY(-2deg) translateY(-5px);
    }

    100% {
        transform: rotateX(0) rotateY(0) translateY(0);
    }
}

@keyframes fadeIn3D {
    from {
        opacity: 0;
        transform: translateY(20px) rotateX(10deg);
    }

    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .hero-section {
        padding-top: 6rem;
    }

    .split-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .product-info h2 {
        text-align: center;
    }

    .feature-list {
        display: inline-block;
        text-align: left;
    }

    .scenario-box {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .scenario-arrow {
        transform: rotate(90deg);
    }

    .btn-xl {
        width: 100%;
    }
}