/* ============================================
   CSS VARIABLES & RESET
   ============================================ */

:root {
    --primary: #0D1321;
    --secondary: #00A8E8;
    --accent: #FFBE0B;
    --light: #F8FAFC;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
    --dark-color: #1f2937;
    --border-color: #e5e7eb;
    --transition: all 0.3s ease;
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --header-height: 80px;
    --container-padding: 24px;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;

    /* Gradient System */
    --gradient-primary:
        linear-gradient(135deg,#00A8E8,#5efcff);

    --gradient-accent:
        linear-gradient(135deg,#FFBE0B,#ffd76a);

    --gradient-dark:
        linear-gradient(180deg,#0D1321,#05080f);

    /* Glassmorphism */
    --glass-bg: rgba(255,255,255,0.05);
    --glass-border: rgba(255,255,255,0.15);
    --glass-blur: blur(20px);

    /* Motion Curves */
    --ease-premium:
        cubic-bezier(.22,1,.36,1);

    --ease-smooth:
        cubic-bezier(.25,.46,.45,.94);

    /* Depth Shadows */

    --shadow-glow:
        0 0 30px rgba(0,168,232,0.35);

    --shadow-soft:
        0 10px 40px rgba(0,0,0,0.4);

    --shadow-glass:
        inset 0 1px rgba(255,255,255,0.1),
        0 20px 40px rgba(0,0,0,0.4);

}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--light);
    background-color: var(--primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Clash Display', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

.accent-blue {
    color: var(--secondary);
}

.accent-yellow {
    color: var(--accent);
}

.highlight-yellow {
    background: var(--accent);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    color: var(--primary);
}

/* ============================================
   LOADING ANIMATION
   ============================================ */

#loader {
    position: fixed;
    inset: 0;
    background: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    transition: opacity 1s ease;
}

.dot {
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulseLoading 1.4s infinite ease-in-out both;
}

.dot:nth-child(2) { animation-delay: .2s; }
.dot:nth-child(3) { animation-delay: .4s; }

@keyframes pulseLoading {
    0%, 80%, 100% { opacity: .3; }
    40% { opacity: 1; }
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: var(--spacing-md);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: transparent;
    transition: box-shadow 1.3s ease, background-color 0.6s ease;
    will-change: backdrop-filter, box-shadow;
}

.nav-container.scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    padding: 1.35em;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.875rem;
    font-weight: 700;
    font-family: 'Clash Display', sans-serif;
}

.logo a {
    color: var(--light);
}

.logo-accent-yellow {
    color: var(--accent);
}

.logo-accent-blue {
    color: var(--secondary);
}

.nav-desktop {
    display: none;
    justify-self: center;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--light);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.nav-link:hover {
    color: var(--accent);
    background: rgba(255, 190, 11, 0.1);
}

.nav-link.active {
    color: var(--secondary);
    background: rgba(0, 168, 232, 0.1);
}

.nav-button {
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
}

.nav-button:not(.accent-yellow) {
    background: var(--secondary);
    color: var(--primary);
}

.nav-button:not(.accent-yellow):hover {
    background: rgba(0, 149, 214, 0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-button.accent-yellow {
    background: var(--accent);
    color: var(--primary);
}

.nav-button.accent-yellow:hover {
    background: rgba(230, 171, 0, 0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-mobile-toggle {
    display: block;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--primary);
    z-index: 50;
    padding: var(--spacing-md);
}

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

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 48px;
}

.mobile-menu-close {
    color: var(--secondary);
    cursor: pointer;
    width: 32px;
    height: 32px;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: center;
}

.mobile-link {
    font-size: 1.5rem;
    color: var(--light);
    transition: var(--transition);
    padding: 12px;
    border-radius: var(--radius-md);
}

.mobile-link:hover {
    color: var(--accent);
    background: rgba(255, 190, 11, 0.1);
}

.mobile-link.active {
    color: var(--secondary);
    background: rgba(0, 168, 232, 0.1);
}

.mobile-button {
    font-size: 1.5rem;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    display: block;
    margin: 0 auto;
}

.mobile-button:not(.accent-yellow) {
    background: var(--secondary);
    color: var(--primary);
}

.mobile-button:not(.accent-yellow):hover {
    background: rgba(0, 149, 214, 0.9);
}

.mobile-button.accent-yellow {
    background: var(--accent);
    color: var(--primary);
}

.mobile-button.accent-yellow:hover {
    background: rgba(230, 171, 0, 0.9);
}

/* ============================================
   MAIN CONTAINER & UTILITIES
   ============================================ */

.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--container-padding);
    padding-top: calc(var(--header-height) + var(--spacing-xl));
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xl);
}

