/* NorthLedger Accounting - Modern CSS Styles */
:root {
    --primary-purple: #4C1D95;
    --accent-yellow: #FCD34D;
    --dark-gray: #1F2937;
    --pure-white: #F9FAFB;
    --light-blue: #60A5FA;
    --font-primary: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--pure-white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.3;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    animation: fadeIn 0.8s ease-out;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-gray));
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(76, 29, 149, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
}

.contact-info {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-gray) 100%);
    color: white;
    text-align: center;
    padding: 120px 0;
    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 1000 1000"><circle cx="200" cy="200" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="800" cy="300" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="300" cy="600" r="4" fill="rgba(255,255,255,0.1)"/><circle cx="700" cy="800" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: pulse 4s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin-bottom: 1.5rem;
    animation: slideLeft 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-yellow), #FFE066);
    color: var(--dark-gray);
    box-shadow: 0 8px 25px rgba(252, 211, 77, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(252, 211, 77, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--accent-yellow);
}

.btn-secondary:hover {
    background: var(--accent-yellow);
    color: var(--dark-gray);
}

/* About Section */
.about {
    background: var(--pure-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--light-blue);
    font-weight: 600;
}

/* Features Section */
.features {
    background: linear-gradient(135deg, var(--dark-gray), var(--primary-purple));
    color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--accent-yellow);
}

/* Services Section */
.services {
    background: var(--pure-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border-radius: 25px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 15px 40px rgba(76, 29, 149, 0.1);
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(45deg, var(--primary-purple), var(--light-blue));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(76, 29, 149, 0.2);
    border-color: var(--primary-purple);
}

.service-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin: 1rem 0;
}

.service-period {
    font-size: 0.9rem;
    color: #666;
}

/* Contact Form */
.contact-form {
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-gray));
    color: white;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 20px rgba(252, 211, 77, 0.5);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    transform: scale(1.2);
}

/* Testimonials */
.testimonials {
    background: var(--pure-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(76, 29, 149, 0.1);
    text-align: center;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent-yellow);
    font-weight: bold;
}

.client-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 4px solid var(--primary-purple);
}

.client-name {
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(45deg, var(--accent-yellow), #FFE066);
    color: var(--dark-gray);
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    margin-bottom: 1rem;
}

.discount {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

/* FAQ Section */
.faq {
    background: var(--light-gray);
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 29, 149, 0.05) 0%, rgba(252, 211, 77, 0.05) 100%);
    pointer-events: none;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-item {
    background: white;
    margin-bottom: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(76, 29, 149, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(76, 29, 149, 0.15);
    border-color: var(--accent-yellow);
}

.faq-question {
    background: linear-gradient(135deg, var(--primary-purple) 0%, #5B21B6 100%);
    color: white;
    padding: 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    background: linear-gradient(135deg, #5B21B6 0%, var(--primary-purple) 100%);
    transform: scale(1.02);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    font-weight: 300;
    transition: all 0.4s ease;
    background: var(--accent-yellow);
    color: var(--primary-purple);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.faq-answer {
    padding: 0 2rem;
    background: white;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    opacity: 0;
}

.faq-answer p {
    padding: 2rem 0;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--dark-gray);
    border-top: 2px solid var(--light-gray);
}

.faq-item:target .faq-answer {
    max-height: 300px;
    opacity: 1;
    padding: 0 2rem;
}

.faq-item:target .faq-question::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
    background: var(--primary-purple);
    color: white;
}

.faq-item:target .faq-question {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #F59E0B 100%);
    color: var(--primary-purple);
}

/* Анимация для FAQ */
@keyframes expandFAQ {
    from {
        max-height: 0;
        opacity: 0;
    }
    to {
        max-height: 300px;
        opacity: 1;
    }
}

.faq-item:target .faq-answer {
    animation: expandFAQ 0.5s ease-out forwards;
}

/* Footer */
footer {
    background: var(--dark-gray);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--dark-gray);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    max-width: 500px;
    margin: 0 auto;
}

.cookie-popup p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.cookie-popup .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        position: static;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
    }
    
    /* FAQ Mobile Styles */
    .faq-container {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .faq-item {
        margin-bottom: 1rem;
        border-radius: 15px;
    }
    
    .faq-question {
        padding: 1.5rem;
        font-size: 1rem;
    }
    
    .faq-question::after {
        right: 1.5rem;
        width: 35px;
        height: 35px;
        font-size: 1.8rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem;
    }
    
    .faq-answer p {
        padding: 1.5rem 0;
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .faq-item:target .faq-answer {
        padding: 0 1.5rem;
    }
    
    .faq-item:hover {
        transform: translateY(-2px);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .service-card,
    .feature-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    /* FAQ Extra Small Mobile */
    .faq-question {
        padding: 1.2rem;
        font-size: 0.95rem;
    }
    
    .faq-question::after {
        right: 1.2rem;
        width: 30px;
        height: 30px;
        font-size: 1.6rem;
    }
    
    .faq-answer {
        padding: 0 1.2rem;
    }
    
    .faq-answer p {
        padding: 1.2rem 0;
        font-size: 0.95rem;
    }
    
    .faq-item:target .faq-answer {
        padding: 0 1.2rem;
    }
}

/* Print Styles */
@media print {
    .cookie-popup,
    .btn,
    .contact-form {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
    
    .hero,
    .features,
    .contact-form,
    footer {
        background: white !important;
        color: black !important;
    }
} 