/* 
 * Main stylesheet for domain.com
 * Financial Audit Website
 */

/* ===== VARIABLES ===== */
:root {
    /* Color palette */
    --dark-blue: #0F1C2E;
    --medium-blue: #1A2B44;
    --gold: #F8B500;
    --neon-blue: #29ABE2;
    --white: #FFFFFF;
    --text-gray: #C5C5C5;
    --transparent: transparent;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Typography */
    --font-primary: 'Arial', sans-serif;
    --font-heading: 'Arial', sans-serif;
    
    /* Borders */
    --border-radius: 8px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--dark-blue);
    color: var(--text-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--neon-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 80px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--neon-blue) 100%);
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: var(--spacing-md);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

.section:nth-child(even) {
    background-color: var(--medium-blue);
}

.section-heading {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-heading h2:after {
    left: 50%;
    transform: translateX(-50%);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--neon-blue) 100%);
    color: var(--dark-blue);
    font-weight: bold;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    box-shadow: 0 0 15px rgba(248, 181, 0, 0.5), 0 0 15px rgba(41, 171, 226, 0.5);
    color: var(--dark-blue);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--dark-blue);
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
    padding: var(--spacing-sm) 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background-color: rgba(15, 28, 46, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: var(--white);
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(90deg, var(--gold) 0%, var(--neon-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition);
}

.logo a:hover {
    opacity: 0.9;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: var(--spacing-md);
}

.main-nav a {
    color: var(--white);
    font-weight: 500;
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--neon-blue) 100%);
    transition: var(--transition);
}

.main-nav a:hover:after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(90deg, var(--gold) 0%, var(--neon-blue) 100%);
    padding: 8px 20px;
    border-radius: var(--border-radius);
    color: var(--dark-blue) !important;
    font-weight: bold;
}

.nav-cta:hover:after {
    display: none;
}

.nav-cta:hover {
    box-shadow: 0 0 10px rgba(248, 181, 0, 0.5), 0 0 10px rgba(41, 171, 226, 0.5);
    transform: translateY(-3px);
}

.mobile-toggle {
    display: none;
}

/* Mobile Menu Button */
.menu-toggle {
    display: block;
    width: 30px;
    height: 25px;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--white);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 11px;
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 11px;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-color: var(--dark-blue);
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* For fixed header */
}

.hero:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(41, 171, 226, 0.1) 0%, rgba(15, 28, 46, 0) 70%);
    animation: rotate 20s infinite linear;
    z-index: 1;
}

.hero:after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(248, 181, 0, 0.1) 0%, rgba(15, 28, 46, 0) 70%);
    animation: rotate 15s infinite reverse linear;
    z-index: 1;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.about-image:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid var(--gold);
    border-radius: var(--border-radius);
    z-index: -1;
}

/* ===== BENEFITS SECTION ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.benefit-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.benefit-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--gold) 0%, var(--neon-blue) 100%);
    transition: var(--transition);
}

.benefit-item:hover:before {
    height: 100%;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold) 0%, var(--neon-blue) 100%);
    border-radius: 50%;
    margin-bottom: var(--spacing-md);
}

.benefit-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--dark-blue);
}

/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.service-card {
    background-color: var(--medium-blue);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(41, 171, 226, 0.2);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--neon-blue);
}

.service-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    margin-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--gold);
}

.service-card h3 {
    color: var(--gold);
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.service-card h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 40px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--neon-blue) 100%);
}

.service-price {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.service-features {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.service-features li {
    padding-left: 25px;
    position: relative;
    margin-bottom: var(--spacing-xs);
}

.service-features li:before {
    content: '✓';
    color: var(--gold);
    position: absolute;
    left: 0;
    top: 0;
}

/* ===== PROCESS SECTION ===== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.step {
    text-align: center;
    position: relative;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 35px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--neon-blue) 100%);
    z-index: 0;
}

.step-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--neon-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    color: var(--dark-blue);
    font-weight: bold;
}

.step:hover .step-number {
    box-shadow: 0 0 15px rgba(248, 181, 0, 0.5), 0 0 15px rgba(41, 171, 226, 0.5);
    transform: scale(1.1);
}

/* ===== ORDER FORM ===== */
.order-form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--medium-blue);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(41, 171, 226, 0.2);
    position: relative;
    overflow: hidden;
}



@keyframes glow {
    0% {
        opacity: 0.3;
        transform: translate(0, 0);
    }
    100% {
        opacity: 0.7;
        transform: translate(-10%, -10%);
    }
}

.form-group {
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--white);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(15, 28, 46, 0.8);
    border: 1px solid rgba(41, 171, 226, 0.3);
    color: var(--white);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(41, 171, 226, 0.3);
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
}

.form-check input {
    margin-right: 10px;
    margin-top: 5px;
}

.form-submit {
    text-align: center;
}

/* ===== TESTIMONIALS ===== */
.testimonials-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    position: relative;
}


.testimonial-content {
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: var(--spacing-sm);
    border: 2px solid var(--gold);
}

.testimonial-author-name {
    font-weight: bold;
    color: var(--white);
}

.testimonial-author-title {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ===== FAQ SECTION ===== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(41, 171, 226, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    padding: var(--spacing-md);
    background-color: rgba(15, 28, 46, 0.8);
    color: var(--white);
    cursor: pointer;
    position: relative;
    font-weight: bold;
    display: block;
    width: 100%;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(15, 28, 46, 1);
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-item.active .faq-question:after {
    content: '-';
}

.faq-answer {
    padding: 0 var(--spacing-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: var(--spacing-md);
    max-height: 500px;
    border-top: 1px solid rgba(41, 171, 226, 0.2);
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: var(--dark-blue);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 1px solid rgba(41, 171, 226, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-about h3,
.footer-contact h3,
.footer-links h3 {
    color: var(--gold);
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.footer-about h3:after,
.footer-contact h3:after,
.footer-links h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 40px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--neon-blue) 100%);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* ===== POLICY PAGES ===== */
.policy-page {
    padding-top: 120px;
    padding-bottom: var(--spacing-xl);
}

.policy-container {
    background-color: var(--medium-blue);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    border: 1px solid rgba(41, 171, 226, 0.2);
}

.policy-container h2 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.policy-container h2:first-child {
    margin-top: 0;
}

/* ===== COOKIE POPUP ===== */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 28, 46, 0.95);
    padding: var(--spacing-md);
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-popup-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-popup-content p {
    margin-bottom: 0;
    margin-right: var(--spacing-md);
}

/* ===== THANK YOU PAGE ===== */
.thank-you {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    padding: var(--spacing-lg);
    background-color: var(--medium-blue);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(41, 171, 226, 0.2);
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--gold) 0%, var(--neon-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .benefits-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg) var(--spacing-md);
    }
    
    .step:nth-child(even):after {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-about {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .mobile-toggle {
        display: block;
        z-index: 101;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--dark-blue);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 100px var(--spacing-md) var(--spacing-md);
        transition: right 0.3s ease;
        z-index: 100;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 0 0 var(--spacing-sm);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: var(--spacing-sm);
    }
    
    .cookie-popup-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-popup-content p {
        margin-right: 0;
        margin-bottom: var(--spacing-sm);
    }
}

@media (max-width: 576px) {
    .benefits-grid,
    .services-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .step:after {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-about {
        grid-column: span 1;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
}
