﻿:root {
    --primary-blue: #1e88e5;
    --primary-blue-dark: #1565c0;
    --primary-blue-light: #42a5f5;
    --accent-blue: #2196f3;
    --electric-blue: #00bcd4;
    --bg-dark: #212121;
    --bg-darker: #121212;
    --bg-card: #2a2a2a;
    --bg-card-hover: #333333;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --success-green: #4caf50;
    --warning-yellow: #ffc107;
    --error-red: #f44336;
    --purple: #9c27b0;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.5);
    --shadow-xl: 0 12px 24px rgba(0,0,0,0.6);
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html, body {
    height: 100%;
    font-family: 'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI','Roboto','Oxygen','Ubuntu',sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh
}

.main-content {
    flex: 1
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md)
}

.header {
    background-color: var(--bg-darker);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px)
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.navbar-brand .logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    background: linear-gradient(135deg,var(--primary-blue),var(--electric-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.navbar-brand .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none
}

.logo-image {
    height: 50px;
    width: auto;
    transition: transform var(--transition-normal)
}

    .logo-image:hover {
        transform: scale(1.05)
    }

.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-md)
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
    font-size: 0.95rem
}

    .nav-link:hover {
        color: var(--primary-blue-light)
    }

.btn-primary, .btn-secondary, .btn-secondary-light {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    font-size: 1rem
}

.btn-primary {
    background: linear-gradient(135deg,var(--primary-blue),var(--primary-blue-dark));
    color: white;
    box-shadow: 0 4px 12px rgba(30,136,229,0.3)
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(30,136,229,0.4)
    }

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-blue)
}

    .btn-secondary:hover {
        background: var(--primary-blue);
        transform: translateY(-2px)
    }

.btn-secondary-light {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
    border: 2px solid rgba(255,255,255,0.2)
}

    .btn-secondary-light:hover {
        background: rgba(255,255,255,0.15);
        border-color: rgba(255,255,255,0.3);
        transform: translateY(-2px)
    }

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem
}

.hero {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg,var(--bg-darker) 0%,var(--bg-dark) 100%)
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg,var(--text-primary),var(--primary-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg)
}

.hero-stats {
    display: flex;
    gap: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.1)
}

.stat {
    text-align: left
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue-light);
    line-height: 1
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center
}

.dashboard-preview {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255,255,255,0.1);
    width: 100%;
    max-width: 500px
}

.dashboard-header {
    display: flex;
    align-items: center;
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: var(--spacing-md)
}

.dashboard-dots {
    display: flex;
    gap: 8px
}

    .dashboard-dots span {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255,255,255,0.3)
    }

.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md)
}

.dashboard-metric {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-darker);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.05)
}

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center
}

    .metric-icon.blue {
        background: linear-gradient(135deg,var(--primary-blue),var(--primary-blue-dark))
    }

    .metric-icon.green {
        background: linear-gradient(135deg,var(--success-green),#2e7d32)
    }

    .metric-icon.purple {
        background: linear-gradient(135deg,var(--purple),#7b1fa2)
    }

.metric-info {
    flex: 1
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem
}

.metric-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary)
}

.features {
    padding: var(--spacing-xl) 0;
    background: var(--bg-dark)
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl)
}

    .section-header h2 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: var(--spacing-sm);
        color: var(--text-primary)
    }

    .section-header p {
        font-size: 1.25rem;
        color: var(--text-secondary)
    }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(350px,1fr));
    gap: var(--spacing-md)
}

.feature-card {
    background: var(--bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all var(--transition-normal)
}

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
        border-color: var(--primary-blue)
    }

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: white
}

.blue-gradient {
    background: linear-gradient(135deg,var(--primary-blue),var(--primary-blue-dark))
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary)
}

.feature-card > p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7
}

.feature-list {
    list-style: none;
    padding: 0
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem
}



.help-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-darker)
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: var(--spacing-md)
}

.solution-card {
    background: var(--bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    transition: all var(--transition-normal)
}

    .solution-card:hover {
        transform: translateY(-4px);
        border-color: var(--primary-blue);
        box-shadow: var(--shadow-lg)
    }

.solution-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md)
}

.solution-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary)
}

.solution-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7
}

.solution-link {
    color: var(--primary-blue-light);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast)
}

    .solution-link:hover {
        color: var(--electric-blue)
    }

.calculator-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg,var(--primary-blue-dark),var(--primary-blue))
}

