/*
 * German VAT Platform - Landing Page Stylesheet
 * ==============================================
 * Styles specific to the public landing page.
 */

/* === Smooth Scrolling === */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* === Navbar (Transparent → Solid on Scroll) === */
#mainNavbar {
    background: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    padding: 1rem 0;
}

#mainNavbar.scrolled {
    background: var(--gv-primary-dark) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
}

#mainNavbar .nav-link {
    font-weight: 500;
    font-size: 0.925rem;
    padding: 0.5rem 1rem;
    opacity: 0.85;
    transition: opacity 0.2s;
}

#mainNavbar .nav-link:hover {
    opacity: 1;
}

/* === Hero Section === */
.hero-section {
    background: linear-gradient(135deg, var(--gv-primary-dark) 0%, var(--gv-primary) 50%, var(--gv-primary-light) 100%);
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -0.03em;
}

.hero-section .lead {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    max-width: 540px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.hero-badge i {
    color: var(--gv-accent);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 8rem 0 4rem;
    }
    .hero-section h1 {
        font-size: 2.2rem;
    }
}

/* === Section Styling === */
.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--gv-bg-light);
}

.section-dark {
    background: var(--gv-primary-dark);
    color: #fff;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gv-secondary);
    max-width: 640px;
    margin: 0 auto 3rem;
}

/* === Service Cards === */
.service-card {
    background: #fff;
    border: 1px solid var(--gv-border);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.25s ease;
}

.service-card:hover {
    border-color: var(--gv-accent);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.1);
    transform: translateY(-4px);
}

.service-card .icon-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gv-bg-light);
    border-radius: 12px;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    color: var(--gv-primary);
    transition: all 0.25s ease;
}

.service-card:hover .icon-wrap {
    background: var(--gv-accent);
    color: #fff;
}

.service-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.925rem;
    color: var(--gv-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

/* === Pricing Cards === */
.pricing-card {
    background: #fff;
    border: 2px solid var(--gv-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: all 0.25s ease;
    position: relative;
}

.pricing-card:hover {
    border-color: var(--gv-accent);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
    border-color: var(--gv-accent);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.15);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gv-accent);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 1.25rem;
    border-radius: 50px;
    letter-spacing: 0.02em;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gv-text);
    line-height: 1;
}

.pricing-amount span {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gv-secondary);
}

.pricing-period {
    font-size: 0.9rem;
    color: var(--gv-secondary);
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.925rem;
    color: var(--gv-text);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.pricing-features li i {
    color: var(--gv-accent);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* === Feature Grid (Why Choose Us) === */
.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.feature-card .feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 16px;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
    color: var(--gv-accent);
}

.feature-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gv-secondary);
    margin-bottom: 0;
}

/* === Industry Cards (wide layout – icon + text side by side) === */
.industry-card {
    text-align: center;
    padding: 1.75rem 1rem;
    background: #fff;
    border: 1px solid var(--gv-border);
    border-radius: 12px;
    transition: all 0.2s ease;
    height: 100%;
}

.industry-card-wide {
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.75rem 1.5rem;
}

.industry-card-wide .industry-card-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gv-bg-light);
    border-radius: 12px;
    font-size: 1.5rem;
    color: var(--gv-primary);
    transition: all 0.25s ease;
}

.industry-card-wide:hover .industry-card-icon {
    background: var(--gv-primary);
    color: #fff;
}

.industry-card:hover {
    border-color: var(--gv-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.industry-card i {
    font-size: 2rem;
    color: var(--gv-primary);
    margin-bottom: 0.75rem;
    display: block;
}

.industry-card-wide i {
    margin-bottom: 0;
}

.industry-card h6 {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.industry-card-wide h6 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.industry-card p {
    font-size: 0.825rem;
    color: var(--gv-secondary);
    margin-bottom: 0;
}

.industry-card-wide p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* === Steps (How It Works) === */
.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gv-accent);
    color: #fff;
    font-weight: 800;
    font-size: 1.5rem;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.step-card h5 {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-card p {
    font-size: 0.925rem;
    color: var(--gv-secondary);
    max-width: 300px;
    margin: 0 auto;
}

/* Step connector line */
@media (min-width: 768px) {
    .step-connector {
        position: relative;
    }
    .step-connector::after {
        content: '';
        position: absolute;
        top: 28px;
        left: calc(50% + 40px);
        width: calc(100% - 80px);
        height: 2px;
        background: linear-gradient(to right, var(--gv-accent), var(--gv-border));
        z-index: 0;
    }
}

/* === FAQ Accordion === */
.faq-accordion .accordion-item {
    border: 1px solid var(--gv-border);
    border-radius: 12px !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    font-weight: 600;
    font-size: 1rem;
    color: var(--gv-text);
    padding: 1.25rem 1.5rem;
    background: #fff;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--gv-bg-light);
    color: var(--gv-primary);
    box-shadow: none;
}

.faq-accordion .accordion-button::after {
    background-size: 1rem;
}

.faq-accordion .accordion-body {
    padding: 0 1.5rem 1.25rem;
    color: var(--gv-secondary);
    line-height: 1.7;
}

/* === CTA Section === */
.cta-section {
    background: linear-gradient(135deg, var(--gv-primary-dark) 0%, var(--gv-primary) 100%);
    padding: 5rem 0;
}

/* === Public Footer === */
.footer-public {
    background: var(--gv-primary-dark);
    color: rgba(255, 255, 255, 0.7);
}

.footer-heading {
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--gv-accent);
    text-decoration: none;
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* === Problem/Solution Checkmarks === */
.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    padding: 0.4rem 0;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.check-list li i {
    color: var(--gv-accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* === Note box === */
.note-box {
    background: var(--gv-bg-light);
    border-left: 4px solid var(--gv-accent);
    border-radius: 0 8px 8px 0;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    color: var(--gv-secondary);
}
