/* 
* Main stylesheet for domain accounting website
* Color palette:
* - Background: #eae6f7 (light purple)
* - Accents: #96f2d7 (turquoise-lime)
* - Headings: #6a00f4 (saturated purple)
* - Buttons: #ff6b6b (deep coral)
* - Text: #2e2e2e (dark gray)
* - Lines/icons: #cbd5e1 (silver)
*/

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #eae6f7;
    color: #2e2e2e;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #6a00f4;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #ff6b6b;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    color: #6a00f4;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #96f2d7;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: #ff6b6b;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    border: 2px solid #ff6b6b;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: transparent;
    color: #ff6b6b;
}

.btn-outline {
    background-color: transparent;
    color: #ff6b6b;
}

.btn-outline:hover {
    background-color: #ff6b6b;
    color: white;
}

/* Header & Navigation */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #6a00f4;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 30px;
}

.mobile-menu-toggle {
    display: none;
}

.menu-button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 24px;
    justify-content: space-between;
    padding: 0;
    width: 30px;
}

.menu-button span {
    background-color: #6a00f4;
    display: block;
    height: 3px;
    transition: all 0.3s ease;
    width: 100%;
}

.menu-button.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-button.active span:nth-child(2) {
    opacity: 0;
}

.menu-button.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(234,230,247,1) 0%, rgba(150,242,215,0.3) 100%);
}

.hero-content {
    width: 100%;
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 20px;
    font-size: 3.5rem;
}

.hero p {
    margin-bottom: 30px;
    font-size: 1.2rem;
    color: #525252;
}

/* About Section */
.about {
    background-color: white;
}

/* Why Choose Us Section */
.why-us .features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: #96f2d7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* Services Section */
.services .service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-image {
    height: 200px;
    background-position: center;
    background-size: cover;
}

.service-content {
    padding: 30px;
}

/* Advantages Section */
.advantages .advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 20px;
}

.advantage-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

/* Workflow Section */
.workflow .steps {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.steps::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: #cbd5e1;
}

.step {
    position: relative;
    margin-bottom: 50px;
    display: flex;
}

.step:nth-child(odd) {
    justify-content: flex-start;
}

.step:nth-child(even) {
    justify-content: flex-end;
}

.step-content {
    width: calc(50% - 30px);
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.step-number {
    position: absolute;
    top: 20px;
    width: 40px;
    height: 40px;
    background-color: #96f2d7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 1;
}

.step:nth-child(odd) .step-number {
    right: calc(50% - 20px);
}

.step:nth-child(even) .step-number {
    left: calc(50% - 20px);
}

/* Testimonials Section */
.testimonials {
    background-color: white;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: #f9f8ff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

/* Form Section */
.contact-form {
    background-color: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    font-size: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
    margin-right: 10px;
}

/* Footer */
.footer {
    background-color: #6a00f4;
    color: white;
    padding: 80px 0 20px;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #96f2d7;
}

.footer a {
    color: #96f2d7;
}

.footer a:hover {
    color: #fff;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.9);
    color: white;
    padding: 15px;
    z-index: 9999;
    display: none;
}

.cookie-popup.show {
    display: block;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Policy Pages */
.policy-container {
    max-width: 900px;
    margin: 50px auto;
    background-color: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    position: relative;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    outline: none;
    color: #6a00f4;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: "-";
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .why-us .features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px;
        display: none;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 10px 0;
        margin-left: 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        text-align: center;
        min-height: auto;
        padding: 60px 0;
    }
    
    .hero-content {
        margin: 0 auto;
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .step {
    justify-content: flex-start !important;
}

.steps::before {
    left: 20px;
}

.step-content {
    width: calc(100% - 60px);
    margin-left: 40px;
}

.step-number {
    left: 0 !important;
    right: auto !important;
}
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .why-us .features,
    .services .service-grid,
    .advantages .advantage-grid,
    .testimonial-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .policy-container {
        padding: 30px 20px;
        margin: 30px 10px;
    }
}
