/* ===============================================
   BrightLedger Accounting - Modern CSS Styles
   Color Palette:
   - Electric Violet: #8F00FF (accent)
   - Deep Teal: #004D52 (background)
   - Ghost White: #F9F9FF (block backgrounds)
   - Soft Mint: #B6FCD5 (secondary elements)
   - Graphite Black: #1C1C1C (text)
   =============================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1C1C1C;
    background-color: #F9F9FF;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    color: #8F00FF;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #004D52;
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #8F00FF, #004D52);
    color: white;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(143, 0, 255, 0.3);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: #004D52;
    border: 2px solid #004D52;
}

.btn-secondary:hover {
    background: #004D52;
    color: white;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: #8F00FF;
    border: 2px solid #8F00FF;
}

.btn-outline:hover {
    background: #8F00FF;
    color: white;
    text-decoration: none;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #004D52, #8F00FF);
    color: white;
    padding: 15px 0;
    z-index: 1000;
    animation: slideUp 0.5s ease;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-accept {
    background: #B6FCD5;
    color: #1C1C1C;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-accept:hover {
    background: white;
    transform: translateY(-1px);
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.navbar {
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 45px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: #1C1C1C;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #8F00FF;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: #8F00FF;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.cta-link {
    background: linear-gradient(135deg, #8F00FF, #004D52);
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
}

.cta-link:hover {
    transform: translateY(-2px);
    color: white !important;
    text-decoration: none;
}

.cta-link::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #1C1C1C;
    transition: all 0.3s ease;
}

/* Main Content */
.main-content {
    margin-top: 80px;
}

/* Section Styles */
.section-title {
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #8F00FF, #004D52);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #004D52, #8F00FF);
    color: white;
    padding: 100px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.highlight {
    color: #B6FCD5;
    text-shadow: 0 0 20px rgba(182, 252, 213, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease 0.6s both;
}

.hero-card {
    width: 300px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, #F9F9FF, #B6FCD5);
    border: 1px solid rgba(143, 0, 255, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #8F00FF;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

.appear-animation {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.appear-animation:nth-child(2) {
    animation-delay: 0.2s;
}

.appear-animation:nth-child(3) {
    animation-delay: 0.4s;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background: #F9F9FF;
}

.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.advantage-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(143, 0, 255, 0.1), transparent);
    transition: all 0.6s ease;
}

.advantage-card:hover::before {
    left: 100%;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(143, 0, 255, 0.2);
}

.advantage-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.advantage-card h3 {
    color: #004D52;
    margin-bottom: 15px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background: #F9F9FF;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card.featured {
    background: linear-gradient(135deg, #8F00FF, #004D52);
    color: white;
    transform: scale(1.05);
}

.service-card:hover {
    border-color: #8F00FF;
    transform: translateY(-5px);
}

.service-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.featured-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #B6FCD5;
    color: #1C1C1C;
    padding: 5px 20px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.service-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 20px 0;
    color: #8F00FF;
}

.service-card.featured .service-price {
    color: #B6FCD5;
}

.service-price span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.7;
}

.service-description ul {
    list-style: none;
    text-align: left;
    margin: 20px 0;
}

.service-description li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.service-description li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8F00FF;
    font-weight: bold;
}

.service-card.featured li::before {
    color: #B6FCD5;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background: #F9F9FF;
}

.reviews-slider {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
    overflow: hidden;
}

.review-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: none;
    animation: fadeIn 0.5s ease;
}

.review-card.active {
    display: block;
}

.review-card:nth-child(1).active {
    animation: slideInRight 1s ease;
}

.review-card:nth-child(2).active {
    animation: slideInLeft 1s ease;
}

.review-card:nth-child(3).active {
    animation: slideInRight 1s ease;
}

.review-content {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.7;
    color: #333;
}

.review-content::before {
    content: '"';
    font-size: 3rem;
    color: #8F00FF;
    opacity: 0.3;
    position: absolute;
    margin-left: -30px;
    margin-top: -10px;
}

.review-author strong {
    color: #004D52;
    font-size: 1.1rem;
}

.review-author span {
    display: block;
    color: #666;
    margin-top: 5px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Partners Section */
.partners {
    padding: 60px 0;
    background: linear-gradient(135deg, #004D52, #1C1C1C);
    color: white;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 40px;
    align-items: center;
}

.partner-logo {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.partner-logo:hover {
    opacity: 1;
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    margin-bottom: 20px;
    border: 2px solid #F9F9FF;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #8F00FF;
}

.faq-toggle {
    display: none;
}

.faq-question {
    display: block;
    padding: 25px 30px;
    background: #F9F9FF;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: #1C1C1C;
    position: relative;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #8F00FF;
    color: white;
}

.faq-icon {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.faq-toggle:checked + .faq-question .faq-icon {
    transform: translateY(-50%) rotate(45deg);
}

.faq-toggle:checked + .faq-question {
    background: #8F00FF;
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 200px;
    padding: 25px 30px;
}

/* Order Form Section */
.order-form {
    padding: 80px 0;
    background: linear-gradient(135deg, #F9F9FF, #B6FCD5);
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
}

.error-message {
    max-width: 800px;
    margin: 0 auto 30px;
    padding: 20px 25px;
    background: #ffe6e6;
    border: 2px solid #ff4444;
    border-radius: 10px;
    color: #cc0000;
}

.error-message h3 {
    margin-bottom: 15px;
    color: #cc0000;
    font-size: 1.2rem;
}

.error-message ul {
    margin: 0;
    padding-left: 20px;
}

.error-message li {
    margin-bottom: 8px;
    font-weight: 500;
}

.quote-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1C1C1C;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #F9F9FF;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #F9F9FF;
}

.form-group textarea {
    border-radius: 20px;
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8F00FF;
    background: white;
    box-shadow: 0 0 0 3px rgba(143, 0, 255, 0.1);
}

.checkbox-group {
    margin-bottom: 15px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #8F00FF;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #8F00FF;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 14px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #004D52, #1C1C1C);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 1.5rem;
    margin-top: 5px;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
    color: #B6FCD5;
}

.contact-item p {
    margin: 0;
    opacity: 0.9;
}

.contact-item a {
    color: white;
}

.contact-item a:hover {
    color: #B6FCD5;
}

.map-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.canada-outline {
    font-size: 4rem;
    margin-top: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #004D52, #8F00FF);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #B6FCD5;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 15px;
}

.footer-description {
    opacity: 0.9;
    line-height: 1.6;
}

.contact-info p {
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: #B6FCD5;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    
    .hero {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .services-grid,
    .advantages {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card.featured {
        transform: none;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .quote-form {
        padding: 30px 20px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-card {
        width: 250px;
        height: 150px;
    }
    
    .advantage-card,
    .service-card {
        padding: 30px 20px;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 20px;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation delays for better UX */
.advantage-card:nth-child(1) { animation-delay: 0.1s; }
.advantage-card:nth-child(2) { animation-delay: 0.2s; }
.advantage-card:nth-child(3) { animation-delay: 0.3s; }

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .cookie-banner,
    .header,
    .nav-toggle,
    .hero-cta,
    .btn {
        display: none !important;
    }
    
    .main-content {
        margin-top: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
} 