/* Main Variables */
:root {
    --primary-color: #8e44ad;
    --secondary-color: #da1b60;
    --accent-color: #f39c12;
    --dark-color: #2c3e50;
    --light-color: #f5f5f5;
    --text-color: #333;
    --white-color: #fff;
    --background-gradient: linear-gradient(135deg, rgba(142, 68, 173, 0.1), rgba(218, 27, 96, 0.1));
    --button-gradient: linear-gradient(to right, #8e44ad, #da1b60);
    --button-gradient-secondary: linear-gradient(to right, #3498db, #2980b9);
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

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

section {
    padding: 80px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2 span {
    color: var(--secondary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    box-shadow: var(--box-shadow);
}

.btn-primary {
    background: var(--button-gradient);
    color: var(--white-color);
    margin-right: 15px;
}

.btn-secondary {
    background: transparent;
    color: var(--white-color);
    border: 2px solid var(--white-color);
}

.btn-generate {
    background: var(--button-gradient);
    color: var(--white-color);
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    font-size: 1.1rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(to right, #9b59b6, #e91e63);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

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

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

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

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

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: calc(100vh - 70px);
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white-color);
    background-image: url('/assets/img/bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(0, 0, 0, 0.8));
    z-index: -1;
}

.hero-content {
    max-width: 650px;
    animation: fadeIn 1s ease-in-out;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Benefits Section */
.benefits {
    background: var(--background-gradient);
    position: relative;
}

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

.benefit-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-gradient);
    border-radius: 50%;
    font-size: 28px;
    color: var(--primary-color);
}

.benefit-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* How It Works Section */
.how-it-works {
    background-color: #f9f9f9;
}

.steps {
    max-width: 800px;
    margin: 0 auto;
}

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

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

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 25px;
    width: 2px;
    height: calc(100% + 20px);
    background-color: var(--primary-color);
    opacity: 0.3;
}

.step-number {
    min-width: 50px;
    height: 50px;
    background: var(--button-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 20px;
    position: relative;
    z-index: 1;
}

.step-content {
    padding-top: 5px;
}

.step-content h3 {
    margin-bottom: 10px;
}

/* Generator Section */
.generator-section {
    background: linear-gradient(180deg, #f5f5f5 0%, #e4e4e4 100%);
    padding: 80px 0;
}

.generator-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-container {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.type-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.type-btn {
    background-color: #eee;
    color: var(--text-color);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.type-btn.active {
    background: var(--button-gradient);
    color: var(--white-color);
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(142, 68, 173, 0.1);
}

textarea {
    height: 120px;
    resize: vertical;
}

.privacy-info {
    margin-top: 15px;
    color: #777;
    text-align: center;
}

.loader {
    display: none;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    margin: 20px auto;
    animation: spin 1s linear infinite;
}

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

/* Mantra Result */
.mantra-result {
    width: 100%;
}

.mantra-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.mantra-display {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    padding: 20px;
    margin: 20px 0;
    background-color: rgba(142, 68, 173, 0.05);
    border-radius: 10px;
    position: relative;
}

.mantra-display::before, .mantra-display::after {
    content: '"';
    font-size: 2.5rem;
    color: var(--secondary-color);
    opacity: 0.2;
    position: absolute;
}

.mantra-display::before {
    top: 0;
    left: 10px;
}

.mantra-display::after {
    bottom: -10px;
    right: 10px;
}

.mantra-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 20px 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-item span {
    font-size: 1.5rem;
    font-weight: 600;
}

.stat-item small {
    color: #777;
}

.mantra-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.action-btn {
    background-color: #f5f5f5;
    color: var(--text-color);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn:hover {
    background-color: #e0e0e0;
}

.action-btn i {
    font-size: 1.1rem;
}

.auto-chant-info {
    margin-top: 25px;
    padding: 15px;
    background-color: rgba(243, 156, 18, 0.1);
    border-radius: 8px;
    color: #666;
}

.auto-chant-info i {
    color: var(--accent-color);
    margin-right: 5px;
}

/* Testimonial Section */
.testimonials {
    background-color: var(--white-color);
    position: relative;
}

.testimonials-slider {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    flex: 0 0 auto;
    width: calc(33.333% - 20px);
    min-width: 280px;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    position: relative;
}

.testimonial-content p::before, .testimonial-content p::after {
    content: '"';
    font-size: 1.5rem;
    color: var(--secondary-color);
    opacity: 0.3;
}

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

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

.testimonial-author h4 {
    margin-bottom: 0;
    font-size: 1rem;
}

.testimonial-author p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #666;
}

.testimonial-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid #eee;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat p {
    color: #666;
    margin-bottom: 0;
}

/* FAQ Section */
.faq {
    background-color: #f9f9f9;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: var(--white-color);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(142, 68, 173, 0.03);
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.faq-toggle {
    font-size: 1rem;
    transition: var(--transition);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Research Links Section */
.research-links {
    background: var(--background-gradient);
}

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

.research-link {
    display: flex;
    align-items: center;
    background-color: var(--white-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-color);
}

.research-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.link-icon {
    min-width: 50px;
    height: 50px;
    background: var(--background-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 15px;
}

.link-content {
    flex-grow: 1;
}

.link-content h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.link-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

.link-arrow {
    margin-left: 10px;
    color: var(--secondary-color);
    opacity: 0.7;
    transition: var(--transition);
}

.research-link:hover .link-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/cta-bg.jpg') no-repeat center center/cover;
    text-align: center;
    color: var(--white-color);
    padding: 100px 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #eee;
    padding: 80px 0 30px;
}

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

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--white-color);
    display: inline-block;
    margin-bottom: 15px;
}

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

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

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

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

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #bbb;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--white-color);
    padding-left: 5px;
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow: auto;
}

.modal-content {
    position: relative;
    background-color: var(--white-color);
    margin: 10% auto;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: modalOpen 0.3s ease-out;
}

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

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: #aaa;
    cursor: pointer;
    transition: var(--transition);
}

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

.share-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    background-color: #f5f5f5;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-color);
}

.share-option:hover {
    background-color: #eee;
    transform: translateY(-3px);
}

.share-option i {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.share-option:nth-child(1) i {
    color: #25D366;
}

.share-option:nth-child(2) i {
    color: #4267B2;
}

.share-option:nth-child(3) i {
    color: #1DA1F2;
}

.share-option:nth-child(4) i {
    color: #DB4437;
}

.share-option:nth-child(5) i {
    color: var(--secondary-color);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: floatUp 0.6s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-links {
        gap: 1.5rem;
    }
    
    .hero-content {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        background-color: rgba(255, 255, 255, 0.98);
        transition: left 0.3s ease;
        z-index: 100;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .btn-primary, .btn-secondary {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial {
        width: 100%;
    }
    
    .testimonial-stats {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .modal-content {
        margin: 15% auto;
        padding: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        max-width: 100%;
    }
}