.section-subtitle {
    font-size: 1.25rem;
    opacity: 0.8;
    margin-bottom: var(--spacing-xl);
    max-width: 800px;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.btn-primary {
    background: var(--secondary);
    color: var(--primary);
}

.btn-primary:hover {
    background: rgba(0, 149, 214, 0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 1px solid rgba(0, 168, 232, 0.3);
}

.btn-secondary:hover {
    border-color: var(--secondary);
    background: rgba(0, 168, 232, 0.1);
}

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

.btn-success:hover {
    background: rgba(16, 185, 129, 0.9);
    transform: translateY(-2px);
}

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

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.9);
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* ============================================
    HERO STYLE
   ========================================== */

.wrapper .hero-container {
    padding: 10em;
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

.hero-section {
    margin: var(--spacing-xxl) 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xl);
}

.hero-subtitle {
    font-size: 2.25rem;
    font-weight: 700;
    padding: 16px 0;
    margin-bottom: 48px;
    letter-spacing: 2px;
    line-height: 1.4;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.about-title {
    font-size: 2.5rem;
    color: var(--secondary);
    font-weight: 700;
    transition: var(--transition);
}

.divider {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 16px 0;
    width: 100%;
}

.about-description {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 24px;
}

/* Stats */
.stats-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.stat-box {
    border: 1px solid rgba(0, 168, 232, 0.3);
    border-radius: var(--radius-md);
    padding: 16px;
    min-width: 120px;
}

.stat-value {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Social */
.social-container {
    margin-top: 24px;
}

.social-text {
    opacity: 0.8;
    padding-top: 24px;
}

.social-icons {
    display: flex;
    gap: 24px;
    padding-top: 8px;
    flex-wrap: wrap;
}

.social-icon {
    color: var(--light);
    padding: 12px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Timeline */
.timeline-section {
    margin: var(--spacing-xxl) 0;
}

.timeline {
    position: relative;
    padding-left: 48px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--secondary);
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
}

.timeline-date {
    color: var(--accent);
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 1.125rem;
}

.timeline-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-description {
    opacity: 0.9;
    max-width: 600px;
}

/* Pricing */
.pricing-section {
    margin: var(--spacing-xxl) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.price-card {
    border: 1px solid rgba(0, 168, 232, 0.3);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    background: rgba(13, 19, 33, 0.8);
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 168, 232, 0.3);
    border-color: rgba(0, 168, 232, 0.5);
}

.price-card.featured {
    border: 2px solid var(--secondary);
    transform: scale(1.05);
    position: relative;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.price-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 24px;
}

.price-features {
    list-style: none;
    margin: 0 0 32px 0;
    padding: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 4px 0;
}

.feature-icon {
    color: var(--secondary);
    margin-right: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

.price-button {
    width: 100%;
    padding: 16px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.price-button.solid {
    background: var(--secondary);
    color: var(--primary);
}

.price-button.solid:hover {
    background: rgba(0, 149, 214, 0.9);
    transform: translateY(-2px);
}

.price-button.outline {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.price-button.outline:hover {
    background: var(--secondary);
    color: var(--primary);
}

/* ============================================
   EXPLORE PAGE STYLES
   ============================================ */

.tools-hero-section {
    margin-top: calc(var(--header-height) + var(--spacing-xl));
}

.tools-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 48px;
}

.tools-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.tools-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    line-height: 1.6;
}

.tools-notification {
    position: relative;
    padding: 12px 20px;
    background-color: rgba(0, 168, 232, 0.1);
    border: 1px solid rgba(0, 168, 232, 0.3);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    margin-top: 24px;
}

.notification-dot {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 16px;
    height: 16px;
    background-color: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 64px;
}

.skill-card {
    border: 1px solid rgba(0, 168, 232, 0.2);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    background: rgba(13, 19, 33, 0.8);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 168, 232, 0.3);
    border-color: rgba(0, 168, 232, 0.5);
}

.skill-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.skill-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 168, 232, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}

.skill-icon-svg {
    width: 24px;
    height: 24px;
    color: var(--secondary);
}

.skill-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.skill-progress-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skill-item {
    margin-bottom: 12px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.skill-name {
    color: var(--light);
}

.skill-percentage {
    color: var(--secondary);
    font-weight: 500;
}

.skill-progress {
    height: 6px;
    background: rgba(0, 168, 232, 0.2);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.skill-progress-bar {
    height: 100%;
    background: var(--secondary);
    border-radius: 3px;
    width: 0;
    animation: fillProgress 1.5s ease-out forwards;
}

@keyframes fillProgress {
    from { width: 0; }
    to { width: var(--skill-level); }
}

/* Map Section */
.map-section {
    margin: 96px 0;
}

.map-container {
    background: rgba(13, 19, 33, 0.8);
    border: 1px solid rgba(0, 168, 232, 0.2);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.skill-categories {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

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

.category-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 168, 232, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.category-icon-svg {
    width: 32px;
    height: 32px;
    color: var(--secondary);
}

.category-title {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.125rem;
}

.category-subtitle {
    font-size: 0.875rem;
    opacity: 0.8;
}

.project-types {
    border-top: 1px solid rgba(0, 168, 232, 0.2);
    padding-top: 48px;
}

.project-types-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.project-types-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.project-type {
    margin-bottom: 20px;
}

.project-type-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.project-type-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 190, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.project-type-svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.project-type-title {
    font-weight: 700;
    font-size: 1.125rem;
}

.project-type-description {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-left: 44px;
    line-height: 1.5;
}

/* Tools Section */
.tools-section {
    margin: 96px 0;
}

.tools-container {
    background: rgba(13, 19, 33, 0.8);
    border: 1px solid rgba(0, 168, 232, 0.2);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
}

.tools-explore-box {
    background: rgba(0, 168, 232, 0.1);
    border: 2px dashed rgba(0, 168, 232, 0.3);
    border-radius: var(--radius);
    padding: 48px;
    margin: 32px 0;
    cursor: pointer;
    transition: var(--transition);
}

.tools-explore-box:hover {
    background: rgba(0, 168, 232, 0.15);
    border-color: rgba(0, 168, 232, 0.5);
}

.tools-explore-button {
    display: inline-block;
    width: 100%;
    padding: 16px 24px;
    background: var(--secondary);
    color: var(--primary);
    font-weight: 700;
    border-radius: var(--radius);
    text-decoration: none;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    cursor: pointer;
}

.tools-explore-button:hover {
    background: rgba(0, 168, 232, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 168, 232, 0.2);
}

/* ============================================
   TOOLS PAGE STYLES
   ============================================ */

.conversion-dashboard {
    background-color: rgba(13, 19, 33, 0.8);
    border: 1px solid rgba(0, 168, 232, 0.2);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.conversion-dashboard:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 168, 232, 0.3);
    border-color: rgba(0, 168, 232, 0.5);
}

.dashboard-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

/* Drop Zone */
.drop-zone {
    border: 2px dashed rgba(0, 168, 232, 0.3);
    border-radius: var(--radius);
    padding: 48px 32px;
    margin-bottom: 32px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background-color: rgba(13, 19, 33, 0.5);
}

.drop-zone:hover {
    border-color: rgba(0, 168, 232, 0.8);
    background-color: rgba(0, 168, 232, 0.05);
}

.drop-zone.drag-over {
    border-color: rgba(0, 168, 232, 0.8);
    background-color: rgba(0, 168, 232, 0.1);
}

.drop-zone-icon {
    width: 48px;
    height: 48px;
    color: var(--secondary);
    margin: 0 auto 16px;
}

.drop-zone-title {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.drop-zone-subtitle {
    opacity: 0.8;
    margin-bottom: 24px;
}

.file-input-hidden {
    display: none;
}

.file-input-label {
    display: inline-block;
    padding: 12px 24px;
    background-color: rgba(0, 168, 232, 0.1);
    border: 1px solid rgba(0, 168, 232, 0.3);
    border-radius: var(--radius);
    color: var(--light);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.file-input-label:hover {
    background-color: rgba(0, 168, 232, 0.2);
    border-color: rgba(0, 168, 232, 0.5);
}

/* Conversion Controls */
.conversion-controls {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.conversion-group {
    margin-bottom: 8px;
}

.conversion-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--light);
}

.conversion-select {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--primary);
    border: 1px solid rgba(0, 168, 232, 0.3);
    border-radius: var(--radius);
    color: var(--light);
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    transition: var(--transition);
}

.conversion-select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.2);
}

.convert-button {
    width: 100%;
    padding: 16px 24px;
    background-color: var(--secondary);
    color: var(--primary);
    border: none;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.convert-button:hover {
    background-color: rgba(0, 149, 214, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 168, 232, 0.3);
}

.convert-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Quick Actions */
.quick-actions {
    background-color: rgba(13, 19, 33, 0.8);
    border: 1px solid rgba(0, 168, 232, 0.2);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.quick-actions:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 168, 232, 0.3);
    border-color: rgba(0, 168, 232, 0.5);
}

.actions-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.actions-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(0, 168, 232, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}

.actions-icon-svg {
    width: 24px;
    height: 24px;
    color: var(--secondary);
}

.actions-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.actions-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.action-item {
    padding: 16px;
    background-color: var(--primary);
    border: 1px solid rgba(0, 168, 232, 0.2);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.action-item:hover {
    background-color: rgba(0, 168, 232, 0.1);
    border-color: rgba(0, 168, 232, 0.5);
    transform: translateX(4px);
}

.action-icon {
    width: 20px;
    height: 20px;
    color: var(--secondary);
    margin-right: 12px;
}

.coming-soon {
    padding-top: 24px;
    border-top: 1px solid rgba(0, 168, 232, 0.2);
}

.coming-soon-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.coming-soon-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 12px;
    background-color: var(--primary);
    border: 1px solid rgba(0, 168, 232, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    opacity: 0.8;
    transition: var(--transition);
}

.tag:hover {
    opacity: 1;
    border-color: rgba(0, 168, 232, 0.5);
}

/* Code Generator */
.code-generator {
    background-color: rgba(13, 19, 33, 0.8);
    border: 1px solid rgba(0, 168, 232, 0.2);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 64px;
    transition: var(--transition);
}

.code-generator:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 168, 232, 0.3);
    border-color: rgba(0, 168, 232, 0.5);
}

.code-generator-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.code-generator-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.code-inputs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.code-input-group {
    margin-bottom: 8px;
}

.code-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--light);
}

