:root {
    --navy: #0a1628;
    --navy-light: #132238;
    --navy-dark: #060d18;
    --gold: #c9a55c;
    --gold-light: #e4c882;
    --gold-dark: #9a7b3a;
    --purple: #2d1b4e;
    --purple-light: #4a2d7a;
    --violet: #6b4db3;
    --pearl: #f8f6f3;
    --pearl-dark: #e8e4df;
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 40px rgba(10, 22, 40, 0.3);
    --shadow-glow: 0 0 40px rgba(201, 165, 92, 0.15);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--navy);
    color: var(--pearl);
    line-height: 1.6;
    min-height: 100vh;
}

.landing-page {
    min-height: 100vh;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 2rem;
    background: linear-gradient(180deg, var(--navy) 0%, transparent 100%);
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 2rem;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--pearl);
    letter-spacing: 0.5px;
}

.logo-text span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--pearl);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.8;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-ghost {
    background: transparent;
    color: var(--pearl);
    border: 1px solid rgba(248, 246, 243, 0.2);
}

.btn-ghost:hover {
    background: rgba(248, 246, 243, 0.1);
    border-color: rgba(248, 246, 243, 0.4);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--navy);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 165, 92, 0.3);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(45, 27, 78, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(107, 77, 179, 0.2) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 80%, rgba(201, 165, 92, 0.1) 0%, transparent 40%),
        linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
    z-index: 0;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
    50% { transform: translateY(-100px) translateX(50px); opacity: 0.6; }
}

.hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(201, 165, 92, 0.1);
    border: 1px solid rgba(201, 165, 92, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--gold);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--pearl);
    opacity: 0.7;
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(248, 246, 243, 0.1);
    animation: fadeInUp 0.8s ease 0.4s both;
}

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

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--gold);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-top: 0.25rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    padding: 6rem 2rem;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-label {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    opacity: 0.7;
    line-height: 1.7;
}

.features {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(19, 34, 56, 0.8) 0%, rgba(10, 22, 40, 0.8) 100%);
    border: 1px solid rgba(248, 246, 243, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--purple-light), var(--gold));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 165, 92, 0.3);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-card p {
    opacity: 0.7;
    line-height: 1.7;
    font-size: 0.95rem;
}

.how-it-works {
    background: var(--navy-dark);
}

.steps-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.steps-line {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold), var(--purple-light), var(--gold));
    opacity: 0.3;
}

.step {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--navy);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-content {
    padding-top: 1rem;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.step-content p {
    opacity: 0.7;
    line-height: 1.7;
    max-width: 500px;
}

.pricing {
    background: linear-gradient(180deg, var(--navy-light) 0%, var(--navy) 100%);
}

.pricing-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: linear-gradient(135deg, rgba(19, 34, 56, 0.9) 0%, rgba(10, 22, 40, 0.9) 100%);
    border: 1px solid rgba(248, 246, 243, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
}

.pricing-card.featured {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(45, 27, 78, 0.3) 0%, rgba(19, 34, 56, 0.9) 100%);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.pricing-price span {
    font-size: 1rem;
    opacity: 0.6;
    font-family: 'Inter', sans-serif;
}

.pricing-desc {
    opacity: 0.6;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(248, 246, 243, 0.05);
    font-size: 0.95rem;
}

.pricing-features li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-section {
    background: linear-gradient(135deg, var(--purple) 0%, var(--navy-dark) 100%);
    text-align: center;
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 165, 92, 0.1) 0%, transparent 50%);
    animation: rotateBg 30s linear infinite;
}

@keyframes rotateBg {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
}

footer {
    background: var(--navy-dark);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(248, 246, 243, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand .logo-text {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

.footer-brand p {
    opacity: 0.6;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--pearl);
    opacity: 0.6;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--gold);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(248, 246, 243, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    opacity: 0.5;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--pearl);
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, var(--navy-dark) 0%, var(--purple) 100%);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.mobile-menu.open .mobile-menu-content {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-links {
    list-style: none;
    margin-bottom: 3rem;
}

.mobile-nav-links li {
    margin-bottom: 1.5rem;
}

.mobile-nav-links a {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--pearl);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.mobile-nav-links a:hover {
    color: var(--gold);
    transform: translateX(10px);
}

.mobile-nav-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.mobile-nav-cta .btn {
    min-width: 200px;
}

body.menu-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .steps-line {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

.app-container {
    background: var(--navy);
    min-height: 100vh;
}

.app-header {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--purple) 100%);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(248, 246, 243, 0.1);
}

.app-header .logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

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

.user-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.125rem;
}

.user-name {
    font-weight: 600;
    color: var(--pearl);
    font-size: 0.9rem;
}

