@import url('https://fonts.googleapis.com/css2?family=Asap&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow&display=swap');

/* ===============================================
   ClearTheAir - Professional Enterprise Design
   =============================================== */

:root {
    /* Professional Color Palette */
    --primary: #1a365d;
    --primary-light: #2d3748;
    --primary-dark: #0f1419;
    --secondary: #2b6cb0;
    --secondary-light: #3182ce;
    --accent: #38b2ac;
    --accent-light: #4fd1c7;
    
    /* Neutral Palette */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Professional Gradients */
    --gradient-primary: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    --gradient-secondary: linear-gradient(135deg, #2b6cb0 0%, #3182ce 100%);
    --gradient-accent: linear-gradient(135deg, #38b2ac 0%, #4fd1c7 100%);
    --gradient-neutral: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    
    /* Status Colors */
    --success: #059669;
    --success-light: #10b981;
    --warning: #d97706;
    --warning-light: #f59e0b;
    --error: #dc2626;
    --error-light: #ef4444;
    
    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: rgba(0, 0, 0, 0.15);
    
    /* Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Typography */
    --font-primary: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-2xl: 16px;
    
    /* Transitions */
    --transition-fast: all 0.15s ease-out;
    --transition-base: all 0.2s ease-out;
    --transition-slow: all 0.3s ease-out;
}

/* ===============================================
   Base Styles & Reset
   =============================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--gradient-primary);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1, 'pnum' 1, 'tnum' 0, 'onum' 1, 'lnum' 0, 'dlig' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 3px;
}

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

/* ===============================================
   Typography Scale
   =============================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.5em;
    color: var(--gray-900);
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.25rem, 4vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.875rem, 3vw, 2.25rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: var(--space-4);
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.7;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ===============================================
   Layout Foundation
   =============================================== */

.main-content {
    min-height: calc(100vh - 80px);
    padding-top: 80px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* ===============================================
   Header & Navigation
   =============================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 54, 93, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
    height: 60px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    position: relative;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    letter-spacing: -0.025em;
    transition: var(--transition-base);
    flex-shrink: 0;
}

.logo:hover {
    opacity: 0.9;
}

/* Hamburger Menu Button */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    position: relative;
    white-space: nowrap;
    min-height: 36px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.nav-links a i {
    font-size: 1rem;
}

/* ===============================================
   Professional Glass Container
   =============================================== */

.glass-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-xl);
    transition: var(--transition-base);
}

.glass-container:hover {
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* ===============================================
   Hero Section - Professional
   =============================================== */

.hero {
    text-align: center;
    padding: var(--space-20) var(--space-6);
    margin-bottom: var(--space-16);
    position: relative;
}

.hero h1 {
    color: white;
    margin-bottom: var(--space-6);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ===============================================
   Professional Button System
   =============================================== */

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--gradient-secondary);
    color: white;
    text-decoration: none;
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-xl);
}

.cta-button:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===============================================
   Features Section - Corporate
   =============================================== */

.features {
    padding: var(--space-20) var(--space-6);
    text-align: center;
}

.features h2 {
    color: white;
    margin-bottom: var(--space-12);
    font-weight: 600;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: var(--space-10);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-6);
    background: var(--gradient-secondary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--shadow-md);
}

.feature-card h3 {
    margin-bottom: var(--space-4);
    color: var(--gray-900);
    font-weight: 600;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* ===============================================
   Marketing Layout - Professional
   =============================================== */

.marketing-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: var(--space-8);
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-6);
    min-height: calc(100vh - 120px);
}

.marketing-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.marketing-main {
    min-height: 100%;
}

/* ===============================================
   Enhanced Share Section - Professional
   =============================================== */

.enhanced-share {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
}

.share-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.share-header h2 {
    color: var(--gray-900);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.share-header p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}

.qr-container {
    text-align: center;
    margin-bottom: var(--space-8);
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto var(--space-4);
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gray-400);
    box-shadow: var(--shadow-sm);
}

.qr-container p {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin: 0;
}

