/* ============================================
   ROOT VARIABLES & RESET
   ============================================ */
:root {
    --primary: #1a56db;
    --primary-dark: #1e3a5f;
    --primary-light: #3b82f6;
    --secondary: #0f172a;
    --success: #059669;
    --danger: #dc2626;
    --warning: #d97706;
    --info: #2563eb;
    --dark: #0f172a;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
    --radius: 12px;
    --radius-sm: 6px;
    --transition: all 0.2s ease;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

body {
    font-family: var(--font);
    color: var(--gray-900);
    background: var(--gray-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.display-1 { font-size: 4rem; font-weight: 800; }
.display-2 { font-size: 3.5rem; font-weight: 700; }
.display-3 { font-size: 3rem; font-weight: 700; }

.text-primary { color: var(--primary) !important; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    font-weight: 600;
    padding: 0.7rem 1.8rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px);
}

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

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

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

.btn-outline-light {
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    background: transparent;
}

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

.btn-lg {
    padding: 0.9rem 2.2rem;
    font-size: 1.05rem;
}

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

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    background: var(--secondary) !important;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--gray-700);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--white) !important;
}

.navbar-brand i {
    color: var(--primary-light);
}

.nav-link {
    font-weight: 500;
    color: var(--gray-400) !important;
    transition: var(--transition);
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: var(--white) !important;
}

.navbar .btn-primary {
    padding: 0.4rem 1.2rem;
    font-size: 0.875rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: var(--secondary);
    padding: 5rem 0 4rem;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 1.2rem;
}

.hero h1 .highlight {
    color: var(--primary-light);
}

.hero p {
    font-size: 1.15rem;
    color: var(--gray-400);
    max-width: 540px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero .hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-700);
}

.hero .hero-stats .stat-item h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.hero .hero-stats .stat-item p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

/* Hero Card */
.hero-card {
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius);
    padding: 2rem;
}

.hero-card .feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--gray-700);
}

.hero-card .feature-item:last-child {
    border-bottom: none;
}

.hero-card .feature-item .icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.hero-card .feature-item .icon.primary { background: var(--primary); color: var(--white); }
.hero-card .feature-item .icon.success { background: var(--success); color: var(--white); }
.hero-card .feature-item .icon.warning { background: var(--warning); color: var(--white); }

.hero-card .feature-item .label {
    color: var(--gray-200);
    font-weight: 500;
    font-size: 0.95rem;
}

.hero-card .feature-item .badge {
    margin-left: auto;
    font-size: 0.7rem;
    padding: 0.2rem 0.7rem;
    background: var(--gray-700);
    color: var(--gray-300);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header .section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

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

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    padding: 5rem 0;
    background: var(--white);
}

.step-card {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--gray-200);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.step-card .step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 1.2rem;
}

.step-card .step-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.step-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.step-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.step-card .step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.step-card .step-tags .tag {
    background: var(--white);
    color: var(--gray-600);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--gray-200);
}

/* ============================================
   FEATURES / ADVANTAGE
   ============================================ */
.features {
    padding: 5rem 0;
    background: var(--gray-50);
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--gray-200);
}

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

.feature-card .feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.feature-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.feature-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.feature-card .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-card .feature-list li {
    color: var(--gray-600);
    font-size: 0.9rem;
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-card .feature-list li i {
    color: var(--success);
    font-size: 0.9rem;
}

/* ============================================
   STATISTICS
   ============================================ */
.statistics {
    background: var(--secondary);
    padding: 4rem 0;
}

.statistics .stat-item {
    text-align: center;
    padding: 1rem;
}

.statistics .stat-item .number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.2rem;
}

.statistics .stat-item .label {
    color: var(--gray-400);
    font-size: 1rem;
    font-weight: 500;
}

/* ============================================
   BOOK DEMO
   ============================================ */
.book-demo {
    padding: 5rem 0;
    background: var(--white);
}

.book-demo .demo-card {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 3.5rem;
    border: 1px solid var(--gray-200);
}

.book-demo .demo-card .demo-icon {
    font-size: 3.5rem;
    color: var(--primary);
    opacity: 0.2;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact {
    padding: 5rem 0;
    background: var(--gray-50);
}

.contact .contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 3rem;
    border: 1px solid var(--gray-200);
}

.contact .form-control {
    border: 1px solid var(--gray-200);
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 1rem;
}

.contact .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.contact .form-label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: 5rem 0;
    background: var(--white);
}

.testimonial-card {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-card .stars {
    color: var(--warning);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    font-size: 1rem;
    color: var(--gray-600);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-card .testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.testimonial-card .testimonial-author .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
    flex-shrink: 0;
}

.testimonial-card .testimonial-author .avatar.purple { background: var(--primary); }
.testimonial-card .testimonial-author .avatar.green { background: var(--success); }
.testimonial-card .testimonial-author .avatar.orange { background: var(--warning); }

.testimonial-card .testimonial-author .info h6 {
    font-weight: 700;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.testimonial-card .testimonial-author .info small {
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--gray-700);
}

.footer h5, .footer h6 {
    color: var(--white);
    font-weight: 700;
}

.footer .text-muted {
    color: var(--gray-400) !important;
}

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--gray-700);
    border-radius: 50%;
    color: var(--gray-400);
    transition: var(--transition);
    text-decoration: none;
}

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

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

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

.footer ul li a {
    color: var(--gray-400);
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.9rem;
}

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

.footer hr {
    border-color: var(--gray-700);
    margin: 2rem 0;
}

.footer .footer-bottom {
    color: var(--gray-500);
    font-size: 0.85rem;
}

.footer .footer-bottom a {
    color: var(--gray-500);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer .compliance-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-500);
    font-size: 0.85rem;
}

.footer .compliance-badge i {
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .hero h1 { font-size: 3.2rem; }
    .section-header h2 { font-size: 2.2rem; }
}

@media (max-width: 992px) {
    .hero { min-height: auto; padding: 3rem 0; }
    .hero h1 { font-size: 2.8rem; }
    .hero .hero-stats { gap: 1.5rem; }
    .statistics .stat-item .number { font-size: 2.5rem; }
    .book-demo .demo-card { padding: 2rem; }
}

@media (max-width: 768px) {
    .hero { text-align: center; padding: 2.5rem 0; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { margin: 0 auto 1.5rem; }
    .hero .hero-stats { justify-content: center; flex-wrap: wrap; gap: 1.5rem; }
    .hero .hero-stats .stat-item h3 { font-size: 1.4rem; }
    .section-header h2 { font-size: 1.8rem; }
    .statistics .stat-item .number { font-size: 2rem; }
    .contact .contact-card { padding: 1.5rem; }
    .book-demo .demo-card { padding: 1.5rem; }
    .footer { padding: 2.5rem 0 1.5rem; }
    .navbar .btn-primary { padding: 0.3rem 0.8rem; font-size: 0.8rem; }
}

@media (max-width: 576px) {
    .hero h1 { font-size: 1.8rem; }
    .hero .hero-stats { flex-direction: column; gap: 0.5rem; align-items: center; }
    .step-card { padding: 1.5rem; }
    .feature-card { padding: 1.5rem; }
    .testimonial-card { padding: 1.5rem; }
}

/* ============================================
   UTILITY HELPERS
   ============================================ */
.rounded-4 { border-radius: var(--radius); }
.rounded-3 { border-radius: var(--radius-sm); }

html {
    scroll-behavior: smooth;
}