.code-select,
.code-textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--primary);
    border: 1px solid rgba(0, 168, 232, 0.3);
    border-radius: var(--radius);
    color: var(--light);
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    transition: var(--transition);
}

.code-textarea {
    resize: vertical;
    min-height: 100px;
}

.code-select:focus,
.code-textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.2);
}

.generate-button {
    width: 100%;
    padding: 16px 24px;
    background-color: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.generate-button:hover {
    background-color: rgba(230, 171, 0, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 190, 11, 0.3);
}

.generate-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Code Output */
.code-output {
    background-color: var(--primary);
    border: 1px solid rgba(0, 168, 232, 0.3);
    border-radius: var(--radius);
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.code-output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 168, 232, 0.2);
}

.code-language-display {
    font-family: monospace;
    font-size: 0.875rem;
    opacity: 0.8;
}

.copy-button {
    background: none;
    border: none;
    color: var(--secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition);
}

.copy-button:hover {
    background-color: rgba(0, 168, 232, 0.1);
    color: rgba(0, 168, 232, 0.9);
}

.code-content {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--light);
    white-space: pre-wrap;
    word-break: break-all;
    overflow: auto;
    max-height: 200px;
    margin: 0;
    padding: 12px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

/* Engagement Section */
.engagement-section {
    text-align: center;
    padding: 64px 0;
}

