/* ===================================
   ACT NOW INJURY LAWYERS - MAIN STYLESHEET
   =================================== */

:root {
    /* Color Palette */
    --primary-blue: #1E3A8A;
    --accent-red: #DC2626;
    --dark-navy: #0F172A;
    --light-gray: #F8FAFC;
    --gold: #F59E0B;
    --white: #FFFFFF;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', sans-serif;
    color: var(--dark-navy);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===================================
   ALERT BAR
   =================================== */
.alert-bar {
    background: linear-gradient(135deg, var(--accent-red) 0%, #B91C1C 100%);
    color: var(--white);
    padding: 16px 0;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    animation: slideDown 0.5s ease-out;
    z-index: 1000;
}

.alert-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    to { left: 100%; }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.alert-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.alert-pulse {
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(0.98); }
}

/* ===================================
   NAVIGATION
   =================================== */
.nav {
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 999;
    animation: slideDown 0.6s ease-out 0.2s both;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-red), #B91C1C);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    color: var(--white);
    box-shadow: var(--shadow-md);
    position: relative;
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--accent-red), var(--gold));
    border-radius: 8px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.logo:hover .logo-icon::before {
    opacity: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Crimson Pro', serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--dark-navy);
    line-height: 1;
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-navy);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-red);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--accent-red);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-blue);
    text-decoration: none;
    padding: 12px 20px;
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-phone:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-navy);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30,58,138,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-badge {
    display: inline-block;
    background: var(--accent-red);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}

.hero-title {
    font-family: 'Crimson Pro', serif;
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    color: var(--dark-navy);
    margin-bottom: 24px;
}

.hero-title .highlight {
    color: var(--accent-red);
    position: relative;
    display: inline-block;
}

.hero-text {
    font-size: 18px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 32px;
    padding: 24px 0;
    border-top: 2px solid rgba(30,58,138,0.1);
    border-bottom: 2px solid rgba(30,58,138,0.1);
}

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

.stat-number {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #64748B;
    font-weight: 600;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===================================
   BUTTONS
   =================================== */
.btn-primary,
.btn-secondary,
.btn-white,
.btn-outline {
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Work Sans', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-red), #B91C1C);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

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

.btn-white {
    background: var(--white);
    color: var(--accent-red);
    box-shadow: var(--shadow-md);
}

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

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

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

/* ===================================
   TRUST CARD
   =================================== */
.trust-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.trust-card h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--dark-navy);
    margin-bottom: 24px;
}

.trust-features {
    list-style: none;
    margin-bottom: 32px;
}

.trust-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #F1F5F9;
}

.trust-features li:last-child {
    border-bottom: none;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #10B981, #059669);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
    flex-shrink: 0;
}

.trust-badges {
    display: flex;
    gap: 16px;
    padding-top: 24px;
    border-top: 2px solid #F1F5F9;
}

.badge {
    flex: 1;
    text-align: center;
    padding: 16px;
    background: var(--light-gray);
    border-radius: 8px;
}

.badge-value {
    display: block;
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 8px;
}

.badge-label {
    font-size: 12px;
    color: #64748B;
    font-weight: 600;
}

/* ===================================
   URGENCY STRIP
   =================================== */
.urgency-strip {
    background: linear-gradient(135deg, var(--dark-navy), #1E293B);
    color: var(--white);
    padding: 60px 40px;
    text-align: center;
}

.urgency-content h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 16px;
}

.urgency-content p {
    font-size: 18px;
    color: #CBD5E1;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===================================
   PRACTICE AREAS
   =================================== */
.practice-areas {
    padding: 100px 40px;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 42px;
    font-weight: 900;
    color: var(--dark-navy);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: #64748B;
    line-height: 1.7;
}

.practice-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.practice-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    border: 2px solid #F1F5F9;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
}

.practice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-red), var(--primary-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.practice-card:hover::before {
    transform: scaleX(1);
}

.practice-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.practice-card-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    transition: transform 0.3s ease;
}

.practice-card:hover .practice-card-icon {
    transform: scale(1.1);
}

.practice-card h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 16px;
}

.practice-card p {
    font-size: 16px;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 20px;
}

.practice-card .arrow {
    color: var(--accent-red);
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.practice-card:hover .arrow {
    transform: translateX(5px);
}

/* ===================================
   WHY CHOOSE US
   =================================== */
.why-choose {
    padding: 100px 40px;
    background: var(--light-gray);
}

.why-choose-container {
    max-width: 1400px;
    margin: 0 auto;
}

.why-choose h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 42px;
    font-weight: 900;
    color: var(--dark-navy);
    text-align: center;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.feature h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 16px;
}

.feature p {
    font-size: 16px;
    color: #64748B;
    line-height: 1.6;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    background: linear-gradient(135deg, var(--accent-red), #B91C1C);
    padding: 100px 40px;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   FOOTER
   =================================== */
footer {
    background: var(--dark-navy);
    color: var(--white);
    padding: 60px 40px 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 24px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #64748B;
}

.footer-bottom a {
    color: #94A3B8;
    text-decoration: none;
}

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

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .practice-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-phone {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .practice-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}
