/* 
 * BrightLedger Accounting Website
 * Color Palette:
 * - Midnight Plum: #2E003E
 * - Organic Mint: #A7FFEB
 * - Snow White: #FDFDFD
 * - Sandstone Beige: #D8CAB8
 * - Tech Blue: #2940D3
 */

/* Base Styles */
:root {
    --midnight-plum: #2E003E;
    --organic-mint: #A7FFEB;
    --snow-white: #FDFDFD;
    --sandstone-beige: #D8CAB8;
    --tech-blue: #2940D3;
    --text-dark: #333333;
    --text-light: #666666;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--snow-white);
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--midnight-plum);
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--tech-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--midnight-plum);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

section {
    padding: 5rem 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background-color: var(--tech-blue);
    color: var(--snow-white);
}

.btn-primary:hover {
    background-color: var(--midnight-plum);
    color: var(--snow-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--organic-mint);
    color: var(--midnight-plum);
}

.btn-secondary:hover {
    background-color: var(--sandstone-beige);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Header */
header {
    background-color: var(--snow-white);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--midnight-plum);
    font-weight: 500;
    position: relative;
}

nav a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--tech-blue);
    transition: var(--transition);
}

nav a:hover:after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--midnight-plum), #4A0063);
    color: var(--snow-white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--organic-mint) 0%, transparent 70%);
    opacity: 0.3;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-20px, 20px) rotate(5deg);
    }
    50% {
        transform: translate(10px, -30px) rotate(0deg);
    }
    75% {
        transform: translate(-10px, 10px) rotate(-5deg);
    }
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--snow-white);
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--organic-mint);
}

/* About Section */
.about {
    background-color: var(--snow-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    order: 1;
}

.about-image {
    order: 2;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, var(--midnight-plum) 0%, transparent 100%);
    opacity: 0.5;
}

/* Features Section */
.features {
    background-color: var(--sandstone-beige);
    padding: 6rem 0;
}

.features-title {
    text-align: center;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--snow-white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--organic-mint);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    color: var(--midnight-plum);
    font-size: 2rem;
}

/* Services Section */
.services {
    background-color: var(--snow-white);
}

.services-title {
    text-align: center;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--snow-white);
    border: 1px solid var(--sandstone-beige);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--midnight-plum), var(--tech-blue));
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.service-price {
    font-size: 2.5rem;
    color: var(--tech-blue);
    font-weight: 700;
    margin: 1rem 0;
    font-family: 'Montserrat', sans-serif;
}

.service-price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: normal;
}

.service-features {
    margin: 1.5rem 0;
    text-align: left;
}

.service-features li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--tech-blue);
    font-weight: bold;
}

/* Why Us Section */
.why-us {
    background-color: var(--organic-mint);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.why-us::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background-color: var(--midnight-plum);
    border-radius: 50%;
    opacity: 0.1;
}

.why-us-title {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--snow-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.testimonial-text {
    position: relative;
    font-style: italic;
    padding: 0 1rem;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 3rem;
    color: var(--sandstone-beige);
    position: absolute;
    line-height: 1;
}

.testimonial-text::before {
    top: -10px;
    left: -10px;
}

.testimonial-text::after {
    bottom: -30px;
    right: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 2rem;
}

.author-info {
    margin-left: 1rem;
}

.author-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.author-title {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Visual Section */
.visual-section {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--snow-white);
    overflow: hidden;
    background-color: var(--midnight-plum);
}

.visual-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    z-index: 1;
}

.visual-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.visual-content h2 {
    color: var(--snow-white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.visual-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Order Form Section */
.order-form {
    background-color: var(--snow-white);
    padding: 6rem 0;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--snow-white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid var(--sandstone-beige);
}

.form-title {
    text-align: center;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--sandstone-beige);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--tech-blue);
    box-shadow: 0 0 0 3px rgba(41, 64, 211, 0.1);
}

.checkbox-group {
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.checkbox-label input {
    margin-right: 10px;
    margin-top: 5px;
}

.form-submit {
    text-align: center;
}

/* Footer */
footer {
    background-color: var(--midnight-plum);
    color: var(--snow-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.company-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-contact ul,
.footer-links ul {
    margin-top: 1rem;
}

.footer-contact li,
.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-contact a,
.footer-links a {
    color: var(--organic-mint);
}

.footer-contact a:hover,
.footer-links a:hover {
    color: var(--snow-white);
}

.footer h3 {
    color: var(--snow-white);
    position: relative;
    padding-bottom: 0.8rem;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--tech-blue);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--midnight-plum);
    color: var(--snow-white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-width: 400px;
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-text {
    margin-bottom: 0;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: var(--transition);
}

.cookie-accept {
    background-color: var(--organic-mint);
    color: var(--midnight-plum);
}

.cookie-accept:hover {
    background-color: var(--tech-blue);
    color: var(--snow-white);
}

.cookie-more {
    background-color: transparent;
    color: var(--snow-white);
    border: 1px solid var(--snow-white);
}

.cookie-more:hover {
    background-color: var(--snow-white);
    color: var(--midnight-plum);
}

/* Legal Pages */
.legal-page {
    padding: 5rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content {
    background-color: var(--snow-white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.legal-content h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.legal-content p,
.legal-content ul {
    margin-bottom: 1.2rem;
}

.legal-content ul {
    list-style: disc;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Thank You Page */
.thank-you {
    text-align: center;
    padding: 8rem 0;
}

.thank-you h1 {
    margin-bottom: 2rem;
    color: var(--tech-blue);
}

/* Form Alerts */
.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    border-left: 4px solid;
}

.alert-error {
    background-color: rgba(255, 0, 0, 0.1);
    border-left-color: #d9534f;
    color: #a94442;
}

.alert-error ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 0;
}

.alert-success {
    background-color: rgba(0, 128, 0, 0.1);
    border-left-color: #5cb85c;
    color: #3c763d;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text,
    .about-image {
        order: 0;
    }
    
    .visual-section {
        height: 400px;
    }
    
    .visual-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    nav ul {
        gap: 1.5rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .form-container {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .visual-section {
        height: 350px;
    }
    
    .visual-content h2 {
        font-size: 2rem;
    }
    
    .feature-card,
    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
} 