/* Base Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    background-color: var(--c-bg-base);
    color: var(--c-text-base);
    font-family: var(--f-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { 
    font-family: var(--f-heading); 
    font-weight: 800; 
    line-height: 1.25; 
    color: var(--c-text-pure); 
    letter-spacing: -0.03em;
}
strong, b { color: var(--c-text-pure); font-weight: 700; }
a { text-decoration: none; color: inherit; transition: var(--t-fast); }
img, svg { max-width: 100%; display: block; }

/* Utilities */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: var(--s-xl) 0; position: relative; background-color: var(--c-bg-base); color: var(--c-text-base); transition: var(--t-fast); }
.bg-elevate { background-color: var(--c-bg-elevate); }

.text-primary { color: var(--c-primary); }
.text-emerald { color: var(--c-emerald-light); }
.text-center { text-align: center; }
.text-muted { color: var(--c-text-muted); }
.text-sm { font-size: 0.875rem; }
.lead { font-size: 1.25rem; color: var(--c-text-muted); max-width: 800px; margin: 0 auto; line-height: 1.6; }

.mt-xs { margin-top: var(--s-xs); }
.mt-sm { margin-top: var(--s-sm); }
.mt-md { margin-top: var(--s-md); }
.mt-lg { margin-top: var(--s-lg); }
.mb-sm { margin-bottom: var(--s-sm); }
.mb-md { margin-bottom: var(--s-md); }
.mb-lg { margin-bottom: var(--s-lg); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 1.25rem 2.5rem; border-radius: 50px; font-weight: 800; font-size: 1.125rem;
    border: none; cursor: pointer; transition: all 0.3s ease; gap: 0.75rem;
    font-family: var(--f-heading); text-transform: uppercase; letter-spacing: 0.5px;
    text-align: center;
}
.btn-emerald { 
    background: linear-gradient(135deg, var(--c-emerald-light) 0%, var(--c-emerald-dark) 100%);
    color: #fff !important; 
    box-shadow: var(--glow-emerald);
    border: 1px solid rgba(255,255,255,0.1);
}
.btn-emerald:hover { 
    transform: scale(1.03) translateY(-2px); 
    box-shadow: var(--glow-emerald-hover); 
    background: linear-gradient(135deg, #12d494 0%, #06b07b 100%);
}
.btn-outline {
    background-color: transparent;
    color: var(--c-primary);
    border: 2px solid var(--c-primary);
    box-shadow: none;
}
.btn-outline:hover {
    background-color: rgba(30, 58, 138, 0.08); /* Blue tint */
    transform: translateY(-2px);
}
.btn-block { width: 100%; }

/* Navbar */
.navbar {
    position: absolute; top: 0; left: 0; width: 100%;
    padding: 1.5rem 0; z-index: 1000;
}
.navbar-container { display: flex; justify-content: space-between; align-items: center; }
.navbar-brand strong { font-size: 1.25rem; color: var(--c-text-pure); letter-spacing: -0.01em; }
.navbar-brand span { font-size: 0.75rem; color: var(--c-text-muted); display: block; text-transform: uppercase; letter-spacing: 1px; }

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Grid Backgrounds (Subtle for both themes) */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background-image: radial-gradient(rgba(30, 58, 138, 0.05) 2px, transparent 2px);
    background-size: 30px 30px;
    padding-top: var(--s-lg); padding-bottom: var(--s-xl);
}
.hero-container { text-align: center; max-width: 900px; position: relative; z-index: 2; }
.hero .highlight-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: var(--c-primary); background-color: rgba(30, 58, 138, 0.1);
    border: 1px solid rgba(30, 58, 138, 0.2);
    padding: 0.5rem 1.25rem; border-radius: 50px;
    font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: var(--s-md);
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: var(--s-xs); color: var(--c-text-pure); line-height: 1.1; }
.hero-gradient-text {
    background: linear-gradient(90deg, var(--c-primary), var(--c-primary-light));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .subheadline { font-size: clamp(1.125rem, 2vw, 1.5rem); color: var(--c-text-muted); margin-bottom: var(--s-md); line-height: 1.5; }
.hero-buttons { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.hero-buttons span { font-size: 0.875rem; color: var(--c-text-muted); }

/* Base Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card {
    background: var(--c-bg-card); padding: 2.5rem; border-radius: 20px;
    border: 1px solid var(--border-color); box-shadow: var(--shadow-card); transition: var(--t-fast);
}
.card:hover { border-color: rgba(30,58,138,0.2); transform: translateY(-5px); }
.card-icon { font-size: 3rem; margin-bottom: 1.5rem; opacity: 0.9; }
.card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--c-text-pure); }

/* Split Layouts */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-text h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.split-text p { margin-bottom: 1rem; font-size: 1.125rem; }

/* Comparison Cards */
.comparison-card { background: var(--c-bg-card); border-radius: 20px; padding: 2rem; border: 1px solid var(--border-color); box-shadow: var(--shadow-card); }
.comparison-card .row { padding: 1.5rem; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; border: 1px solid var(--border-color); }
.comparison-card .bad { background: rgba(30, 58, 138, 0.05); border-color: rgba(30, 58, 138, 0.2); }
.comparison-card .bad strong { color: var(--c-primary); font-size: 1.5rem; }
.comparison-card .good { background: rgba(16, 185, 129, 0.05); border-color: rgba(16, 185, 129, 0.2); margin-bottom: 0; }
.comparison-card .good strong { color: var(--c-emerald-light); font-size: 1.5rem; }

/* About Lawyer */
.about-visual { display: flex; justify-content: center; align-items: center; }
.about-image-wrapper { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--border-color); }
.about-image { width: 100%; height: auto; object-fit: cover; display: block; }

/* Feature List (Solution) */
.features-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 2rem; }
.feature-item { display: flex; gap: 1.5rem; background: var(--c-bg-card); padding: 2rem; border-radius: 16px; border: 1px solid var(--border-color); box-shadow: var(--shadow-card); }
.feature-check { background: rgba(16, 185, 129, 0.1); color: var(--c-emerald-light); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: bold; border: 1px solid rgba(16, 185, 129, 0.2); }

