/* 
Main Stylesheet for Domain Accounting Website
Color Palette:
- Background: #0f172a (deep dark blue)
- Primary Accent: #fb923c (orange-coral)
- Secondary Accent: #22d3ee (light turquoise)
- Text: #f1f5f9 (light), #94a3b8 (secondary text)
- Buttons and Forms: gradients from #fb923c to #facc15
*/

/* ========== CSS Reset & Base Styles ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #f1f5f9;
    background-color: #0f172a;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #fb923c;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #facc15;
}

ul, ol {
    list-style: none;
}

/* ========== Layout & Container ========== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    font-weight: 500;
}

/* ========== Header & Navigation ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fb923c;
    letter-spacing: 1px;
}

.nav__list {
    display: flex;
    gap: 30px;
}

.nav__item a {
    color: #f1f5f9;
    font-weight: 500;
    position: relative;
}

.nav__item a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fb923c;
    transition: width 0.3s ease;
}

.nav__item a:hover::after,
.nav__item.active a::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #fb923c;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ========== Hero Section ========== */
.hero {
    padding-top: 150px;
    padding-bottom: 80px;
}

.hero__inner {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero__content {
    flex: 1;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #f1f5f9;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 30px;
}

.hero__button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(to right, #fb923c, #facc15);
    color: #0f172a;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero__button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(251, 146, 60, 0.2);
    color: #0f172a;
}

.hero__image-container {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}

.hero__image {
    width: 100%;
    height: auto;
    display: block;
}

/* ========== About Section ========== */
.about__inner {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about__image-container {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.about__image {
    width: 100%;
    height: auto;
    display: block;
}

.about__content {
    flex: 1;
}

.about__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 15px;
    margin-top: 20px;
}

.about__title:first-child {
    margin-top: 0;
}

.about__text {
    color: #94a3b8;
    margin-bottom: 20px;
}

.about__stats {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 20px;
}

.about__stat-item {
    flex: 1;
    text-align: center;
    padding: 20px;
    background-color: rgba(34, 211, 238, 0.05);
    border-radius: 8px;
}

.about__stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #22d3ee;
    margin-bottom: 5px;
}

.about__stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* ========== Services Section ========== */
.services {
    background-color: rgba(15, 23, 42, 0.5);
}

.services__inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.service-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    padding: 30px;
    background-color: #1e293b;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #fb923c, #facc15);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(251, 146, 60, 0.1);
}

.service-card__icon {
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.1), rgba(34, 211, 238, 0.1));
    color: #fb923c;
}

.service-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 15px;
}

.service-card__text {
    color: #94a3b8;
    margin-bottom: 20px;
}

.service-card__link {
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    display: inline-block;
}

.service-card__link::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.service-card__link:hover::after {
    transform: translateX(5px);
}

/* ========== Benefits Section ========== */
.benefits__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.benefit-card {
    padding: 30px;
    background-color: #1e293b;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card__icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 211, 238, 0.1);
    color: #22d3ee;
}

.benefit-card__title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 10px;
}

.benefit-card__text {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ========== Testimonials Section ========== */
.testimonials {
    background-color: rgba(15, 23, 42, 0.5);
}

.testimonials__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.testimonial-card {
    flex: 1;
    min-width: 280px;
    max-width: 500px;
    padding: 30px;
    background-color: #1e293b;
    border-radius: 10px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    font-family: 'Georgia', serif;
    color: rgba(251, 146, 60, 0.1);
    line-height: 1;
}

.testimonial-card__rating {
    margin-bottom: 15px;
}

.testimonial-card__star {
    color: #fb923c;
    font-size: 1.2rem;
    margin-right: 3px;
}

.testimonial-card__text {
    color: #94a3b8;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
}

.testimonial-card__author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-card__author-name {
    font-size: 1rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 5px;
}

.testimonial-card__author-position {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* ========== FAQ Section ========== */
.faq__inner {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: #1e293b;
    overflow: hidden;
}

.faq-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
}

.faq-item__question {
    font-size: 1.1rem;
    font-weight: 500;
    color: #f1f5f9;
    flex: 1;
}

.faq-item__toggle {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
}

.faq-item__toggle::before,
.faq-item__toggle::after {
    content: '';
    position: absolute;
    background-color: #fb923c;
    transition: transform 0.3s ease;
}

.faq-item__toggle::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.faq-item__toggle::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.faq-item--open .faq-item__toggle::after {
    transform: translateX(-50%) rotate(90deg);
}

.faq-item__content {
    padding: 0 20px 20px;
}

.faq-item__answer {
    color: #94a3b8;
}

/* ========== Contact Section ========== */
.contact__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact__info {
    flex: 1;
    min-width: 300px;
}

.contact__info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact__info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.1), rgba(34, 211, 238, 0.1));
    color: #fb923c;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact__info-content {
    flex: 1;
}