.calculator-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center
}

.calculator-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: white
}

.calculator-text p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9)
}

.calculator-form {
    background: rgba(255,255,255,0.1);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2)
}

.form-group {
    margin-bottom: var(--spacing-md)
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: white
    }

.form-input {
    width: 100%;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1rem;
    transition: all var(--transition-fast)
}

    .form-input:focus {
        outline: none;
        border-color: white;
        background: rgba(255,255,255,0.15)
    }

    .form-input::placeholder {
        color: rgba(255,255,255,0.5)
    }

.calculator-form .btn-primary {
    width: 100%;
    margin-top: var(--spacing-sm);
    background: white;
    color: var(--primary-blue-dark)
}

    .calculator-form .btn-primary:hover {
        background: rgba(255,255,255,0.95)
    }

.calculator-results {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.2);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md)
}

.result-item {
    text-align: center
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1
}

.result-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-top: 0.5rem
}

.testimonials {
    padding: var(--spacing-xl) 0;
    background: var(--bg-dark)
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: var(--spacing-md)
}

.testimonial-card {
    background: var(--bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all var(--transition-normal)
}

    .testimonial-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg)
    }

.testimonial-stars {
    color: var(--warning-yellow);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm)
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-style: italic
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.1)
}

.author-name {
    font-weight: 700;
    color: var(--text-primary)
}

.author-title {
    font-size: 0.9rem;
    color: var(--text-muted)
}

.cta-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg,var(--bg-darker),var(--bg-dark));
    border-top: 1px solid rgba(255,255,255,0.1)
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto
}

    .cta-content h2 {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: var(--spacing-md);
        color: var(--text-primary)
    }

    .cta-content > p {
        font-size: 1.25rem;
        color: var(--text-secondary);
        margin-bottom: var(--spacing-lg)
    }

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md)
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap
}

.benefit {
    color: var(--text-secondary);
    font-size: 0.95rem
}

.footer {
    background: var(--bg-darker);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.1)
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg)
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary)
}

.footer-column ul {
    list-style: none;
    padding: 0
}

    .footer-column ul li {
        margin-bottom: 0.75rem
    }

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast)
}

    .footer-column a:hover {
        color: var(--primary-blue-light)
    }

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.1)
}

    .footer-bottom p {
        color: var(--text-muted);
        font-size: 0.9rem
    }

#blazor-error-ui {
    background: var(--error-red);
    color: white;
    bottom: 0;
    box-shadow: 0 -1px 4px rgba(0,0,0,0.3);
    display: none;
    left: 0;
    padding: 0.75rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 1000
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 1.5rem;
        top: 0.75rem
    }

@media (max-width:968px) {
    .hero-content, .calculator-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg)
    }

    .hero-title {
        font-size: 2.5rem
    }

    .navbar-menu {
        flex-wrap: wrap;
        gap: var(--spacing-sm)
    }

    .features-grid {
        grid-template-columns: 1fr
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start
    }

        .hero-cta .btn-primary, .hero-cta .btn-secondary {
            width: 100%;
            text-align: center
        }

    .cta-content h2 {
        font-size: 2rem
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch
    }
}

@media (max-width:640px) {
    .hero-title {
        font-size: 2rem
    }

    .hero-subtitle {
        font-size: 1rem
    }

    .section-header h2 {
        font-size: 2rem
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md)
    }

    .calculator-results {
        grid-template-columns: 1fr
    }

    .logo-image {
        height: 40px
    }
}

/* Dashboard Screenshot in Hero */
.dashboard-screenshot {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 600px
}

.screenshot-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform var(--transition-normal)
}

    .screenshot-img:hover {
        transform: scale(1.02)
    }

/* Screenshots Section */
.screenshots-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-dark)
}

.screenshots-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg)
}

.screenshot-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all var(--transition-normal)
}

    .screenshot-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-xl);
        border-color: var(--primary-blue)
    }

.screenshot-full {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.1)
}

.screenshot-info {
    padding: var(--spacing-lg)
}

    .screenshot-info h3 {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: var(--spacing-sm);
        color: var(--text-primary)
    }

    .screenshot-info p {
        color: var(--text-secondary);
        line-height: 1.7;
        font-size: 1rem
    }



@media (max-width:640px) {
    .dashboard-screenshot {
        max-width: 100%
    }

    .screenshot-card {
        margin-bottom: var(--spacing-md)
    }
}