/* Timeline (Process) */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.step { position: relative; padding-top: 3rem; }
.step::before { content: ''; position: absolute; top: 24px; left: 0; width: 100%; height: 1px; background: var(--border-color); }
.step:last-child::before { display: none; }
.step-num { position: absolute; top: 0; left: 0; width: 48px; height: 48px; background: var(--c-bg-card); border: 2px solid var(--border-color); color: var(--c-text-muted); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--f-heading); font-weight: bold; font-size: 1.25rem; z-index: 2; transition: var(--t-fast); }
.step:hover .step-num { border-color: var(--c-primary); color: var(--c-primary); box-shadow: 0 0 15px rgba(30, 58, 138, 0.1); }

/* Form / Contact */
.contact-card {
    max-width: 600px; margin: 0 auto; background: var(--c-bg-card); padding: 3rem;
    border-radius: 24px; border: 1px solid var(--border-color); box-shadow: var(--shadow-card);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.9375rem; font-weight: 600; color: var(--c-text-pure); }
.form-group input, .form-group textarea {
    width: 100%; background: var(--c-bg-base); border: 1px solid var(--border-color);
    color: var(--c-text-pure); padding: 1.25rem; border-radius: 12px; font-family: var(--f-body); font-size: 1rem; transition: var(--t-fast);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.2); }

/* Footer / Trust */
.trust-badges { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-bottom: var(--s-lg); }
.badge { background: var(--c-bg-card); padding: 1rem 1.5rem; border-radius: 50px; font-size: 0.875rem; color: var(--c-text-muted); border: 1px solid var(--border-color); }
.footer { border-top: 1px solid var(--border-color); padding: var(--s-lg) 0 80px 0; }

.fixed-cta {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(135deg, var(--c-emerald-light) 0%, var(--c-emerald-dark) 100%);
    color: white; text-align: center; padding: 1rem; font-weight: 800; font-size: 1.125rem; text-transform: uppercase;
    box-shadow: 0 -4px 25px rgba(16, 185, 129, 0.4); z-index: 10000;
    transform: translateY(100%); transition: transform var(--t-fast); cursor: pointer; display: block;
}
.fixed-cta.visible { transform: translateY(0); }

/* Mobile */
@media (max-width: 992px) {
    .split-layout { grid-template-columns: 1fr; gap: 3rem; }
    .timeline { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
    .features-list { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .navbar-container .btn-outline { display: none; }
    .navbar-brand strong { font-size: 1rem; }
    .hero { padding-top: 6rem; padding-bottom: var(--s-md); }
    .btn { width: 100%; }
    .timeline { grid-template-columns: 1fr; }
    .contact-card { padding: 2rem 1.5rem; }
    .trust-badges { flex-direction: column; align-items: stretch; gap: 1rem; }
    .badge { text-align: center; }
}