.engagement-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.engagement-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.engagement-button {
    display: inline-block;
    padding: 16px 32px;
    background-color: var(--secondary);
    color: var(--primary);
    border: none;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.engagement-button:hover {
    background-color: rgba(0, 149, 214, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 168, 232, 0.3);
}

/* ============================================
   INVOICE AURA STYLES
   ============================================ */

/* Header */
.header {
    background-color: rgba(13, 19, 33, 0.95);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon i {
    color: white;
    width: 1.25rem;
    height: 1.25rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
}

.header-actions {
    display: flex;
    gap: 0.75rem;
}

/* Editor Grid */
.editor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Settings Cards */
.settings-card {
    background-color: rgba(13, 19, 33, 0.8);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 168, 232, 0.2);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.settings-card:hover {
    box-shadow: var(--shadow-md);
}

.settings-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 1.25rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
}

/* Settings Grid */
.settings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* Form Elements */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--light);
    margin-bottom: 0.375rem;
}

.form-input,
.form-textarea,
.setting-select {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid rgba(0, 168, 232, 0.3);
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    transition: var(--transition);
    background-color: rgba(13, 19, 33, 0.9);
    color: var(--light);
}

.form-input:focus,
.form-textarea:focus,
.setting-select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Color Picker */
.color-picker-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.color-picker {
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(0, 168, 232, 0.3);
    border-radius: var(--radius-md);
    cursor: pointer;
    padding: 0;
}

