/* ===== 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: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1F2937;
    background: #F9FAFB;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== COLOR PALETTE ===== */
:root {
    --primary: #6B46C1;
    --accent: #F59E0B;
    --dark: #1E1B4B;
    --light: #E9D5FF;
    --secondary: #10B981;
    --highlight: #EC4899;
    --white: #FFFFFF;
    --text-dark: #1F2937;
    --bg-light: #F9FAFB;
    --bg-dark: #0F172A;
}

/* ===== HEADER ===== */
.main-header {
    background: var(--dark);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(30, 27, 75, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: bold;
    color: var(--accent);
    text-decoration: none;
    background: linear-gradient(135deg, var(--accent), var(--highlight));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-icon span {
    width: 25px;
    height: 3px;
    background: var(--accent);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--accent);
}

.main-nav a:hover::after {
    width: 100%;
}

.btn-cta-header {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    color: var(--white) !important;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-cta-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.4);
}

.btn-cta-header::after {
    display: none;
}

/* ===== MOBILE MENU (CSS ONLY) ===== */
@media (max-width: 768px) {
    .menu-icon {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--dark);
        flex-direction: column;
        padding: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }
    
    .menu-toggle:checked ~ .main-nav {
        transform: translateX(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 {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.9), rgba(236, 72, 153, 0.9)), url('./img/RilLFp.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 2rem;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

#hero h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    color: var(--accent);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, var(--accent), var(--white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#hero p {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: var(--white);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: var(--white);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse 2s infinite;
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
}

/* ===== SECTIONS ===== */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--highlight));
    border-radius: 2px;
}

/* ===== ABOUT SECTION ===== */
#about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    animation: fadeInLeft 1s ease;
}

.about-text {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(107, 70, 193, 0.2);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== WHY US SECTION ===== */
#why-us {
    background: linear-gradient(135deg, var(--light), var(--white));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(107, 70, 193, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(107, 70, 193, 0.3);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--highlight));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

/* ===== SERVICES SECTION ===== */
#services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(107, 70, 193, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--primary);
    animation: fadeInUp 0.8s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(107, 70, 193, 0.4);
    background: var(--light);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    color: var(--primary);
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    margin-bottom: 1rem;
}

.service-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.btn-service {
    background: linear-gradient(135deg, var(--primary), var(--highlight));
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-service:hover {
    transform: scale(1.05);
}

/* ===== HOW IT WORKS SECTION ===== */
#how-it-works {
    background: linear-gradient(135deg, var(--dark), var(--primary));
    color: var(--white);
}

.steps-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    animation: fadeInUp 0.8s ease;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.4);
}

.step h3 {
    margin-bottom: 0.5rem;
    color: var(--accent);
}

/* ===== TESTIMONIALS SECTION ===== */
#testimonials {
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(107, 70, 193, 0.1);
    border-left: 4px solid var(--accent);
    animation: fadeInUp 0.8s ease;
}

.stars {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary);
}

/* ===== FAQ SECTION ===== */
#faq {
    background: linear-gradient(135deg, var(--light), var(--white));
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(107, 70, 193, 0.1);
    animation: fadeInUp 0.6s ease;
}

.faq-item details {
    padding: 1.5rem;
}

.faq-item summary {
    font-weight: bold;
    color: var(--primary);
    cursor: pointer;
    font-size: clamp(1rem, 2vw, 1.1rem);
    padding: 0.5rem;
    list-style: none;
    position: relative;
    transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-item details[open] summary::after {
    transform: rotate(45deg);
}

.faq-item details[open] summary {
    color: var(--accent);
}

.faq-item p {
    padding: 1rem 0.5rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* ===== ORDER FORM SECTION ===== */
#order-form {
    background: var(--bg-light);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(107, 70, 193, 0.2);
    border: 3px solid;
    border-image: linear-gradient(135deg, var(--primary), var(--highlight)) 1;
    animation: fadeInUp 1s ease;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--light);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(107, 70, 193, 0.3);
}

.form-group select option {
    color: black;
    background-color: white;
}

.checkbox-group {
    margin: 1.5rem 0;
}

.checkbox-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-item label {
    font-size: 0.9rem;
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-item a {
    color: var(--primary);
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.4);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
}

/* ===== CONTACT SECTION ===== */
#contact {
    background: linear-gradient(135deg, var(--dark), var(--primary));
    color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInLeft 1s ease;
}

.contact-image img {
    width: 100%;
    height: auto;
    display: block;
}

.contact-info-box {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--accent);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInRight 1s ease;
}

.contact-info-item {
    margin-bottom: 2rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.contact-info-item p {
    color: var(--white);
    line-height: 1.8;
    margin: 0;
}

.contact-info-item a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: var(--accent);
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.footer-section p a {
    color: #FFFFFF !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section p a:hover {
    color: var(--accent) !important;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
}

/* ===== COOKIE POPUP ===== */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: var(--white);
    padding: 1.5rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    animation: slideUp 0.5s ease;
}

.cookie-popup.hidden {
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    flex: 1;
    min-width: 250px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-accept {
    background: var(--accent);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.btn-accept:hover {
    transform: scale(1.05);
}

.btn-learn-more {
    color: var(--white);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.btn-learn-more:hover {
    color: var(--accent);
}

/* ===== 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 pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .form-container {
        padding: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-image {
        order: 2;
    }
    
    .contact-info-box {
        order: 1;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .services-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== POLICY PAGES ===== */
.policy-page {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border: 2px solid #6B46C1;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(107, 70, 193, 0.2);
}

.policy-page h1 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.policy-page h2 {
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-page p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.policy-page ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.policy-page li {
    margin-bottom: 0.5rem;
}

.policy-contact {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light);
}

.policy-contact h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* ===== EXTRA PAGES (ABOUT, BLOG, TIPS) ===== */
.content-block {
    max-width: 800px;
    margin: 3rem auto;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(107, 70, 193, 0.1);
    border: 2px solid var(--light);
}

.content-block h1 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 5vw, 2.5rem);
}

.content-block p {
    line-height: 1.8;
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-dark);
}

/* ===== THANK YOU PAGE ===== */
.thank-you-container {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.thank-you-content {
    max-width: 600px;
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(107, 70, 193, 0.2);
    border: 3px solid var(--primary);
}

.thank-you-content h1 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: clamp(2rem, 5vw, 2.5rem);
}

.thank-you-content p {
    margin-bottom: 2rem;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.8;
}