.user-email {
    color: var(--gray-400);
    font-size: 0.75rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.app-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(19, 34, 56, 0.8) 0%, rgba(10, 22, 40, 0.8) 100%);
    border: 1px solid rgba(248, 246, 243, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-icon.blue { background: linear-gradient(135deg, var(--purple) 0%, var(--violet) 100%); }
.stat-icon.green { background: linear-gradient(135deg, #059669 0%, #10b981 100%); }
.stat-icon.yellow { background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%); }
.stat-icon.purple { background: linear-gradient(135deg, var(--purple-light) 0%, var(--violet) 100%); }

.stat-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--pearl);
}

.stat-content p {
    font-size: 0.85rem;
    opacity: 0.6;
}

.tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    background: rgba(19, 34, 56, 0.5);
    padding: 0.5rem;
    border-radius: 12px;
}

.tab {
    padding: 0.75rem 1.25rem;
    border: none;
    background: transparent;
    color: var(--pearl);
    opacity: 0.6;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tab:hover {
    opacity: 0.8;
    background: rgba(248, 246, 243, 0.05);
}

.tab.active {
    background: var(--gold);
    color: var(--navy);
    opacity: 1;
}

.project-selector-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(19, 34, 56, 0.8) 0%, rgba(10, 22, 40, 0.8) 100%);
    border: 1px solid rgba(248, 246, 243, 0.08);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.project-selector-bar label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gold);
}

.project-selector-bar select {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(248, 246, 243, 0.15);
    border-radius: 8px;
    background: var(--navy);
    color: var(--pearl);
    font-size: 0.9rem;
    cursor: pointer;
    min-width: 250px;
}

.project-selector-bar select:focus {
    outline: none;
    border-color: var(--gold);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    background: var(--gold);
    color: var(--navy);
    border: none;
    font-weight: 600;
}

.btn-small:hover {
    background: var(--gold-light);
}

.panel {
    display: none;
    background: linear-gradient(135deg, rgba(19, 34, 56, 0.6) 0%, rgba(10, 22, 40, 0.6) 100%);
    border: 1px solid rgba(248, 246, 243, 0.08);
    border-radius: 16px;
    padding: 2rem;
}

.panel.active {
    display: block;
}

.panel h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--pearl);
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.action-card {
    background: rgba(10, 22, 40, 0.5);
    border: 1px solid rgba(248, 246, 243, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.action-card:hover {
    border-color: rgba(201, 165, 92, 0.3);
}

.action-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--pearl);
}

.action-card p {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-bottom: 1rem;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: none;
}

.alert.show {
    display: block;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

textarea, input[type="text"], input[type="number"], input[type="file"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(248, 246, 243, 0.15);
    border-radius: 8px;
    background: var(--navy);
    color: var(--pearl);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-family: inherit;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.loading {
    display: none;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
}

.loading.show {
    display: inline-flex;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(201, 165, 92, 0.3);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.table-container {
    overflow-x: auto;
    margin-top: 1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(248, 246, 243, 0.08);
}

th {
    font-weight: 600;
    color: var(--gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

td {
    font-size: 0.9rem;
}

tr:hover {
    background: rgba(248, 246, 243, 0.02);
}

.badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-high {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.badge-medium {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.badge-low {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.summary-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-card {
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.summary-card.high {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.summary-card.medium {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.summary-card.low {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.summary-card h4 {
    font-size: 2rem;
    font-weight: 700;
}

.summary-card p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

.chart-container {
    background: rgba(10, 22, 40, 0.5);
    border-radius: 12px;
    padding: 1.5rem;
}

.feature-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.feature-name {
    min-width: 150px;
    font-size: 0.85rem;
}

.feature-value {
    flex: 1;
    height: 24px;
    background: rgba(248, 246, 243, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.feature-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--navy);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 13, 24, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
    border: 1px solid rgba(248, 246, 243, 0.1);
    border-radius: 20px;
    padding: 2rem;
    max-width: 450px;
    width: 90%;
}

.modal-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--pearl);
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: rgba(10, 22, 40, 0.5);
    border: 1px solid rgba(248, 246, 243, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: rgba(201, 165, 92, 0.3);
}

.project-card.active {
    border-color: var(--gold);
    background: rgba(201, 165, 92, 0.05);
}

.project-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.project-card p {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-bottom: 0.5rem;
}

.project-id-badge {
    display: inline-block;
    background: rgba(248, 246, 243, 0.1);
    color: var(--gold);
    font-size: 0.7rem;
    font-family: monospace;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.project-domain {
    font-weight: 600;
    color: var(--gold) !important;
}

.project-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.project-card-actions .btn {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

@media (max-width: 768px) {
    .summary-cards {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .app-main {
        padding: 1rem;
    }
}
