/* ==========================================
   NHS Statement Generator - Main Stylesheet
   Primary: #0D4A9A | Accent: #1FA2A6 
   Background: #F6F7F9 | Cards: #FFFFFF
   Text: #1F2937 | Muted: #6B7280
   ========================================== */

/* === CSS Variables === */
:root {
    --primary: #0D4A9A;
    --accent: #1FA2A6;
    --background: #F6F7F9;
    --cards: #FFFFFF;
    --text: #1F2937;
    --muted: #6B7280;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --border: #E5E7EB;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* === Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* === Container === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Navigation === */
.navbar {
    background-color: var(--cards);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
    overflow: visible;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.navbar-logo {
    flex: 0 0 auto;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
}

.navbar-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.logo i {
    font-size: 1.5rem;
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

.mobile-auth-buttons {
    display: none;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: #0a3a7a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-accent {
    background-color: var(--accent);
    color: white;
}

.btn-accent:hover {
    background-color: #188589;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.btn-white {
    background-color: white;
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* === Flash Messages === */
.flash-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert-success {
    background-color: #D1FAE5;
    color: #065F46;
    border-left: 4px solid var(--success);
}

.alert-error {
    background-color: #FEE2E2;
    color: #991B1B;
    border-left: 4px solid var(--error);
}

.alert-warning {
    background-color: #FEF3C7;
    color: #92400E;
    border-left: 4px solid var(--warning);
}

.alert-info {
    background-color: #DBEAFE;
    color: #1E40AF;
    border-left: 4px solid var(--primary);
}

.alert-close {
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.5;
    margin-left: auto;
    font-size: 1.25rem;
}

.alert-close:hover {
    opacity: 1;
}

/* === Hero Section === */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
}

.highlight {
    color: var(--accent);
    position: relative;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.hero-card {
    background-color: white;
    color: var(--text);
    width: 100%;
    max-width: 500px;
    height: auto;
    min-height: 400px;
    padding: 10px;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

.hero-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.card-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.hero-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.hero-card p {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.card-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.card-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.card-features i {
    color: var(--success);
}

/* === Trusted By Section === */
.trusted-by {
    padding: 4rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
    position: relative;
}

.trusted-by::before,
.trusted-by::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.trusted-by::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.trusted-by::after {
    right: 0;
    background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.trusted-text {
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logos-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.logos-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    animation: scroll 40s linear infinite;
    width: fit-content;
}

.logos-container:hover {
    animation-play-state: paused;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 60px;
    padding: 0 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.logo-item:hover {
    transform: scale(1.15);
}

.company-logo {
    width: 100%;
    max-width: 120px;
    height: auto;
    max-height: 45px;
    object-fit: contain;
    opacity: 0.5;
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-item:hover .company-logo {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
}

/* Infinite scrolling animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-140px * 5 - 4rem * 5));
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .trusted-by::before,
    .trusted-by::after {
        width: 100px;
    }
    
    .logos-container {
        gap: 3rem;
    }
    
    .logo-item {
        min-width: 120px;
        height: 50px;
    }
    
    .company-logo {
        max-width: 100px;
        max-height: 40px;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-120px * 5 - 3rem * 5));
        }
    }
}

@media (max-width: 768px) {
    .trusted-by {
        padding: 3rem 0;
    }
    
    .trusted-by::before,
    .trusted-by::after {
        width: 50px;
    }
    
    .trusted-text {
        font-size: 0.75rem;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    
    .logos-container {
        gap: 2.5rem;
    }
    
    .logo-item {
        min-width: 100px;
        height: 45px;
    }
    
    .company-logo {
        max-width: 85px;
        max-height: 35px;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-100px * 5 - 2.5rem * 5));
        }
    }
}

/* === Features Section === */
.features {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--cards);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.feature-card p {
    color: var(--muted);
    line-height: 1.7;
}

/* === About Platform Section === */
.about-platform {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.about-platform::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border) 50%, transparent 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-wrapper:hover {
    transform: translateY(-10px);
}

.platform-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.image-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 8px 20px rgba(13, 74, 154, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}

.image-badge i {
    font-size: 1.125rem;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(13, 74, 154, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 30px rgba(13, 74, 154, 0.5);
    }
}

.about-text {
    padding: 0 1rem;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(13, 74, 154, 0.1) 0%, rgba(31, 162, 166, 0.1) 100%);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.about-heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1.125rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-check {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.feature-text h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.938rem;
    color: var(--muted);
    line-height: 1.6;
}

.about-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-outline-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-outline-secondary:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Responsive */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        order: 2;
    }
    
    .about-text {
        order: 1;
        padding: 0;
    }
    
    .about-heading {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .about-platform {
        padding: 4rem 0;
    }
    
    .about-heading {
        font-size: 1.75rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
    
    .about-actions {
        flex-direction: column;
    }
    
    .about-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .image-badge {
        bottom: 15px;
        right: 15px;
        padding: 10px 20px;
        font-size: 0.75rem;
    }
}

/* === How It Works === */
.how-it-works {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.section-tag-center {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(13, 74, 154, 0.08);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
    align-items: center;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Timeline Marker */
.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.marker-circle {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border: 4px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(13, 74, 154, 0.1), 0 4px 12px rgba(13, 74, 154, 0.3);
    position: relative;
    z-index: 3;
}

.marker-line {
    width: 3px;
    height: 100%;
    min-height: 150px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
    position: absolute;
    top: 24px;
    opacity: 0.3;
}

/* Timeline Content */
.timeline-content {
    padding: 2rem;
}

.timeline-left {
    text-align:left;
}

.timeline-right {
    text-align: left;
}

.step-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(13, 74, 154, 0.1) 0%, rgba(31, 162, 166, 0.1) 100%);
    color: var(--primary);
    font-size: 0.813rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.timeline-content p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 450px;
}

.timeline-left p {
    margin-left: auto;
}

.timeline-right p {
    margin-right: auto;
}

/* Timeline Image */
.timeline-image {
    position: relative;
}

.image-card {
    background: linear-gradient(135deg, #a8e063 0%, #56ab2f 100%);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(168, 224, 99, 0.3) 0%, rgba(86, 171, 47, 0.3) 100%);
    z-index: 0;
}

.image-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.step-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* CTA Center */
.cta-center {
    text-align: center;
    margin-top: 4rem;
}

/* Responsive */
@media (max-width: 992px) {
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }
    
    .timeline-marker {
        display: none;
    }
    
    .timeline-content,
    .timeline-left,
    .timeline-right {
        text-align: left;
    }
    
    .timeline-content {
        padding: 0;
        order: 1;
    }
    
    .timeline-image {
        order: 2;
    }
    
    .timeline-reverse .timeline-content {
        order: 1;
    }
    
    .timeline-reverse .timeline-image {
        order: 2;
    }
    
    .timeline-content p,
    .timeline-left p {
        margin-left: 0;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .how-it-works {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .timeline-item {
        margin-bottom: 3rem;
    }
    
    .timeline-content h3 {
        font-size: 1.5rem;
    }
    
    .timeline-content p {
        font-size: 0.938rem;
    }
    
    .image-card {
        padding: 15px;
    }
}

/* === Testimonials === */
/* === Testimonials Carousel === */
.testimonials {
    padding: 0;
    background: linear-gradient(135deg, #0D4A9A 0%, #1FA2A6 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-header {
    padding: 4rem 0 2rem;
    text-align: center;
}
.testimonials-header .section-header {
    margin-bottom: 0px;
}
.testimonials-header .section-header h2 {
    color: #ffffff;
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.testimonials-header .section-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

.testimonials-carousel-wrapper {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0rem 100px 5rem;
}

.testimonials-carousel-container {
    overflow: hidden;
    width: 100%;
}

.testimonials-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.testimonial-card-slide {
    flex-shrink: 0;
    padding-top: 30px;
    display: block;
}

.testimonial-card-full {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.testimonial-card-full:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: 25px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
    box-shadow: 0 4px 15px rgba(13, 74, 154, 0.3);
}

.testimonial-card-full .stars {
    color: #FFC107;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    text-align: left;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    font-style: italic;
    text-align: left;
    margin-bottom: 1.5rem;
    font-weight: 400;
    flex-grow: 1;
    min-height: 100px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(13, 74, 154, 0.1) 0%, rgba(31, 162, 166, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.author-info {
    text-align: left;
}

.author-info strong {
    display: block;
    color: var(--text);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.125rem;
}

.author-info span {
    color: var(--muted);
    font-size: 0.875rem;
}

/* Carousel Navigation */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.carousel-btn:hover {
    background: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: 30px;
}

.carousel-next {
    right: 30px;
}

/* Responsive */
@media (max-width: 1400px) {
    .testimonials-carousel-wrapper {
        padding: 3rem 80px 5rem;
    }
}

@media (max-width: 1200px) {
    .testimonials-carousel-wrapper {
        padding: 3rem 70px 5rem;
    }
}

@media (max-width: 1024px) {
    .testimonials-carousel-wrapper {
        padding: 2rem 60px 4rem;
    }
    
    .testimonial-card-full {
        padding: 2rem 1.75rem;
    }
    
    .testimonial-text {
        font-size: 0.938rem;
        min-height: 90px;
    }
}

@media (max-width: 768px) {
    .testimonials-header {
        padding: 3rem 0 1.5rem;
    }
    
    .testimonials-header .section-header h2 {
        font-size: 2rem;
    }
    
    .testimonials-carousel-wrapper {
        padding: 2rem 50px 3rem;
    }
    
    .testimonials-carousel-container {
        max-width: 100%;
    }
    
    .testimonial-card-slide {
        width: 100% !important;
        margin-right: 0 !important;
        padding: 10px;
    }
    
    .testimonial-card-full {
        padding: 2rem 1.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .quote-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        left: 20px;
        top: -12px;
    }
    
    .testimonial-text {
        font-size: 0.938rem;
        min-height: 80px;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .testimonials-carousel-wrapper {
        padding: 2rem 45px 3rem;
    }
    
    .testimonial-card-slide {
        width: 100% !important;
        margin-right: 0 !important;
        padding: 5px;
    }
    
    .testimonial-card-full {
        padding: 1.75rem 1.25rem;
        width: 100%;
    }
    
    .testimonial-text {
        font-size: 0.875rem;
        min-height: 70px;
    }
    
    .author-avatar {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
    
    .author-info strong {
        font-size: 0.938rem;
    }
    
    .author-info span {
        font-size: 0.813rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 0.875rem;
    }
    
    .carousel-prev {
        left: 5px;
    }
    
    .carousel-next {
        right: 5px;
    }
}

/* === Newsletter CTA Section === */
.newsletter-cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #E8F1FB 0%, #E0F5F5 50%, #D6F0F1 100%);
    position: relative;
    overflow: hidden;
}

.newsletter-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 74, 154, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.newsletter-cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(31, 162, 166, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.newsletter-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter-tag {
    font-size: 0.95rem;
    color: #6B7280;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.newsletter-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: #1F2937;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.gradient-text {
    background: linear-gradient(135deg, #0D4A9A 0%, #1FA2A6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 400;
    font-style: italic;
}

.newsletter-description {
    font-size: 1.1rem;
    color: #6B7280;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.newsletter-form {
    max-width: 550px;
    margin: 0 auto;
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    background: white;
    border-radius: 50px;
    padding: 6px 6px 6px 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    box-shadow: 0 15px 50px rgba(13, 74, 154, 0.15);
    transform: translateY(-2px);
}

.newsletter-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    color: #1F2937;
    background: transparent;
}

.newsletter-input::placeholder {
    color: #9CA3AF;
}

.newsletter-btn {
    background: linear-gradient(135deg, #0D4A9A 0%, #1FA2A6 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 74, 154, 0.3);
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 74, 154, 0.4);
    background: linear-gradient(135deg, #1FA2A6 0%, #0D4A9A 100%);
}

.newsletter-btn:active {
    transform: translateY(0);
}

/* Newsletter Success Message */
.newsletter-success {
    text-align: center;
    padding: 2rem;
    animation: fadeIn 0.5s ease-in;
}

.success-icon {
    font-size: 4rem;
    color: #10B981;
    margin-bottom: 1rem;
    animation: scaleIn 0.5s ease-in;
}

.newsletter-success h3 {
    font-size: 2rem;
    color: #1F2937;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.newsletter-success p {
    font-size: 1.1rem;
    color: #6B7280;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .newsletter-cta-section {
        padding: 4rem 0;
    }
    
    .newsletter-title {
        font-size: 2.5rem;
    }
    
    .newsletter-description {
        font-size: 1rem;
    }
    
    .input-wrapper {
        flex-direction: column;
        padding: 15px;
        border-radius: 25px;
        gap: 12px;
    }
    
    .newsletter-input {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1rem;
    }
    
    .newsletter-btn {
        width: 100%;
        padding: 1rem 2rem;
    }
}

@media (max-width: 480px) {
    .newsletter-title {
        font-size: 2rem;
    }
    
    .newsletter-tag {
        font-size: 0.875rem;
    }
}

/* === Footer === */
.footer {
    background-color: #FFFFFF;
    border-top: 1px solid #E5E7EB;
    padding: 4rem 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.footer-logo:hover {
    color: var(--accent);
}

.footer-logo i {
    font-size: 1.5rem;
    color: var(--accent);
}

.footer-tagline {
    color: #6B7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background-color: #F3F4F6;
    color: #6B7280;
    transition: var(--transition);
    font-size: 1rem;
}

.footer-social-link:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6B7280;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-list li a {
    color: #6B7280;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-list li a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

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

.footer-copyright {
    color: #6B7280;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #6B7280;
    font-size: 0.875rem;
    transition: var(--transition);
}

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

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-links-group {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-links-group {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* === Form Styles === */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

.form-control {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 74, 154, 0.1);
}

.form-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--muted);
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

/* === Password Input Wrapper === */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    padding-right: 3rem;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    cursor: pointer;
    color: var(--muted);
    transition: var(--transition);
    font-size: 1.1rem;
}

.toggle-password:hover {
    color: var(--primary);
}

/* === Auth Pages === */
.auth-section {
    padding: 4rem 0;
    min-height: calc(100vh - 200px);
}

.auth-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background-color: var(--cards);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.auth-card {
    padding: 3rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--muted);
}

.auth-form {
    margin-bottom: 1.5rem;
}

.form-group-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.auth-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

.auth-info {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-content {
    text-align: center;
}

.info-content h3 {
    font-size: 1.75rem;
    margin: 1rem 0;
}

.info-content p {
    opacity: 0.95;
    margin-bottom: 2rem;
}

.features-list {
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.feature-item i {
    color: var(--accent);
    background-color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === Page Hero === */
.page-hero {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* === Responsive === */
@media (max-width: 768px) {
    .navbar {
        padding: 0.3rem 0;
    }
    
    .navbar-logo img {
        height: 60px !important;
        width: 60px !important;
    }
    
    .navbar-content {
        gap: 0.5rem;
    }
    
    .navbar-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        background-color: var(--cards);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        gap: 0.75rem;
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .navbar-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .navbar-auth {
        display: none;
    }
    
    .mobile-auth-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        padding-top: 0.5rem;
        border-top: 1px solid var(--border);
        margin-top: 0.5rem;
        width: 100%;
    }
    
    .mobile-auth-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-image {
        order: 2;
        display: flex;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .stat {
        flex: 1;
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-card {
        max-width: 100%;
        min-height: 300px;
    }
    
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-info {
        display: none;
    }
    
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .navbar-logo img {
        height: 50px !important;
        width: 50px !important;
    }
    
    .mobile-menu-toggle {
        font-size: 1.25rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

.link {
    color: var(--primary);
    font-weight: 600;
}

.link:hover {
    text-decoration: underline;
}

/* === Dashboard === */
.dashboard {
    padding: 3rem 0;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    font-size: 2rem;
    color: var(--primary);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background-color: var(--cards);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 1rem;
    align-items: center;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-icon.primary {
    background: linear-gradient(135deg, var(--primary), #0a3a7a);
}

.stat-icon.accent {
    background: linear-gradient(135deg, var(--accent), #188589);
}

.stat-icon.success {
    background: linear-gradient(135deg, var(--success), #059669);
}

.stat-icon.warning {
    background: linear-gradient(135deg, var(--warning), #D97706);
}

.stat-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-info p {
    color: var(--muted);
    font-size: 0.875rem;
}

.dashboard-section {
    background-color: var(--cards);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.dashboard-section h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.statements-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.statement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background-color: var(--background);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.statement-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.statement-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.statement-info {
    flex: 1;
}

.statement-info h3 {
    font-size: 1.125rem;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.statement-date {
    font-size: 0.875rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.statement-actions {
    display: flex;
    gap: 0.5rem;
}

.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--muted);
}

.empty-state i {
    color: var(--border);
    margin-bottom: 1rem;
}

.empty-state h3 {
    color: var(--text);
    margin-bottom: 0.5rem;
}

.empty-state p {
    margin-bottom: 1.5rem;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.action-card {
    padding: 1.5rem;
    background-color: var(--background);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background-color: var(--cards);
}

.action-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.action-card h3 {
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.action-card p {
    font-size: 0.875rem;
    color: var(--muted);
}

/* === Generate Statement === */
.generate-section {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
}

.generate-header {
    text-align: center;
    margin-bottom: 3rem;
}

.generate-header h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.generate-header p {
    color: var(--muted);
    font-size: 1.125rem;
}

.generate-form {
    max-width: 900px;
    margin: 0 auto;
}

.form-card {
    background-color: var(--cards);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.form-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-subtitle {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.file-upload {
    position: relative;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    border: 2px dashed var(--border);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.file-label:hover {
    border-color: var(--primary);
    background-color: rgba(13, 74, 154, 0.05);
}

.file-label i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.file-label span {
    font-weight: 600;
    color: var(--text);
}

.file-label small {
    color: var(--muted);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.divider {
    text-align: center;
    position: relative;
    margin: 2rem 0;
}

.divider span {
    background-color: var(--cards);
    padding: 0 1rem;
    color: var(--muted);
    position: relative;
    z-index: 1;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--border);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.usage-info {
    text-align: center;
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: var(--background);
    border-radius: var(--border-radius);
    color: var(--muted);
}

.usage-info i {
    color: var(--accent);
}

/* === Pricing === */
.pricing-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
}

/* Pricing Header */
.pricing-header-main {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pricing-badge i {
    color: var(--primary);
}

.pricing-main-title {
    font-size: 3rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.pricing-main-subtitle {
    font-size: 1.125rem;
    color: #6B7280;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Billing Toggle */
.billing-toggle {
    display: inline-flex;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 0.25rem;
    gap: 0.25rem;
}

.toggle-btn {
    padding: 0.625rem 1.25rem;
    border: none;
    background: transparent;
    color: #6B7280;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.toggle-btn.active {
    background: #F3F4F6;
    color: #111827;
}

.save-badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: white;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Pricing Cards */
.pricing-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.pricing-card-new {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card-new:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.pricing-card-new.featured-card {
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(13, 74, 154, 0.15);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 1rem;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: white;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.popular-badge i {
    font-size: 0.75rem;
}

/* Pricing Card Header */
.pricing-card-header {
    margin-bottom: 1.5rem;
}

.pricing-card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: #6B7280;
    font-weight: 400;
}

/* Pricing Buttons */
.pricing-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.starter-btn,
.enterprise-btn {
    background: #F9FAFB;
    color: #111827;
    border: 1px solid #E5E7EB;
}

.starter-btn:hover,
.enterprise-btn:hover {
    background: #F3F4F6;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.pro-btn {
    background: linear-gradient(135deg, #0D4A9A 0%, #1FA2A6 100%);
    color: white;
}

.pro-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(13, 74, 154, 0.3);
}

/* Pricing Features */
.pricing-features-section {
    border-top: 1px solid #E5E7EB;
    padding-top: 1.5rem;
}

.features-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

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

.pricing-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.625rem 0;
    font-size: 0.9375rem;
    color: #4B5563;
    line-height: 1.5;
}

.pricing-features-list li i {
    color: var(--primary);
    font-size: 1rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

/* Pricing Footer Note */
.pricing-footer-note {
    text-align: center;
    padding: 1.25rem 2rem;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 auto;
    max-width: 600px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.pricing-footer-note i {
    color: #EF4444;
    font-size: 1.125rem;
}

.pricing-footer-note span {
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 968px) {
    .pricing-cards-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-card-new.featured-card {
        order: -1;
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 3rem 0;
    }
    
    .pricing-main-title {
        font-size: 2rem;
    }
    
    .pricing-main-subtitle {
        font-size: 1rem;
    }
    
    .billing-toggle {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .toggle-btn {
        width: 100%;
        justify-content: center;
    }
    
    .pricing-footer-note {
        flex-direction: column;
        text-align: center;
    }
}

.faq-section {
    padding: 5rem 0;
    background-color: #FFFFFF;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
    gap: 2rem;
}

.faq-header-content h2 {
    font-size: 2.25rem;
    font-weight: 600;
    color: #101828;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.faq-subtitle {
    font-size: 1.125rem;
    color: #667085;
    line-height: 1.6;
    max-width: 600px;
}

.faq-doc-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.faq-doc-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

.faq-doc-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #FFFFFF;
    border: 1px solid #D0D5DD;
    border-radius: 8px;
    color: #344054;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    white-space: nowrap;
}

.faq-doc-button:hover {
    background-color: #F9FAFB;
    border-color: #B0B7C3;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.1);
}

.faq-doc-button i {
    font-size: 0.875rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.faq-item {
    display: flex;
    gap: 1.25rem;
    padding: 0;
    background: none;
    box-shadow: none;
}

.faq-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F9FAFB;
    border: 1px solid #EAECF0;
    border-radius: 10px;
    color: var(--primary);
    font-size: 1.25rem;
}

.faq-content {
    flex: 1;
}

.faq-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #101828;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.faq-content p {
    font-size: 1rem;
    color: #667085;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 0;
    }
    
    .faq-header {
        flex-direction: column;
        margin-bottom: 2.5rem;
    }
    
    .faq-header-content h2 {
        font-size: 1.75rem;
    }
    
    .faq-subtitle {
        font-size: 1rem;
    }
    
    .faq-doc-button {
        align-self: flex-start;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .faq-item {
        gap: 1rem;
    }
    
    .faq-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .faq-content h3 {
        font-size: 1rem;
    }
    
    .faq-content p {
        font-size: 0.9375rem;
    }
}

/* === Jobs === */
.jobs-search {
    padding: 2rem 0;
    background-color: var(--cards);
}

.search-form {
    max-width: 1000px;
    margin: 0 auto;
}

.search-inputs {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr auto;
    gap: 1rem;
}

.search-field {
    position: relative;
}

.search-field i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
}

.search-field .form-control {
    padding-left: 3rem;
}

.jobs-listing {
    padding: 3rem 0;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.job-card {
    background-color: var(--cards);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.job-header h3 {
    color: var(--primary);
    font-size: 1.25rem;
    flex: 1;
}

.job-type {
    background-color: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.job-company,
.job-location,
.job-salary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.job-description {
    color: var(--text);
    line-height: 1.6;
    margin: 1rem 0;
}

.job-footer {
    display: flex;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--cards);
    border-radius: var(--border-radius);
    color: var(--primary);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.pagination-btn:hover {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.pagination-info {
    color: var(--muted);
    font-weight: 600;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--muted);
}

.no-results i {
    color: var(--border);
    margin-bottom: 1rem;
}

.no-results h3 {
    color: var(--text);
    margin-bottom: 0.5rem;
}

/* === Contact === */
.contact-section {
    padding: 3rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.method-info h4 {
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.method-info p {
    color: var(--muted);
}

.contact-form-container {
    background-color: var(--cards);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.contact-form-container h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.map-section {
    padding: 0;
}

.map-placeholder {
    height: 400px;
    background-color: var(--background);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--muted);
}

/* === About === */
.about-content {
    padding: 3rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.about-text h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.values-section {
    padding: 3rem 0;
    background-color: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.value-card h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--muted);
    line-height: 1.7;
}

.team-section {
    padding: 3rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    background-color: var(--cards);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.member-role {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-member p {
    color: var(--muted);
    line-height: 1.7;
}

.stats-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    opacity: 0.9;
}

/* === Responsive Updates === */
@media (max-width: 992px) {
    .search-inputs {
        grid-template-columns: 1fr 1fr;
    }
    
    .search-inputs button {
        grid-column: 1 / -1;
    }
    
    .contact-grid,
    .about-grid,
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .search-inputs {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .job-footer {
        flex-direction: column;
    }
}