.enhanced-input-group {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.enhanced-input {
    flex: 1;
    padding: var(--space-3);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    background: white;
    color: var(--gray-900);
    font-size: 0.875rem;
    font-family: var(--font-mono);
    transition: var(--transition-base);
}

.enhanced-input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

.enhanced-copy-button {
    padding: var(--space-3) var(--space-4);
    background: var(--gradient-accent);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
}

.enhanced-copy-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.download-qr-button {
    width: 100%;
    padding: var(--space-3);
    background: var(--gradient-secondary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition-base);
    margin-bottom: var(--space-8);
}

.download-qr-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.feature-highlights {
    border-top: 1px solid var(--gray-200);
    padding-top: var(--space-6);
}

.feature-highlights h4 {
    color: var(--gray-900);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.feature-highlights ul {
    list-style: none;
    padding: 0;
    space-y: var(--space-2);
}

.feature-highlights li {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: var(--space-2);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.feature-highlights .fas.fa-check {
    color: var(--success);
    font-size: 0.75rem;
    width: 16px;
    text-align: center;
}

/* ===============================================
   Testimonial - Minimalist
   =============================================== */

.testimonial {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    margin-top: var(--space-8);
    border-left: 4px solid var(--secondary);
}

.testimonial-content {
    position: relative;
}

.testimonial .fa-quote-left {
    color: var(--gray-300);
    font-size: 1.25rem;
    margin-bottom: var(--space-2);
}

.testimonial p {
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: var(--space-4);
    font-size: 0.9rem;
    line-height: 1.6;
}

.testimonial-author {
    color: var(--gray-500);
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===============================================
   Enhanced Feedback Form
   =============================================== */

.enhanced-feedback {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-12);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.feedback-header {
    text-align: center;
    margin-bottom: var(--space-12);
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: var(--space-8);
}

.feedback-header h1 {
    color: var(--gray-900);
    margin-bottom: var(--space-2);
    font-weight: 600;
}

.feedback-header p {
    color: var(--gray-600);
    font-size: 1rem;
    margin: 0;
}

.enhanced-emoji-box {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    margin-bottom: var(--space-10);
}

.enhanced-emoji-box input[type="radio"] {
    display: none;
}

.enhanced-emoji-box label {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-base);
    border: 3px solid var(--gray-200);
    background: white;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.enhanced-emoji-box label:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}

.enhanced-emoji-box input[type="radio"]:checked + label {
    background: var(--gradient-secondary);
    color: white;
    border-color: var(--secondary);
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: var(--space-8);
}

.form-group textarea {
    width: 100%;
    padding: var(--space-4);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    resize: vertical;
    transition: var(--transition-base);
    background: white;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

.form-group textarea::placeholder {
    color: var(--gray-400);
}

/* ===============================================
   Results Dashboard - Executive
   =============================================== */

.enhanced-results {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-12);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.results-header {
    text-align: center;
    margin-bottom: var(--space-12);
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: var(--space-8);
}

.results-header h2 {
    color: var(--gray-900);
    margin-bottom: var(--space-2);
    font-weight: 600;
}

.results-header p {
    color: var(--gray-600);
    font-size: 1rem;
    margin: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.stat-card {
    text-align: center;
    padding: var(--space-8);
    background: var(--gradient-neutral);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: var(--transition-base);
    position: relative;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.stat-icon {
    font-size: 1.75rem;
    margin-bottom: var(--space-4);
    color: var(--secondary);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===============================================
   Comments Section - Clean
   =============================================== */

.enhanced-comments {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    border: 1px solid var(--gray-200);
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid var(--gray-200);
}

.comments-header h3 {
    color: var(--gray-900);
    margin: 0;
    font-weight: 600;
}

.comments-count {
    background: var(--gradient-secondary);
    color: white;
    padding: var(--space-1) var(--space-3);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.comments-list {
    max-height: 400px;
    overflow-y: auto;
}

.comment-item {
    background: white;
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--secondary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.comment-item:hover {
    box-shadow: var(--shadow-md);
}

.comment-text {
    color: var(--gray-700);
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.no-comments {
    text-align: center;
    padding: var(--space-16);
    color: var(--gray-400);
}

.no-comments i {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
    opacity: 0.5;
}

/* ===============================================
   Contact Section - Corporate
   =============================================== */

.contact {
    padding: var(--space-20) var(--space-6);
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    margin: var(--space-16) var(--space-6);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact h2 {
    color: white;
    margin-bottom: var(--space-12);
    font-weight: 600;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: var(--space-12);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-3);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-base);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

/* ===============================================
   Success Messages - Professional
   =============================================== */

.success-message {
    text-align: center;
    padding: var(--space-12);
    background: var(--gradient-accent);
    border-radius: var(--radius-xl);
    color: white;
    box-shadow: var(--shadow-lg);
}

.success-icon {
    font-size: 3rem;
    margin-bottom: var(--space-4);
}

.success-message h2 {
    color: white;
    margin-bottom: var(--space-4);
    font-weight: 600;
}

.success-message p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-4);
}

.share-encouragement {
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.share-encouragement a {
    color: white;
    font-weight: 600;
    text-decoration: underline;
}

/* ===============================================
   Professional Notifications
   =============================================== */

.notification {
    position: fixed;
    top: 100px;
    right: var(--space-6);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-lg);
    color: white;
    font-weight: 500;
    font-size: 0.875rem;
    box-shadow: var(--shadow-xl);
    z-index: 1001;
    animation: slideInRight 0.3s ease-out;
}

.notification.success {
    background: var(--success);
}

.notification.error {
    background: var(--error);
}

.notification.warning {
    background: var(--warning);
}

/* ===============================================
   Responsive Design - Mobile First
   =============================================== */

@media (max-width: 1024px) {
    .marketing-layout {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .marketing-sidebar {
        position: static;
        order: 2;
    }
    
    .marketing-main {
        order: 1;
    }
    
    .enhanced-share {
        padding: var(--space-6);
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: var(--space-4);
    }
}

@media (max-width: 768px) {
    :root {
        --space-20: 3rem;
        --space-16: 2.5rem;
        --space-12: 2rem;
    }
    
    .hero {
        padding: var(--space-16) var(--space-4);
    }
    
    .features {
        padding: var(--space-16) var(--space-4);
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .marketing-layout {
        padding: var(--space-4);
        gap: var(--space-6);
    }
    
    .enhanced-feedback,
    .enhanced-results {
        padding: var(--space-8) var(--space-6);
    }
    
    .enhanced-share {
        padding: var(--space-6) var(--space-4);
    }
    
    .enhanced-emoji-box {
        gap: var(--space-4);
    }
    
    .enhanced-emoji-box label {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .qr-placeholder {
        width: 150px;
        height: 150px;
        font-size: 1.5rem;
    }
    
    .contact {
        padding: var(--space-16) var(--space-4);
        margin: var(--space-8) var(--space-4);
    }
    
    .contact-form {
        padding: var(--space-8) var(--space-6);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: var(--space-6);
    }
    
    .stat-value {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }
    
    .hero {
        padding: var(--space-12) var(--space-4);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: var(--space-3) var(--space-6);
        font-size: 0.9rem;
    }
    
    .enhanced-input-group {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .enhanced-copy-button {
        width: 100%;
    }
    
    .notification {
        right: var(--space-4);
        left: var(--space-4);
    }
    
    .feature-card {
        padding: var(--space-8) var(--space-6);
    }
    
    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .enhanced-feedback,
    .enhanced-results {
        padding: var(--space-6) var(--space-4);
    }
    
    .contact-form {
        padding: var(--space-6) var(--space-4);
    }
}

/* ===============================================
   Professional Animations
   =============================================== */

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* ===============================================
   Loading States
   =============================================== */

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    border-top-color: var(--secondary);
    animation: spin 1s linear infinite;
}

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

.btn-loading {
    position: relative;
    color: transparent;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

/* ===============================================
   Utility Classes
   =============================================== */

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

.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

.text-gray-400 { color: var(--gray-400); }
.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-gray-900 { color: var(--gray-900); }

.bg-white { background: white; }
.bg-gray-50 { background: var(--gray-50); }
.bg-gray-100 { background: var(--gray-100); }

.border { border: 1px solid var(--gray-200); }
.border-gray-300 { border-color: var(--gray-300); }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }

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

.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.m-0 { margin: 0; }
.m-2 { margin: var(--space-2); }
.m-4 { margin: var(--space-4); }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

/* ===============================================
   Accessibility & Focus Management
   =============================================== */

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--gray-900);
    color: white;
    padding: var(--space-2) var(--space-4);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-fast);
}

.skip-link:focus {
    top: 6px;
}

/* Enhanced focus styles for better accessibility */
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible,
.enhanced-emoji-box label:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

.enhanced-emoji-box input[type="radio"]:focus-visible + label {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

/* ===============================================
   Print Styles
   =============================================== */

@media print {
    .header,
    .enhanced-share,
    .cta-button,
    .download-qr-button,
    .enhanced-copy-button,
    .nav-links {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .glass-container,
    .enhanced-feedback,
    .enhanced-results,
    .feature-card {
        background: white !important;
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
    
    .hero {
        background: none !important;
    }
    
    .hero h1,
    .hero p,
    .features h2 {
        color: black !important;
    }
}

/* ===============================================
   High Contrast & Reduced Motion Support
   =============================================== */

@media (prefers-contrast: high) {
    :root {
        --gray-600: #000000;
        --gray-700: #000000;
        --gray-900: #000000;
    }
    
    .glass-container,
    .enhanced-share,
    .enhanced-feedback,
    .enhanced-results {
        background: white;
        border: 2px solid black;
    }
    
    .cta-button,
    .enhanced-copy-button,
    .download-qr-button {
        border: 2px solid black;
    }
}

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

/* ===============================================
   Footer - Professional Design
   =============================================== */

.footer {
    background: var(--primary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0; /* Smaller padding on mobile */
    margin-top: auto;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem; /* Smaller padding on mobile */
    display: flex;
    flex-direction: column; /* Stack vertically on mobile */
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem; /* Smaller text on mobile */
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-content p .fas.fa-heart {
    color: #ef4444 !important;
    animation: heartbeat 2s ease-in-out infinite;
    flex-shrink: 0;
}

.footer-links {
    display: flex;
    gap: 1rem; /* Smaller gap on mobile */
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.75rem; /* Smaller text on mobile */
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    position: relative;
    white-space: nowrap;
    min-height: 36px; /* Touch-friendly */
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-light);
    transition: var(--transition-base);
    transform: translateX(-50%);
}

.footer-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.footer-links a:hover::before {
    width: 80%;
}

.footer-links a i {
    font-size: 0.7rem;
    opacity: 0.8;
    flex-shrink: 0;
}


/* ===============================================
   HEARTBEAT ANIMATION
   =============================================== */

@keyframes heartbeat {
    0%, 50%, 100% {
        transform: scale(1);
    }
    25%, 75% {
        transform: scale(1.1);
    }
}

/* ===============================================
   Notification System - Enhanced
   =============================================== */
.notification {
    position: fixed;
    top: calc(60px + 1rem); /* Adjust based on mobile header height */
    right: 1rem;
    left: 1rem; /* Full width on mobile */
    padding: 1rem;
    border-radius: var(--radius-lg);
    color: white;
    font-weight: 500;
    font-size: 0.875rem;
    box-shadow: var(--shadow-xl);
    z-index: 1001;
    transform: translateY(-100px);
    opacity: 0;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification.success {
    background: var(--gradient-accent);
    border-left: 4px solid var(--success);
}

.notification.error {
    background: linear-gradient(135deg, var(--error) 0%, var(--error-light) 100%);
    border-left: 4px solid #dc2626;
}

.notification.warning {
    background: linear-gradient(135deg, var(--warning) 0%, var(--warning-light) 100%);
    border-left: 4px solid #d97706;
}

.notification i {
    font-size: 1rem;
    flex-shrink: 0;
}

/* Tablet notification positioning */
@media (min-width: 768px) {
    .notification {
        top: calc(70px + 1rem);
        right: 1.5rem;
        left: auto;
        max-width: 350px;
    }
}

/* Desktop notification positioning */
@media (min-width: 1024px) {
    .notification {
        top: calc(80px + 1rem);
        right: 2rem;
        min-width: 300px;
        max-width: 400px;
    }
}

/* Very small screen notification */
@media (max-width: 480px) {
    .notification {
        top: calc(50px + 0.75rem);
        right: 0.75rem;
        left: 0.75rem;
        padding: 0.875rem;
        font-size: 0.8rem;
    }
}

/* ===============================================
   Body Layout Adjustments for Footer
   =============================================== */

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ===============================================
   Footer Responsive Design
   =============================================== */

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-6);
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-4);
    }
    
    .footer-links a {
        font-size: 0.8rem;
        padding: var(--space-2);
    }
    
    .notification {
        right: var(--space-4);
        left: var(--space-4);
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: var(--space-6) 0;
    }
    
    .footer-content p {
        font-size: 0.8rem;
    }
    
    .footer-links {
        gap: var(--space-3);
    }
    
    .footer-links a {
        font-size: 0.75rem;
    }
}


/* Mobile Navigation Fixes */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 54, 93, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
        gap: 0;
        padding: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        width: 100%;
        justify-content: flex-start;
        padding: 1rem;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }
}

/* Icon-only mode for very small screens - Fixed */
@media (max-width: 400px) {
    .nav-links a .nav-text {
        display: none;
    }

    .nav-links a {
        padding: 0.75rem;
        min-width: 44px;
        justify-content: center;
    }

    .logo {
        font-size: 1rem;
    }

    .nav-links {
        padding: 0.5rem;
    }
}

/* Smooth animations */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-links.active {
    animation: slideDown 0.3s ease forwards;
}



/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #ffffff;
    margin: 10% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
    background-color: #2c3e50;
    color: white !important;
    padding: 20px 25px;
    border-radius: 12px 12px 0 0;
    position: relative;
}

.join-header {
    background-color: #27ae60;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.4rem;
    color: white;
}

.close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
}

.close:hover {
    opacity: 0.7;
}

#hostForm, #joinForm {
    padding: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #2c3e50;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.form-note {
    background-color: #f8f9fa;
    border-left: 4px solid #2c3e50;
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 0 8px 8px 0;
}

.join-note {
    border-left-color: #27ae60;
}

.form-note small {
    color: #666;
    display: block;
    line-height: 1.4;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.modal-actions .cta-button {
    margin: 0;
    padding: 12px 20px;
    font-size: 16px;
}

.join-btn {
    background-color: #27ae60;
}

.join-btn:hover {
    background-color: #229954;
}

/* Hero Section Updates */
.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.cta-button.secondary {
    background-color: #27ae60;
}

.cta-button.secondary:hover {
    background-color: #229954;
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}



/*New Addition*/

/* One-Click Feedback Styles */
.one-click-feedback {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
}

.one-click-feedback h3 {
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.one-click-feedback p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.emoji-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.emoji-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-base);
    min-width: 80px;
}

.emoji-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-light);
}

.emoji-btn i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.emoji-btn span {
    font-size: 0.8rem;
    color: var(--gray-600);
    font-weight: 500;
}

.emoji-btn[data-sentiment="1"] i {
    color: var(--success);
}

.emoji-btn[data-sentiment="0"] i {
    color: var(--warning);
}

.emoji-btn[data-sentiment="-1"] i {
    color: var(--error);
}

.divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gray-300);
}

.divider span {
    background: white;
    padding: 0 1rem;
    color: var(--gray-500);
    font-size: 0.8rem;
    position: relative;
    z-index: 1;
}

/* Participant counter animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.stat-card[data-updated="true"] {
    animation: pulse 0.5s ease;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}