.color-value {
    font-size: 0.875rem;
    color: #9ca3af;
    font-family: monospace;
}

/* Logo Upload */
.logo-upload-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-input {
    display: none;
}

.logo-upload-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background-color: rgba(13, 19, 33, 0.9);
    border: 2px dashed rgba(0, 168, 232, 0.3);
    border-radius: var(--radius-md);
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.logo-upload-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.logo-upload-btn i {
    width: 1rem;
    height: 1rem;
}

.logo-remove-btn {
    padding: 0.5rem;
    background-color: rgba(239, 68, 68, 0.1);
    border: none;
    border-radius: var(--radius-md);
    color: var(--danger);
    cursor: pointer;
    transition: var(--transition);
}

.logo-remove-btn:hover {
    background-color: rgba(239, 68, 68, 0.2);
}

/* Line Items */
.line-item {
    background-color: rgba(13, 19, 33, 0.9);
    border: 1px solid rgba(0, 168, 232, 0.2);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: var(--transition);
    position: relative;
}

.line-item.dragging {
    opacity: 0.5;
    transform: rotate(3deg);
}

.line-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.line-item-controls {
    display: flex;
    gap: 0.5rem;
}

.line-item-controls button {
    padding: 0.25rem;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    transition: var(--transition);
}

.line-item-controls button:hover {
    color: var(--light);
}

.drag-handle {
    cursor: grab;
}

.line-item-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.line-item-field label {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.line-item-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(0, 168, 232, 0.3);
    border-radius: var(--radius-sm);
    background-color: rgba(13, 19, 33, 0.9);
    color: var(--light);
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
}

.line-item-subtotal {
    text-align: right;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--light);
    margin-top: 0.5rem;
}

/* Totals Summary */
.totals-summary {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 168, 232, 0.2);
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.total-row.total-final {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--light);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 2px solid rgba(0, 168, 232, 0.3);
}

/* Preview Panel */
.preview-panel {
    position: sticky;
    top: 6rem;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.preview-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--light);
}

.preview-actions {
    display: flex;
    gap: 0.5rem;
}

.invoice-preview {
    background-color: rgba(13, 19, 33, 0.8);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 168, 232, 0.2);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    font-family: 'Inter', sans-serif;
    max-height: 800px;
    overflow-y: auto;
}

/* Invoice Preview Styles */
.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--secondary);
}

.invoice-logo {
    max-width: 120px;
    max-height: 60px;
    margin-bottom: 1rem;
}

