/* Network Legal Company Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Foundation Colors - Legal Professional Theme */
:root {
    /* Backgrounds */
    --bg-page: #FAFFEE;
    /* Main page background */
    --bg-card: #FAFAFF;
    /* Card backgrounds */
    --bg-subtle: #EDEDFE;
    /* Light section backgrounds */
    --bg-section: #CACAFC;
    /* Subtle purple sections */

    /* Text Colors */
    --text-primary: #004534;
    /* Main headings and content - Dark Green */
    --text-secondary: #0C6951;
    /* Supporting text - Medium Green */
    --text-light: #807979;
    /* Captions, metadata */

    /* Borders */
    --border-light: #CACAFC;
    /* Subtle separators */
    --border-medium: #DDDDDD;
    /* Standard borders */
    --border-strong: #B0B0B0;
    /* Emphasized borders */

    /* Brand Colors - Green Theme for Legal */
    --brand-primary: #22C55E;
    /* Bright Green for CTAs */
    --brand-dark: #004534;
    /* Dark Green for headers */
    --brand-hover: #0C6951;
    /* Hover state green */

    /* Spacing System */
    --spacing-xs: 8px;
    --spacing-small: 16px;
    --spacing-medium: 24px;
    --spacing-large: 32px;
    --spacing-xl: 48px;
    --spacing-giant: 64px;
}

/* Base Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    line-height: 1.5;
    background-color: var(--bg-page);
    color: var(--text-secondary);
}

/* Typography Scale */
.display-large {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.heading-1 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.heading-2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.heading-3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.body-large {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
}

.body-medium {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
}

.body-small {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-light);
}

/* Text Utilities */
.text-brand-primary {
    color: var(--brand-primary);
}

/* Container System */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 12px;
}

/* Header */
.network-header {
    background: var(--bg-page);
    position: fixed;
    top: 32px;
    width: 100%;
    z-index: 99999;
    padding: 0 12px;
}

.nav-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    background: var(--brand-dark);
    border-radius: 25px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0, 69, 52, 0.25);
}

.network-logo {
    font-size: 18px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.network-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.network-nav-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.network-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: white;
    margin: 2px 0;
    transition: 0.3s;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--brand-dark);
    border-radius: 0 0 25px 25px;
    flex-direction: column;
    padding: 16px;
    gap: 8px;
}

.mobile-nav.active {
    display: flex;
}

/* Buttons */
.btn-primary {
    background: var(--brand-primary);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    line-height: 1.2;
}

.btn-primary:hover {
    background: var(--brand-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--brand-dark);
    border: 2px solid var(--brand-dark);
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
}

.btn-secondary:hover {
    background: var(--brand-dark);
    color: white;
    transform: translateY(-2px);
}

.btn-cta {
    border-radius: 33px;
    padding: 18px 36px;
    font-size: 18px;
    font-weight: 700;
    background: var(--brand-primary);
    color: white;
    min-height: 54px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-cta:hover {
    background: var(--brand-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.25);
}

/* Cards */
.network-card {
    background: var(--bg-card);
    border-radius: 32px;
    padding: var(--spacing-large);
    box-shadow: 0 2px 8px rgba(0, 69, 52, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-light);
}

.network-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 69, 52, 0.25);
}

.network-card-title {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.network-card-content {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Grid Layout */
.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-large);
    padding: var(--spacing-large) 0;
    max-width: 1440px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    background: var(--bg-page);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin: 32px 0 64px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 64px;
}

.stat-card {
    text-align: center;
    padding: 24px;
}

.stat-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 12px auto;
    color: var(--brand-primary);
}

/* Services Section */
.services-section {
    padding: 64px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    cursor: pointer;
}

.service-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.service-icon {
    width: 32px;
    height: 32px;
    color: var(--brand-primary);
    flex-shrink: 0;
}

/* Consultation Section */
.consultation-section {
    background: var(--bg-subtle);
    padding: 64px 0;
}

.consultation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 48px;
}

.form-card {
    padding: 40px;
}

.form-description {
    color: var(--text-light);
    margin-bottom: 32px;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-icon {
    width: 16px;
    height: 16px;
}

input,
textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-medium);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s ease;
    background: white;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    margin-top: 16px;
}

/* Benefits */
.benefits-section {
    padding-left: 24px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 32px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.benefit-number {
    width: 48px;
    height: 48px;
    background: var(--brand-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
}

/* Footer */
.footer {
    background: var(--brand-dark);
    color: white;
    padding: 48px 0 24px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.footer-logo .heading-2 {
    color: white;
}

.footer-description {
    color: #D1D5DB;
    margin-bottom: 24px;
    max-width: 400px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #D1D5DB;
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: var(--brand-primary);
}

.footer-title {
    color: white;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: #D1D5DB;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--brand-primary);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    color: #9CA3AF;
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--brand-primary);
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--brand-primary);
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100000;
    transition: all 0.3s ease;
}

.toast.hidden {
    opacity: 0;
    transform: translateX(100%);
}

.toast.error {
    background: #EF4444;
}

.toast.success {
    background: var(--brand-primary);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Mobile Responsive */
@media (max-width: 781px) {
    .network-header {
        top: 0;
        position: fixed;
    }

    .nav-wrapper {
        border-radius: 25px;
        padding: 16px;
    }

    .network-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-section {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 48px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .network-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 0;
    }

    .network-card {
        border-radius: 24px;
        padding: 24px;
    }

    .service-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .consultation-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .benefits-section {
        padding-left: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }

    .consultation-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (min-width: 1024px) {
    .network-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: var(--spacing-large);
    }

    .network-card:hover {
        transform: translateY(-6px);
    }
}