/* Landing Page Styles - TKA SaaS */

:root {
    /* Primary - Midnight Blue */
    --primary: #1e3a5f;
    --primary-light: #2d5a8a;
    --primary-dark: #0f1f33;
    --primary-subtle: #e8eef5;

    /* Accent - Orange */
    --accent: #f97316;
    --accent-hover: #ea580c;
    --accent-light: #fff7ed;

    /* Semantic */
    --success: #10b981;
    --success-subtle: #d1fae5;
    --warning: #f59e0b;
    --warning-subtle: #fef3c7;
    --danger: #ef4444;
    --info: #0ea5e9;

    /* Neutrals */
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border: #e5e7eb;

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-main);
    line-height: 1.6;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
}

/* Buttons */
.btn-accent {
    background-color: var(--accent);
    border-color: var(--accent);
    color: white;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 12px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

.btn-outline-accent {
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 12px;
    transition: all 0.2s ease;
    background: transparent;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

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

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.7);
    color: white;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 12px;
    transition: all 0.2s ease;
    background: transparent;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

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

.btn-lg {
    padding: 14px 32px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar-custom {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar-custom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary) !important;
    text-decoration: none;
}

.navbar-brand i {
    margin-right: 0.5rem;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

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

.navbar-menu a {
    font-weight: 500;
    color: var(--text-secondary) !important;
    padding: 8px 16px !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.navbar-menu a:hover {
    color: var(--primary) !important;
}

.nav-link-cta {
    background-color: var(--primary);
    color: white !important;
    border-radius: 10px;
    padding: 8px 20px !important;
}

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

@media (max-width: 991px) {
    .navbar-toggle {
        display: block;
    }
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    .navbar-menu.active {
        display: flex;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 28px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    display: block;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.hero-image {
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border: 4px solid rgba(255, 255, 255, 0.2);
    max-width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-section {
        padding: 100px 0 60px;
    }
    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* Features Section */
.features-section {
    padding: var(--section-padding);
    background-color: var(--bg-card);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.feature-card {
    background: var(--bg-main);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 58, 95, 0.1);
    border-color: var(--primary-subtle);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-subtle);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Steps Section */
.steps-section {
    padding: var(--section-padding);
    background-color: var(--bg-main);
}

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

.steps-section h4 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.steps-section .col-md-4 p {
    color: var(--text-secondary);
    margin: 0;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: var(--section-padding);
    background-color: var(--bg-main);
}

.why-choose-section .col-md-6.col-lg-3 {
    transition: transform 0.3s ease;
}

.why-choose-section .col-md-6.col-lg-3:hover {
    transform: translateY(-5px);
}

.why-choose-section i {
    width: 70px;
    height: 70px;
    background: var(--primary-subtle);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.why-choose-section h5 {
    color: var(--text-primary);
    font-weight: 600;
}

/* Pricing Section */
.pricing-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--primary-subtle) 100%);
}

.pricing-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 58, 95, 0.15);
}

.pricing-card.featured {
    border-color: var(--accent);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.pricing-period {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

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

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

/* CTA Section */
.cta-section {
    padding: var(--section-padding);
    background: var(--primary);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cta-section .btn-accent {
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    padding: 60px 0 30px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.75rem;
    color: white !important;
    margin-bottom: 16px;
    display: block;
    text-decoration: none;
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 6px 0;
    display: block;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-white { color: white; }
.text-white-50 { color: rgba(255,255,255,0.5); }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }
.justify-content-center { justify-content: center; }

.w-100 { width: 100%; }

/* Dashboard Preview Mockup */
.dashboard-preview {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    overflow: hidden;
    max-width: 520px;
    margin: 0 auto;
    font-size: 0.85rem;
}

.db-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.db-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1rem;
}

.db-logo i {
    font-size: 1.2rem;
}

.db-nav {
    display: flex;
    gap: 16px;
    font-size: 0.75rem;
}

.db-nav-item {
    opacity: 0.7;
    transition: opacity 0.3s;
}

.db-nav-item.active {
    opacity: 1;
    font-weight: 500;
}

.db-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 20px;
    background: var(--bg-main);
}

.db-stat-card {
    background: white;
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.db-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.1rem;
}

.db-stat-icon.blue {
    background: #dbeafe;
    color: #2563eb;
}

.db-stat-icon.green {
    background: #d1fae5;
    color: #059669;
}

.db-stat-icon.purple {
    background: #f3e8ff;
    color: #7c3aed;
}

.db-stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.db-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.db-table-section {
    padding: 20px;
}

.db-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.db-table-title {
    font-weight: 600;
    color: var(--text-primary);
}

.db-badge {
    background: var(--success-subtle);
    color: var(--success);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
}

.db-table-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.db-table-row:last-child {
    border-bottom: none;
}

.db-table-title-sm {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.8rem;
}

.db-table-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.db-table-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
}

.db-table-status.active {
    background: var(--success-subtle);
    color: var(--success);
}

.db-table-status.pending {
    background: #f3f4f6;
    color: var(--text-muted);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}