.company-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.invoice-title {
    text-align: right;
}

.invoice-title h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--light);
    margin-bottom: 0.25rem;
}

.invoice-number {
    font-size: 1rem;
    color: #9ca3af;
    font-weight: 600;
}

.invoice-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.info-section h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.info-content {
    font-size: 0.875rem;
    color: var(--light);
    line-height: 1.5;
    white-space: pre-line;
}

.invoice-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 168, 232, 0.2);
}

.invoice-items-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.invoice-items-table thead {
    background-color: var(--secondary);
    color: var(--primary);
}

.invoice-items-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
}

.invoice-items-table tbody tr {
    border-bottom: 1px solid rgba(0, 168, 232, 0.2);
}

.invoice-items-table td {
    padding: 1rem;
    font-size: 0.875rem;
    color: var(--light);
}

.invoice-items-table tbody tr:hover {
    background-color: rgba(0, 168, 232, 0.05);
}

.invoice-summary {
    margin-left: auto;
    width: 100%;
    max-width: 300px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: #9ca3af;
}

.summary-row.total {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--light);
    border-top: 2px solid rgba(0, 168, 232, 0.3);
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.invoice-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 168, 232, 0.2);
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.footer-section h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #9ca3af;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section p {
    font-size: 0.875rem;
    color: var(--light);
    line-height: 1.5;
    white-space: pre-line;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: rgba(13, 19, 33, 0.95);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(0, 168, 232, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 168, 232, 0.2);
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--light);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #9ca3af;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--light);
}

.modal-body {
    padding: 1.5rem;
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.template-card {
    border: 2px solid rgba(0, 168, 232, 0.2);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(13, 19, 33, 0.8);
}

.template-card:hover {
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.template-card.active {
    border-color: var(--secondary);
    background-color: rgba(0, 168, 232, 0.1);
}

.template-preview {
    height: 120px;
    background-color: rgba(13, 19, 33, 0.9);
    border-bottom: 1px solid rgba(0, 168, 232, 0.2);
}

.template-info {
    padding: 1rem;
}

.template-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--light);
}

.template-info p {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* ============================================
   MODALS & TOASTS
   ============================================ */

/* Progress Modal */
.progress-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 19, 33, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.progress-modal.show {
    display: flex;
}

.progress-modal-content {
    background-color: rgba(13, 19, 33, 0.95);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    border: 1px solid rgba(0, 168, 232, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.progress-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 168, 232, 0.2);
}

.progress-modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--light);
}

.progress-close {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary);
    transition: var(--transition);
}

.progress-close:hover {
    color: var(--light);
}

.progress-modal-body {
    padding: 32px 24px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: rgba(0, 168, 232, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background-color: var(--secondary);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    font-size: 0.875rem;
    margin-bottom: 16px;
    opacity: 0.8;
    color: var(--light);
}

.progress-files {
    font-size: 0.75rem;
    opacity: 0.6;
    text-align: center;
    color: var(--light);
}

/* Results Modal */
.results-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 19, 33, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.results-modal.show {
    display: flex;
}

.results-modal-content {
    background-color: rgba(13, 19, 33, 0.95);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    border: 1px solid rgba(0, 168, 232, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.results-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 168, 232, 0.2);
}

.results-modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--light);
}

.results-close {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary);
    transition: var(--transition);
}

.results-close:hover {
    color: var(--light);
}

.results-modal-body {
    padding: 32px 24px;
    text-align: center;
}

.results-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.results-icon i {
    width: 32px;
    height: 32px;
    color: #10b981;
}

.results-message {
    font-size: 1rem;
    margin-bottom: 32px;
    opacity: 0.9;
    color: var(--light);
}

.results-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.results-button {
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    font-size: 0.875rem;
}

.results-button.primary {
    background-color: var(--secondary);
    color: var(--primary);
}

.results-button.primary:hover {
    background-color: rgba(0, 149, 214, 0.9);
}

.results-button.secondary {
    background-color: transparent;
    color: var(--light);
    border: 1px solid rgba(0, 168, 232, 0.3);
}

