/* 
 * Main stylesheet for domain financial audit company
 * Colors:
 * - Main background: #0F172A (deep indigo)
 * - Accent: #FACC15 (golden-yellow)
 * - Additional: #14B8A6 (sea wave), #F1F5F9 (light gray)
 * - Text: #FFFFFF and #94A3B8
 * - Buttons: gradient from #14B8A6 to #0F766E
 * - Lines/borders: #334155
 */

/* Base Styles */
:root {
    --color-bg-primary: #0F172A;
    --color-accent: #FACC15;
    --color-additional: #14B8A6;
    --color-light-bg: #F1F5F9;
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #94A3B8;
    --color-border: #334155;
    --button-gradient: linear-gradient(to right, #14B8A6, #0F766E);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--color-accent);
    margin-top: 15px;
    margin-left: auto;
    margin-right: auto;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-additional);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: var(--button-gradient);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

section {
    padding: 5rem 0;
    position: relative;
}

/* Header Styles */
.main-header {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-bg-primary);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-text {
    color: var(--color-accent);
}

.mobile-menu-toggle {
    display: none;
}

.menu-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.menu-icon {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--color-text-primary);
    position: relative;
}

.menu-icon:before,
.menu-icon:after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-text-primary);
    position: absolute;
    transition: all 0.3s ease;
}

.menu-icon:before {
    top: -8px;
}

.menu-icon:after {
    bottom: -8px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.main-nav li {
    margin: 0 0.8rem;
}

.main-nav a {
    color: var(--color-text-primary);
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--color-accent);
}

.cta-button {
    margin-right: 20px;
}

.cta-button a {
    color: white;
    padding: 0.6rem 1.2rem;
}

.cta-button a:hover {
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: url('./img/hero-pattern.svg') no-repeat center;
    background-size: cover;
    padding-top: 6rem;
    padding-bottom: 6rem;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.8);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
    animation: fadeIn 1s ease-in;
}

.hero-title span {
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--color-text-secondary);
    animation: fadeIn 1.2s ease-in;
}

.hero-cta {
    animation: fadeIn 1.5s ease-in;
}

/* About Section */
.about-section {
    position: relative;
    padding-top: 7rem;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 0.8;
    min-width: 250px;
    max-width: 350px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    margin-left: 20px;
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Services Section */
.services-section {
    position: relative;
    background-color: rgba(20, 184, 166, 0.05);
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--color-bg-primary);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    border-color: var(--color-accent);
}

.service-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-image img:hover {
    transform: scale(1.05);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Advantages Section */
.advantages-section {
    position: relative;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    text-align: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.advantage-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem auto;
    background-color: rgba(250, 204, 21, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--color-accent);
}

.advantage-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

/* Process Section */
.process-section {
    background-color: rgba(20, 184, 166, 0.05);
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 3rem;
    position: relative;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-border);
    z-index: 1;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--button-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1.5rem auto;
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: rgba(20, 184, 166, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-card:last-child {
    margin-bottom: 0;
}

.testimonial-text {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-text:before {
    content: '"';
    font-size: 3rem;
    color: var(--color-accent);
    position: absolute;
    left: 1.5rem;
    top: 1rem;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.author-position {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* FAQ Section */
.faq-section {
    background-color: rgba(20, 184, 166, 0.05);
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
    padding-top: 7rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: all 0.3s ease;
}

.faq-question.active:after {
    content: '-';
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: rgba(15, 23, 42, 0.9);
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-answer-content {
    color: var(--color-text-secondary);
}

/* Form Section */
.form-section {
    position: relative;
    padding-bottom: 7rem;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(20, 184, 166, 0.05);
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.form-container:before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background-color: var(--color-accent);
    border-radius: 50%;
    opacity: 0.1;
}

.form-container:after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background-color: var(--color-accent);
    border-radius: 50%;
    opacity: 0.1;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    color: var(--color-text-primary);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--color-additional);
    outline: none;
}

.form-label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
    top: -0.5rem;
    left: 0.8rem;
    font-size: 0.8rem;
    padding: 0 0.4rem;
    background-color: var(--color-bg-primary);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FACC15' 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 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
    cursor: pointer;
    color: var(--color-text-primary);
}

.form-select option {
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    padding: 10px;
}

.form-select option:checked,
.form-select option:hover {
    background-color: rgba(20, 184, 166, 0.2);
}

.form-checkbox {
    margin-bottom: 1.5rem;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.checkbox-container:hover {
    border-color: var(--color-additional);
}

.checkbox-input {
    margin-right: 0.8rem;
    margin-top: 0.3rem;
}

.checkbox-label {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.checkbox-label a {
    color: var(--color-accent);
    text-decoration: underline;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

/* Footer Styles */
.main-footer {
    background-color: rgba(15, 23, 42, 0.95);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-about p {
    color: var(--color-text-secondary);
}

.footer-contact h3,
.footer-links h3 {
    margin-bottom: 1.2rem;
    color: var(--color-accent);
    font-size: 1.2rem;
}

.footer-contact ul,
.footer-links ul {
    list-style: none;
}

.footer-contact li,
.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-contact li {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    padding: 1.5rem 2rem;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: bottom 0.5s ease;
}

.cookie-popup.active {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    margin-right: 2rem;
}

/* Policy Pages */
.policy-page {
    background-color: white;
    color: #333;
    padding: 3rem 0;
}

.policy-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 2rem;
    border: 1px solid var(--color-accent);
    border-radius: 10px;
}

.policy-header {
    text-align: center;
    margin-bottom: 2rem;
}

.policy-header h1 {
    color: var(--color-bg-primary);
}

.policy-content h2 {
    color: var(--color-bg-primary);
    font-size: 1.5rem;
    margin-top: 2rem;
}

.policy-content p,
.policy-content ul {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.policy-content ul {
    padding-left: 1.5rem;
}

/* Thanks Page */
.thanks-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thanks-content {
    max-width: 600px;
    border: 2px solid var(--color-accent);
    border-radius: 15px;
    padding: 3rem;
    background-color: rgba(20, 184, 166, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin: 0 auto;
}

.thanks-icon {
    font-size: 5rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    display: inline-block;
    background-color: rgba(250, 204, 21, 0.1);
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
}

.thanks-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.thanks-text {
    margin-bottom: 2rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .process-steps:before {
        display: none;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-bg-primary);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .main-nav.active {
        max-height: 500px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .main-nav li {
        margin: 0.8rem 0;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
}