.contact__info-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 5px;
}

.contact__info-text {
    color: #94a3b8;
}

.contact__info-text a {
    color: #94a3b8;
    transition: color 0.3s ease;
}

.contact__info-text a:hover {
    color: #fb923c;
}

.contact__form-container {
    flex: 1;
    min-width: 300px;
    background-color: #1e293b;
    padding: 30px;
    border-radius: 10px;
}

.contact__form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #94a3b8;
    font-weight: 500;
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px 15px;
    background-color: #0f172a;
    border: 1px solid #334155;
    border-radius: 6px;
    color: #f1f5f9;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #fb923c;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.form-checkbox {
    margin-right: 10px;
    margin-top: 3px;
}

.form-button {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, #fb923c, #facc15);
    border: none;
    border-radius: 6px;
    color: #0f172a;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(251, 146, 60, 0.2);
}

/* ========== Footer ========== */
.footer {
    background-color: #1e293b;
    padding: 80px 0 30px;
}

.footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.footer__column {
    flex: 1;
    min-width: 200px;
}

.footer__title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 20px;
}

.footer__description {
    color: #94a3b8;
    margin-top: 15px;
    max-width: 300px;
}

.footer__contact-list,
.footer__links-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__contact-item {
    display: flex;
    flex-direction: column;
}

.footer__contact-label {
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 5px;
}

.footer__contact-value {
    color: #94a3b8;
}

.footer__link {
    color: #94a3b8;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: #fb923c;
}

.footer__bottom {
    padding-top: 30px;
    border-top: 1px solid #334155;
    text-align: center;
}

.footer__copyright {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ========== Cookie Popup ========== */
.cookie-popup {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 100%;
    max-width: 400px;
    background-color: #1e293b;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.cookie-popup__content {
    padding: 25px;
}

.cookie-popup__title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 15px;
}

.cookie-popup__text {
    color: #94a3b8;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-popup__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-popup__link {
    color: #94a3b8;
    text-decoration: underline;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.cookie-popup__link:hover {
    color: #fb923c;
}

.cookie-popup__button {
    padding: 10px 20px;
    background: linear-gradient(to right, #fb923c, #facc15);
    border: none;
    border-radius: 6px;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cookie-popup__button:hover {
    transform: translateY(-2px);
}

/* ========== Policy Pages Style ========== */
.policy {
    padding: 140px 0 80px;
}

.policy__container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #1e293b;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.policy__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #f1f5f9;
}

.policy__content {
    color: #94a3b8;
}

.policy__content h2 {
    font-size: 1.5rem;
    color: #f1f5f9;
    margin: 30px 0 15px;
}

.policy__content h3 {
    font-size: 1.2rem;
    color: #f1f5f9;
    margin: 25px 0 15px;
}

.policy__content p {
    margin-bottom: 15px;
}

.policy__content ul,
.policy__content ol {
    margin: 15px 0;
    padding-left: 20px;
}

.policy__content ul li,
.policy__content ol li {
    margin-bottom: 10px;
    list-style-position: outside;
}

.policy__content ul li {
    list-style-type: disc;
}

.policy__content ol li {
    list-style-type: decimal;
}

/* ========== Thank You Page ========== */
.thanks {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
}

.thanks__container {
    max-width: 600px;
    background-color: #1e293b;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
}

.thanks__icon {
    width: 100px;
    height: 100px;
    background-color: rgba(34, 211, 238, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: #22d3ee;
}

.thanks__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 20px;
}

.thanks__text {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 30px;
}

.thanks__button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(to right, #fb923c, #facc15);
    border-radius: 8px;
    color: #0f172a;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thanks__button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(251, 146, 60, 0.2);
    color: #0f172a;
}

/* ========== Responsive Styles ========== */
@media (max-width: 991px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero__title {
        font-size: 2.8rem;
    }
    
    .hero__inner,
    .about__inner {
        flex-direction: column;
    }
    
    .about__image-container {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #1e293b;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 900;
    }
    
    .nav.menu-open {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        align-items: center;
    }
    
    .nav__item {
        margin: 15px 0;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 950;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero__title {
        font-size: 2.2rem;
    }
    
    .service-card {
        min-width: 250px;
    }
}

@media (max-width: 576px) {
    .header {
        padding: 15px 0;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero__title {
        font-size: 1.8rem;
    }
    
    .hero__subtitle {
        font-size: 1rem;
    }
    
    .about__stats {
        flex-direction: column;
    }
    
    .policy__container {
        padding: 25px;
    }
    
    .cookie-popup {
        bottom: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 10px 10px 0 0;
    }
}
