/* ==========================================================================
   NovaCloud Technologies - Modern Static Application Design System
   ========================================================================== */

:root {
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --bg-card-border: rgba(255, 255, 255, 0.1);
    --primary: #38bdf8;
    --primary-hover: #0284c7;
    --secondary: #818cf8;
    --accent: #f43f5e;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --success: #34d399;
    --warning: #fbbf24;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --container-max: 1200px;
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Utilities */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.max-width-800 { max-width: 800px; margin-left: auto; margin-right: auto; }
.hidden { display: none !important; }

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

/* Glassmorphism Card Utility */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-4px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #0f172a;
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
    color: #0f172a;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--bg-card-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.btn-block { width: 100%; }

/* Navigation Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--bg-card-border);
    padding: 1rem 0;
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
}

.brand-logo .highlight { color: var(--primary); }

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.btn-nav-cta {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-md);
}

.btn-nav-cta:hover {
    background: var(--primary);
    color: #0f172a;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 2px;
}

/* Layout Grids */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.align-center { align-items: center; }

/* Hero Section */
.hero-section {
    padding: 6rem 0 4rem;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

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

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Card Header Status Visual */
.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--bg-card-border);
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.card-title {
    margin-left: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.status-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    font-size: 0.9rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.status-active { color: var(--success); font-weight: 600; }
.status-security { color: var(--primary); font-weight: 600; }

/* Sections */
.features-section, .content-section {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.page-header {
    padding: 4rem 0 2rem;
}

.page-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Feature & Service Cards */
.feature-icon, .service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
}

.feature-card h3, .service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.feature-card p, .service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

.demo-banner {
    background: rgba(56, 189, 248, 0.1);
    border-left: 4px solid var(--primary);
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.error-msg {
    color: var(--accent);
    font-size: 0.85rem;
    margin-top: 0.4rem;
    display: none;
}

.form-group.error .error-msg { display: block; }
.form-group.error .form-control { border-color: var(--accent); }

.success-box {
    background: rgba(52, 211, 153, 0.15);
    border: 1px solid var(--success);
    color: var(--success);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-top: 1.5rem;
    text-align: center;
}

/* Accordion */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.accordion-item.active .accordion-body {
    max-height: 200px;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--bg-card-border);
}

.accordion-item.active .accordion-header .icon {
    transform: rotate(45deg);
}

/* 404 Error Card */
.error-section {
    padding: 6rem 0;
    flex: 1;
    display: flex;
    align-items: center;
}

.error-card {
    max-width: 600px;
    margin: 0 auto;
}

.error-code {
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;
}

.error-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Footer */
.site-footer {
    margin-top: auto;
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid var(--bg-card-border);
    padding: 4rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.footer-info {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--bg-card-border);
    font-size: 0.85rem;
    color: var(--text-dim);
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        border-bottom: 1px solid var(--bg-card-border);
        padding: 1.5rem;
    }
    .main-nav.open { display: block; }
    .nav-list { flex-direction: column; gap: 1.2rem; align-items: flex-start; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
    .bottom-flex { flex-direction: column; gap: 1rem; text-align: center; }
}
