/* ============================================
   Danzo.ai - Professional Light Theme
   Modern, Clean, Enterprise SaaS Design
   ============================================ */

/* CSS Variables - Light Theme */
:root {
    /* Primary Colors */
    --primary: #2563eb;           /* Professional blue */
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --primary-subtle: #dbeafe;

    /* Accent */
    --accent: #0891b2;            /* Cyan for highlights */
    --accent-light: #06b6d4;

    /* Neutrals - Light Theme */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;

    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;

    /* Borders */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;

    /* Status Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
}

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

html {
    scroll-padding-top: 80px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: opacity 0.2s;
}

.navbar-brand:hover {
    opacity: 0.8;
    color: var(--primary);
}

.navbar-brand img {
    width: 40px;
    height: 40px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.2s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transform: translateX(-50%);
    transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* ============================================
   Buttons
   ============================================ */

.btn-glow {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.2);
    text-decoration: none;
    display: inline-block;
}

.btn-glow:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    color: white;
    text-decoration: none;
}

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

.btn-ghost,
.btn-outline-glow {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-ghost:hover,
.btn-outline-glow:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
    text-decoration: none;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-subtle);
    border: 1px solid var(--primary-light);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero-gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p.lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 700px;
}

.hero-visual {
    position: relative;
}

.metric-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.metric-row:hover {
    border-color: var(--primary-light);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    transform: translateX(4px);
}

/* ============================================
   Stats Bar
   ============================================ */

.stats-bar {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-top: -3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* ============================================
   Section Styles
   ============================================ */

.section-dark {
    background: var(--bg-secondary);
    padding: 6rem 0;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
}

/* ============================================
   Cards & Components
   ============================================ */

.feature-card,
.pricing-card,
.deployment-card,
.industry-icon-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.feature-card:hover,
.pricing-card:hover,
.deployment-card:hover,
.industry-icon-card:hover {
    border-color: var(--primary-light);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-subtle);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

/* ============================================
   Pricing Cards
   ============================================ */

.pricing-card {
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.15);
}

.badge-popular {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--primary);
    margin: 1.5rem 0;
}

.price small {
    font-size: 1.125rem;
    color: var(--text-muted);
    font-weight: 500;
}

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

.feature-list li {
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: start;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li i {
    color: var(--primary);
    font-size: 1.125rem;
    flex-shrink: 0;
}

/* ============================================
   Code Section
   ============================================ */

.code-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.code-window {
    background: var(--gray-900);
    border: 1px solid var(--gray-700);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.code-header {
    background: var(--gray-800);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--gray-700);
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot.red { background: #ef4444; }
.code-dot.yellow { background: #f59e0b; }
.code-dot.green { background: #10b981; }

.code-body {
    padding: 2rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #e2e8f0;
    overflow-x: auto;
}

.keyword { color: #c084fc; font-weight: 600; }
.comment { color: #64748b; font-style: italic; }
.string { color: #34d399; }

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

.cta-card {
    background: transparent;
    border: none;
    padding: 3rem 2rem;
    text-align: center;
}

.cta-card h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.cta-card p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

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

.cta-buttons .btn-glow:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

.cta-buttons .btn-ghost {
    border-color: white;
    color: white;
}

.cta-buttons .btn-ghost:hover {
    background: white;
    color: var(--primary);
}

/* ============================================
   Feature Grid
   ============================================ */

.feature-grid {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.feature-item {
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.2s;
    background: var(--bg-secondary);
    border: 1px solid transparent;
}

.feature-item:hover {
    background: white;
    border-color: var(--border-medium);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.feature-item h5 {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   Industry Badge
   ============================================ */

.industry-badge {
    display: inline-block;
    background: var(--primary-subtle);
    border: 1px solid var(--primary-light);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* ============================================
   Icon Container
   ============================================ */

.icon-container {
    width: 80px;
    height: 80px;
    background: var(--primary-subtle);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.icon-container i {
    font-size: 2.5rem;
}

/* ============================================
   Screenshot Cards
   ============================================ */

.screenshot-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.screenshot-card:hover {
    border-color: var(--primary-light);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
    transform: translateY(-4px);
}

.screenshot-card img {
    border-radius: 8px;
    border: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
    width: 100%;
    height: auto;
}

.screenshot-description {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   FAQ Section
   ============================================ */

.faq-item {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1rem;
    transition: all 0.2s;
}

.faq-item:hover {
    border-color: var(--primary-light);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.faq-item h5 {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   Footer
   ============================================ */

footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--gray-800);
}

footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

footer a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: var(--gray-500);
}

.footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================================
   Modal
   ============================================ */

.modal-content {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
    padding: 1.5rem 2rem;
}

.modal-title {
    color: var(--text-primary);
}

.form-control,
.form-select {
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
    background: white;
    border-color: var(--primary);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

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

/* ============================================
   Utilities
   ============================================ */

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

.bg-dark {
    background: var(--gray-900) !important;
}

.text-white-50 {
    color: var(--text-secondary) !important;
}

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

.border-secondary {
    border-color: var(--border-medium) !important;
}

/* ============================================
   Industry Section
   ============================================ */

.industry-section {
    padding: 5rem 0;
}

.industry-section:nth-child(even) {
    background: var(--bg-secondary);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 991px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .feature-card,
    .pricing-card,
    .deployment-card,
    .industry-icon-card {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 3rem 0 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p.lead {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

    .feature-card,
    .pricing-card {
        padding: 1.5rem;
    }

    .cta-card h2 {
        font-size: 1.75rem;
    }
}

/* ============================================
   Navbar Toggler Light Theme
   ============================================ */

.navbar-toggler {
    border-color: var(--border-medium);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(15, 23, 42, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* ============================================
   Alert Styles
   ============================================ */

.alert {
    border-radius: 12px;
    border-left-width: 4px;
}

.alert-info {
    background: var(--primary-subtle);
    border-left-color: var(--primary);
    color: var(--text-primary);
}

.alert-warning {
    background: #fef3c7;
    border-left-color: var(--warning);
    color: var(--text-primary);
}

.alert-danger {
    background: #fee2e2;
    border-left-color: var(--error);
    color: var(--text-primary);
}

/* ============================================
   Badge Styles
   ============================================ */

.badge {
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
}

.bg-success {
    background-color: var(--success) !important;
}

.bg-warning {
    background-color: var(--warning) !important;
}

.bg-danger {
    background-color: var(--error) !important;
}

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

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

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

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

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