/* index.css */
:root {
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-primary: #f8f9fa;
    --text-muted: #a0aab2;
    --accent-primary: #0088ff;
    /* Neon blue accent */
    --accent-primary-hover: #0077e0;
    --accent-secondary: #00b4d8;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.section-padding {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

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

.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: #000;
    box-shadow: 0 4px 20px rgba(0, 136, 255, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-primary-hover);
    box-shadow: 0 6px 25px rgba(0, 136, 255, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, #a0aab2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:not(.btn):hover {
    color: var(--accent-primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 5% 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-actions {
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

/* Mockup Panel in Hero */
.mockup-panel {
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.mockup-panel:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-glass);
}

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

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.mockup-title {
    margin-left: 12px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.mockup-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--border-glass);
}

.stat-card i {
    font-size: 1.5rem;
    color: var(--accent-primary);
    margin-bottom: 8px;
}

.stat-card strong {
    font-size: 1.8rem;
    color: var(--text-primary);
}

.mockup-chart {
    height: 150px;
    background: linear-gradient(180deg, rgba(0, 136, 255, 0.1) 0%, transparent 100%);
    border-radius: 12px;
    border-bottom: 2px solid var(--accent-primary);
    position: relative;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 136, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

/* Features */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-primary);
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 136, 255, 0.1);
    color: var(--accent-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

/* Roles */
.roles-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.role-illustration {
    padding: 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.role-illustration i {
    font-size: 6rem;
    color: var(--accent-secondary);
}

.role-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.badge {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.badge-btn {
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.badge-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.badge-btn.active.admin {
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(0, 136, 255, 0.3);
}

.badge-btn.active.prof {
    border-color: var(--accent-secondary);
    box-shadow: 0 0 10px rgba(0, 180, 216, 0.3);
}

.badge-btn.active.client {
    border-color: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.badge.admin {
    background: rgba(0, 136, 255, 0.2);
    color: var(--accent-primary);
}

.badge.prof {
    background: rgba(0, 180, 216, 0.2);
    color: var(--accent-secondary);
}

.badge.client {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

#role-illustration-panel {
    transition: opacity 0.3s ease;
}

.role-list {
    list-style: none;
    margin-top: 32px;
}

.role-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.role-list i {
    font-size: 2rem;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.role-list strong {
    display: block;
    font-size: 1.3rem;
    font-family: var(--font-heading);
    margin-bottom: 8px;
    color: var(--text-primary);
}

/* CTA Section */
.cta-section .cta-content {
    padding: 80px 40px;
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 136, 255, 0.05) 100%);
    border-color: rgba(0, 136, 255, 0.3);
}

.cta-section h2 {
    margin-bottom: 20px;
}

.cta-section p {
    margin-bottom: 40px;
    font-size: 1.2rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-glass);
    padding: 60px 5% 20px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations & Responsive */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-delay-1 {
    transition-delay: 0.2s;
}

.fade-delay-2 {
    transition-delay: 0.4s;
}

@media (max-width: 992px) {

    .hero-content,
    .roles-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero {
        padding-top: 140px;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .mockup-panel {
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Mobile menu hidden by default */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-glass);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-actions {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand {
        margin: 0 auto;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}