/* CSS Variables */
:root {
    --primary-purple: #6B46C1;
    --accent-gold: #F59E0B;
    --dark-cosmos: #1E1B4B;
    --light-lavender: #E9D5FF;
    --white: #FFFFFF;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --success-green: #10B981;
    --shadow-color: rgba(107, 70, 193, 0.15);
    --cosmos-gradient: linear-gradient(135deg, #6B46C1 0%, #9333EA 50%, #EC4899 100%);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-purple);
    text-decoration: none;
    transition: all 0.3s ease;
    background: var(--cosmos-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo:hover {
    transform: scale(1.05);
}

/* Navigation */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-icon span {
    width: 25px;
    height: 3px;
    background: var(--primary-purple);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-purple);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .menu-icon {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .menu-toggle:checked ~ .nav-menu {
        left: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('./img/H05pS7.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(30, 27, 75, 0.7), rgba(107, 70, 193, 0.5));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 20px;
    color: var(--light-lavender);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .hero {
        height: 80vh;
        background-attachment: scroll;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), #FBBF24);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
    animation: pulse 2s infinite;
}

.btn-secondary {
    background: var(--primary-purple);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--cosmos-gradient);
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary-purple);
    margin-bottom: 50px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Alternating Section Backgrounds */
.section-light {
    background: var(--white);
}

.section-lavender {
    background: var(--light-lavender);
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.benefit-card h3 {
    color: var(--primary-purple);
    margin-bottom: 15px;
    font-size: 22px;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    border: 2px solid var(--primary-purple);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-color);
    border-color: var(--accent-gold);
}

.service-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-card h3 {
    color: var(--primary-purple);
    font-size: 24px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* How It Works Section */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 50px auto 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    animation: fadeInLeft 0.8s ease;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--cosmos-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.step-content h3 {
    color: var(--primary-purple);
    margin-bottom: 10px;
    font-size: 22px;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto;
    }
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow-color);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 80px;
    color: var(--light-lavender);
    font-weight: 700;
    line-height: 1;
}

.rating {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.star {
    color: var(--accent-gold);
    font-size: 20px;
}

.testimonial-text {
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    color: var(--primary-purple);
    font-weight: 600;
}

/* Order Form Section */
.order-form-section {
    background: linear-gradient(135deg, var(--light-lavender) 0%, var(--white) 100%);
    padding: 80px 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(107, 70, 193, 0.2);
    border: 3px solid;
    border-image: linear-gradient(135deg, var(--primary-purple), var(--accent-gold)) 1;
    position: relative;
}

.form-container::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-gold));
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(10px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light-lavender);
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
}

.form-group select option {
    color: black;
    background-color: white;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
    cursor: pointer;
    accent-color: var(--primary-purple);
}

.checkbox-group label {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-group a {
    color: var(--primary-purple);
    text-decoration: underline;
}

.form-submit {
    width: 100%;
    padding: 15px;
    font-size: 18px;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-purple);
    box-shadow: 0 2px 10px var(--shadow-color);
    overflow: hidden;
}

.faq-item summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    list-style: none;
    position: relative;
    padding-right: 50px;
    transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--primary-purple);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item summary:hover {
    color: var(--primary-purple);
}

.faq-item p {
    padding: 0 20px 20px;
    color: var(--text-light);
    line-height: 1.8;
    animation: fadeIn 0.3s ease;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
    align-items: start;
}

.contact-info-box {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.contact-info-box h3 {
    color: var(--primary-purple);
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-map {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.contact-item {
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.contact-item h4 {
    color: var(--primary-purple);
    margin-bottom: 10px;
}

.contact-item p,
.contact-item a {
    color: var(--text-dark);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary-purple);
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-map {
        height: 300px;
    }
}

/* Footer */
.main-footer {
    background: var(--dark-cosmos);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.footer-section p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-lavender);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    z-index: 10000;
    transition: bottom 0.3s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin: 0;
    color: var(--text-dark);
}

.cookie-text a {
    color: var(--primary-purple);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-cookie {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-accept {
    background: var(--primary-purple);
    color: var(--white);
}

.btn-accept:hover {
    background: var(--cosmos-gradient);
}

.btn-reject {
    background: var(--text-light);
    color: var(--white);
}

.btn-reject:hover {
    background: var(--text-dark);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .btn-cookie {
        width: 100%;
    }
}

/* Policy Pages */
.policy-page {
    padding: 80px 0;
    min-height: 70vh;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 4px 20px var(--shadow-color);
    border: 2px solid var(--light-lavender);
}

.policy-container h1 {
    color: var(--primary-purple);
    margin-bottom: 30px;
    font-size: 36px;
}

.policy-container h2 {
    color: var(--primary-purple);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 24px;
}

.policy-container p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-dark);
}

.policy-container ul {
    margin-left: 30px;
    margin-bottom: 15px;
}

.policy-container li {
    margin-bottom: 10px;
    line-height: 1.8;
    color: var(--text-dark);
}

.policy-back-btn {
    margin-top: 40px;
    text-align: center;
}

/* Simple Page (about, blog, tips, thank-you) */
.simple-page {
    padding: 80px 0;
    min-height: 70vh;
}

.simple-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 4px 20px var(--shadow-color);
    border: 2px solid var(--light-lavender);
}

.simple-container h1 {
    color: var(--primary-purple);
    margin-bottom: 30px;
    font-size: 36px;
    text-align: center;
}

.simple-container p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 18px;
}

.simple-container .date {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 30px;
    text-align: center;
}

.simple-back-btn {
    margin-top: 40px;
    text-align: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Fade in on scroll */
.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .services-grid,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .policy-container,
    .simple-container {
        padding: 30px 20px;
    }
}

