/* NextPoint Dark Theme with Violet/Purple Accents */

:root {
    /* Primary Colors */
    --np-bg-primary: #0a0a0f;
    --np-bg-secondary: #111119;
    --np-bg-tertiary: #1a1a24;
    --np-bg-card: #16161f;
    --np-bg-card-hover: #1e1e2a;
    
    /* Accent Colors - Violet/Purple */
    --np-accent-primary: #7c3aed;
    --np-accent-secondary: #8b5cf6;
    --np-accent-light: #a78bfa;
    --np-accent-glow: rgba(139, 92, 246, 0.3);
    --np-accent-gradient: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
    
    /* Text Colors */
    --np-text-primary: #ffffff;
    --np-text-secondary: #a1a1aa;
    --np-text-muted: #71717a;
    
    /* Border Colors */
    --np-border: #27272a;
    --np-border-light: #3f3f46;
    
    /* Status Colors */
    --np-success: #10b981;
    --np-warning: #f59e0b;
    --np-danger: #ef4444;
    --np-info: #3b82f6;
    
    /* Shadows */
    --np-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --np-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --np-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
    --np-shadow-glow: 0 0 30px rgba(139, 92, 246, 0.2);
    
    /* Transitions */
    --np-transition: all 0.3s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--np-bg-primary);
    color: var(--np-text-primary);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--np-text-primary);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    color: var(--np-text-secondary);
}

a {
    color: var(--np-accent-secondary);
    text-decoration: none;
    transition: var(--np-transition);
}

a:hover {
    color: var(--np-accent-light);
}

/* Container */
.np-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.np-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--np-transition);
    text-decoration: none;
}

.np-btn-primary {
    background: var(--np-accent-gradient);
    color: white;
    box-shadow: var(--np-shadow-md);
}

.np-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--np-shadow-glow);
}

.np-btn-secondary {
    background: transparent;
    color: var(--np-text-primary);
    border: 1px solid var(--np-border-light);
}

.np-btn-secondary:hover {
    background: var(--np-bg-tertiary);
    border-color: var(--np-accent-primary);
}

.np-btn-outline {
    background: transparent;
    color: var(--np-accent-secondary);
    border: 1px solid var(--np-accent-primary);
}

.np-btn-outline:hover {
    background: var(--np-accent-primary);
    color: white;
}

/* Cards */
.np-card {
    background: var(--np-bg-card);
    border: 1px solid var(--np-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--np-transition);
}

.np-card:hover {
    background: var(--np-bg-card-hover);
    border-color: var(--np-border-light);
    transform: translateY(-2px);
}

.np-card-glow {
    box-shadow: var(--np-shadow-glow);
}

/* Form Elements */
.np-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--np-bg-tertiary);
    border: 1px solid var(--np-border);
    border-radius: 8px;
    color: var(--np-text-primary);
    font-size: 1rem;
    transition: var(--np-transition);
}

.np-input:focus {
    outline: none;
    border-color: var(--np-accent-primary);
    box-shadow: 0 0 0 3px var(--np-accent-glow);
}

.np-input::placeholder {
    color: var(--np-text-muted);
}

.np-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--np-text-secondary);
}

/* Badge */
.np-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 20px;
    background: var(--np-bg-tertiary);
    color: var(--np-accent-light);
    border: 1px solid var(--np-accent-primary);
}

/* Stat Cards */
.np-stat-card {
    background: var(--np-bg-card);
    border: 1px solid var(--np-border);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.np-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--np-accent-gradient);
}

.np-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--np-text-primary);
    margin: 0.5rem 0;
}