.results-button.secondary:hover {
    border-color: rgba(0, 168, 232, 0.5);
    background-color: rgba(0, 168, 232, 0.1);
}

/* Toast Container */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
}

.toast {
    background: rgba(13, 19, 33, 0.95);
    border-left: 4px solid var(--secondary);
    border-radius: var(--radius);
    padding: 12px 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    animation: slideIn 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 168, 232, 0.2);
}

.toast.success {
    border-left-color: #10b981;
}

.toast.error {
    border-left-color: #ef4444;
}

.toast.warning {
    border-left-color: #f59e0b;
}

.toast.info {
    border-left-color: var(--secondary);
}

.toast-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-message {
    font-size: 0.875rem;
    color: var(--light);
    line-height: 1.4;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 48px 0;
    border-top: 1px solid rgba(0, 168, 232, 0.2);
    background: rgba(13, 19, 33, 0.8);
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Clash Display', sans-serif;
    margin-bottom: 24px;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 24px;
}

.footer-social a {
    color: var(--light);
    transition: var(--transition);
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-copyright {
    text-align: center;
    opacity: 0.7;
    font-size: 0.875rem;
    color: var(--light);
}

/* ============================================
   ANIMATIONS & UTILITIES
   ============================================ */

/* Pulse Animation */
.pulse-hover:hover {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translateY(-2px) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-2px) scale(1.05);
        opacity: 0.8;
    }
}

/* Loading Dots */
.loading-dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-box, .timeline-item, .price-card,
.skill-card, .category-item, .project-type,
.tool-card, .code-generator, .conversion-dashboard {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.stat-box.animated { animation-delay: 0.1s; }
.timeline-item.animated { animation-delay: 0.2s; }
.price-card.animated { animation-delay: 0.3s; }
.skill-card.animated { animation-delay: 0.1s; }
.category-item.animated { animation-delay: 0.2s; }
.project-type.animated { animation-delay: 0.3s; }

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .invoice-preview {
        box-shadow: none !important;
        border: none !important;
        max-height: none !important;
        overflow: visible !important;
        padding: 0 !important;
    }
    
    body {
        background-color: white !important;
    }
    
    .invoice-preview * {
        color: black !important;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (min-width: 640px) {
    .stats-container {
        flex-direction: row;
    }
    
    .settings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .conversion-controls {
        grid-template-columns: 1fr 1fr;
    }
    
    .line-item-fields {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .nav-mobile-toggle {
        display: none;
    }
    
    .footer-content {
        flex-direction: row;
    }
    
    .footer-logo {
        margin-bottom: 0;
    }
    
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 2fr 1fr;
    }
    
    .skill-categories {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .project-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tools-grid {
        grid-template-columns: 2fr 1fr;
    }
    
    .code-generator-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .invoice-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .invoice-footer {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tools-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .tools-header-content {
        margin-bottom: 0;
    }
    
    .tools-notification {
        margin-top: 0;
    }
    
    .editor-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .template-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .tools-grid {
        grid-template-columns: 2fr 1fr;
    }
    
    .editor-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .tools-grid {
        grid-template-columns: 2fr 1fr;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .tools-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.75rem;
    }
    
    .tools-subtitle {
        font-size: 1.125rem;
    }
    
    .tools-notification {
        width: 100%;
    }
    
    .drop-zone {
        padding: 32px 20px;
    }
    
    .results-actions {
        flex-direction: column;
    }
    
    .price-card.featured {
        transform: none;
    }
    
    .mobile-menu {
        padding: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 16px;
        padding-top: calc(var(--header-height) + 16px);
    }
    
    .nav-container {
        padding: 16px;
    }
    
    .conversion-dashboard,
    .quick-actions,
    .code-generator,
    .settings-card {
        padding: 24px 16px;
    }
    
    .tools-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .stats-container {
        flex-direction: column;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .template-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ACCESSIBILITY & INTERACTION
   ============================================ */

:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Selection */
::selection {
    background-color: var(--secondary);
    color: var(--primary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(13, 19, 33, 0.8);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 168, 232, 0.5);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}