:root {
    --bg-color: #050510;
    --text-color: #e0e0e0;
    --primary-color: #D4AF37;
    /* Gold */
    --primary-glow: rgba(212, 175, 55, 0.5);
    --secondary-color: #1a1a2e;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* 3D Canvas Background */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(5, 5, 16, 0.9), transparent);
    backdrop-filter: blur(5px);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-glow);
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), #f9d976);
    color: #000;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    margin-left: 1rem;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.main-title {
    font-family: var(--font-heading);
    font-size: 6rem;
    letter-spacing: 5px;
    background: linear-gradient(to bottom, #ffffff 30%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.text-gradient {
    background: linear-gradient(to right, var(--primary-color), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtitle {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    /* Slightly smaller than old H1 (3.5) to fit under BIBLIA */
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    line-height: 1.3;
}


/* Features */
.features {
    padding: 5rem 5%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Feature Card Hover Effects */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.glass-panel:hover,
.glass-panel.active-card {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(212, 175, 55, 0.2),
        inset 0 0 15px rgba(212, 175, 55, 0.1);
}

.glass-panel:hover::before,
.glass-panel.active-card::before {
    transform: translateX(100%);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.glass-panel:hover .icon,
.glass-panel.active-card .icon {
    transform: scale(1.2) rotate(5deg);
    text-shadow: 0 0 15px var(--primary-color);
}

/* Pricing Section */
.pricing-section {
    padding: 5rem 5%;
    text-align: center;
    position: relative;
}

.pricing-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 3rem;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #000;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-display {
    margin: 2rem 0;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
    margin-right: 5px;
}

.amount {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading);
}

.period {
    color: #a0a0b0;
    font-size: 1.1rem;
}

.price-features {
    list-style: none;
    text-align: left;
    margin: 2rem 0;
}

.price-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.check-icon {
    color: var(--primary-color);
    margin-right: 10px;
    font-weight: bold;
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px 10px rgba(212, 175, 55, 0.3);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
        transform: scale(1);
    }
}

.pricing-cta {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.2rem;
    margin-top: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #f9d976 100%);
    color: #050510;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: pulse-gold 2s infinite;
    transition: all 0.3s ease;
}

.pricing-cta:hover {
    animation: none;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
}


/* Quote Section */
.quote-section {
    padding: 4rem 5%;
    text-align: center;
}

.quote-container {
    max-width: 700px;
    margin: 0 auto;
    border-left: 4px solid var(--primary-color);
}

.quote-container blockquote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.quote-container cite {
    color: var(--primary-color);
    font-weight: 600;
}

/* Final CTA */
.final-cta {
    padding: 5rem 5%;
    text-align: center;
}

.newsletter-form {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.newsletter-form input {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    min-width: 300px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    padding: 3rem 5%;
    border-top: 1px solid var(--glass-border);
    background: #020205;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: #a0a0b0;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
    color: #555;
    margin-top: 2rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about-section {
    padding: 0 5% 5rem 5%;
    display: flex;
    justify-content: center;
}

.about-container {
    max-width: 800px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.about-container h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #fff;
}

.about-container p {
    font-size: 1.1rem;
    color: #c0c0d0;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-container strong {
    color: var(--primary-color);
}

/* Testimonials Section */
.testimonials-section {
    padding: 0 0 5rem 0;
    /* Removing side padding to allow full width carousel */
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    /* Hide scrollbar */
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 30s linear infinite;
    padding: 1rem 0;
    /* Space for hover effects */
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 1rem));
    }

    /* -50% because we duplicated content. -1rem for half gap */
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 350px;
    /* Fixed width for carousel */
    max-width: 350px;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.testimonial-text {
    font-style: italic;
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.author-info h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.author-info span {
    color: var(--primary-color);
    font-size: 0.85rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .navbar {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        margin-top: 1rem;
    }

    .nav-links a {
        margin: 0 0.5rem;
        font-size: 0.9rem;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-form input {
        width: 100%;
        min-width: unset;
    }
}