.np-stat-label {
    font-size: 0.875rem;
    color: var(--np-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.np-stat-change {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.np-stat-change.positive {
    color: var(--np-success);
}

.np-stat-change.negative {
    color: var(--np-danger);
}

/* Navigation */
.np-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--np-border);
    padding: 1rem 0;
}

.np-navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.np-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--np-text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.np-logo-icon {
    width: 32px;
    height: 32px;
    background: var(--np-accent-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.np-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.np-nav-links a {
    color: var(--np-text-secondary);
    font-weight: 500;
    transition: var(--np-transition);
}

.np-nav-links a:hover {
    color: var(--np-text-primary);
}

/* Hero Section */
.np-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem;
}

.np-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 20% 80%, rgba(167, 139, 250, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.np-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.np-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.np-hero h1 span {
    background: var(--np-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.np-hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.np-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Grid */
.np-grid {
    display: grid;
    gap: 1.5rem;
}

.np-grid-2 { grid-template-columns: repeat(2, 1fr); }
.np-grid-3 { grid-template-columns: repeat(3, 1fr); }
.np-grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .np-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .np-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .np-grid-4, .np-grid-3, .np-grid-2 { grid-template-columns: 1fr; }
    .np-hero h1 { font-size: 2rem; }
    .np-nav-links { display: none; }
}

/* Section */
.np-section {
    padding: 5rem 0;
}

.np-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.np-section-header h2 {
    margin-bottom: 1rem;
}

/* Chart Container */
.np-chart-container {
    background: var(--np-bg-card);
    border: 1px solid var(--np-border);
    border-radius: 16px;
    padding: 1.5rem;
    height: 300px;
    position: relative;
}

/* Table */
.np-table {
    width: 100%;
    border-collapse: collapse;
}

.np-table th,
.np-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--np-border);
}

.np-table th {
    color: var(--np-text-muted);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.np-table tr:hover td {
    background: var(--np-bg-tertiary);
}

/* Feature Cards */
.np-feature-card {
    background: var(--np-bg-card);
    border: 1px solid var(--np-border);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--np-transition);
}

.np-feature-card:hover {
    border-color: var(--np-accent-primary);
    transform: translateY(-4px);
}

.np-feature-icon {
    width: 48px;
    height: 48px;
    background: var(--np-accent-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--np-accent-light);
    font-size: 1.5rem;
}

.np-feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

/* Pricing Cards */
.np-pricing-card {
    background: var(--np-bg-card);
    border: 1px solid var(--np-border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: var(--np-transition);
}

.np-pricing-card.featured {
    border-color: var(--np-accent-primary);
    box-shadow: var(--np-shadow-glow);
}

.np-pricing-header {
    margin-bottom: 1.5rem;
}

.np-pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--np-text-primary);
}

.np-pricing-price span {
    font-size: 1rem;
    color: var(--np-text-muted);
    font-weight: 400;
}

.np-pricing-features {
    list-style: none;
    margin: 1.5rem 0;
}

.np-pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--np-text-secondary);
}

.np-pricing-features li::before {
    content: '✓';
    color: var(--np-accent-light);
    font-weight: 600;
}

/* Footer */
.np-footer {
    background: var(--np-bg-secondary);
    border-top: 1px solid var(--np-border);
    padding: 4rem 0 2rem;
}

.np-footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.np-footer-brand p {
    margin-top: 1rem;
    max-width: 300px;
}

.np-footer-links h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.np-footer-links ul {
    list-style: none;
}

.np-footer-links li {
    margin-bottom: 0.5rem;
}

.np-footer-links a {
    color: var(--np-text-muted);
}

.np-footer-links a:hover {
    color: var(--np-accent-light);
}

.np-footer-bottom {
    border-top: 1px solid var(--np-border);
    padding-top: 2rem;
    text-align: center;
    color: var(--np-text-muted);
}

@media (max-width: 768px) {
    .np-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .np-footer-brand p {
        max-width: 100%;
    }
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.3); }
    50% { box-shadow: 0 0 40px rgba(139, 92, 246, 0.5); }
}

.np-float {
    animation: float 3s ease-in-out infinite;
}

.np-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Dashboard Specific */
.np-dashboard {
    background: var(--np-bg-primary);
    min-height: 100vh;
}

.np-dashboard-header {
    background: var(--np-bg-secondary);
    border-bottom: 1px solid var(--np-border);
    padding: 1.5rem 2rem;
}

.np-dashboard-content {
    padding: 2rem;
}

/* Sidebar */
.np-sidebar {
    background: var(--np-bg-secondary);
    border-right: 1px solid var(--np-border);
    width: 260px;
    min-height: 100vh;
    padding: 1.5rem;
    position: fixed;
    left: 0;
    top: 0;
}

.np-sidebar-nav {
    list-style: none;
    margin-top: 2rem;
}

.np-sidebar-nav li {
    margin-bottom: 0.5rem;
}

.np-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--np-text-secondary);
    border-radius: 8px;
    transition: var(--np-transition);
}

.np-sidebar-nav a:hover,
.np-sidebar-nav a.active {
    background: var(--np-bg-tertiary);
    color: var(--np-text-primary);
}

.np-sidebar-nav a.active {
    background: var(--np-accent-glow);
    color: var(--np-accent-light);
}

/* Utility Classes */
.np-text-gradient {
    background: var(--np-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.np-mb-1 { margin-bottom: 0.5rem; }
.np-mb-2 { margin-bottom: 1rem; }
.np-mb-3 { margin-bottom: 1.5rem; }
.np-mb-4 { margin-bottom: 2rem; }

.np-mt-1 { margin-top: 0.5rem; }
.np-mt-2 { margin-top: 1rem; }
.np-mt-3 { margin-top: 1.5rem; }
.np-mt-4 { margin-top: 2rem; }

.np-text-center { text-align: center; }
.np-text-muted { color: var(--np-text-muted); }

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--np-bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--np-border-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--np-accent-primary);
}
