/* ProductMind Landing Page Styles */
/* Performance optimizations */
@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;
    }
}

/* Optimize font loading */
@font-face {
    font-family: 'System';
    font-style: normal;
    font-weight: 300;
    src: local('.SFNSText-Light'), local('.HelveticaNeueDeskInterface-Light'), local('Segoe UI Light'), local('Ubuntu Light'), local('Roboto Light'), local('DroidSans'), local('Tahoma');
    font-display: swap;
}

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    
    --bg-color: #ffffff;
    --text-color: #212529;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --card-bg: #ffffff;
    --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --navbar-text: #212529;
    
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    --transition: all 0.3s ease;
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
}

[data-theme="dark"] {
    --bg-color: #212529;
    --text-color: #ffffff;
    --text-muted: #adb5bd;
    --border-color: #495057;
    --card-bg: #343a40;
    --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.4);
    
    --navbar-bg: rgba(33, 37, 41, 0.95);
    --navbar-text: #ffffff;
    --primary-color: #4d94ff;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

/* Skip link for accessibility */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.sr-only-focusable:focus {
    position: absolute !important;
    width: auto !important;
    height: auto !important;
    padding: 0.5rem 1rem !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
    background-color: var(--primary-color) !important;
    color: white !important;
    text-decoration: none !important;
    font-weight: bold !important;
    z-index: 100000 !important;
    top: 0 !important;
    left: 0 !important;
    border-radius: 0 0 0.25rem 0.25rem !important;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: var(--transition);
    padding-top: 76px; /* Navbar height compensation */
}

.container {
    max-width: 1200px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    background-color: var(--navbar-bg);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .navbar.scrolled {
    background-color: rgba(33, 37, 41, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    color: var(--navbar-text) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Theme Toggle */
#theme-toggle {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

#theme-toggle:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.05;
    z-index: -1;
}

/* Animated background particles */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(13, 110, 253, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(102, 16, 242, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(13, 110, 253, 0.05) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(-10px) rotate(-1deg); }
}

/* Floating geometric shapes */
.hero-section::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    animation: floatShape 15s ease-in-out infinite;
    z-index: -1;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-30px) scale(1.1); }
}

.hero-content {
    padding: 2rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    position: relative;
    cursor: default;
    transition: all 0.3s ease;
}

.hero-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(13, 110, 253, 0.1), transparent);
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.6s ease;
}

.hero-title:hover::before {
    opacity: 1;
    transform: translateX(100%);
}

.hero-title:hover {
    transform: translateY(-2px);
    text-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateX(0deg);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

.hero-buttons .btn:hover {
    transform: perspective(1000px) rotateX(-5deg) translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-weight: 600;
}

.hero-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.hero-buttons .btn-outline-primary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.hero-buttons .btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

/* Dark mode fixes for hero buttons */
[data-theme="dark"] .hero-buttons .btn-outline-primary {
    background: rgba(13, 110, 253, 0.2);
    border: 2px solid #4d94ff;
    color: #4d94ff;
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .hero-buttons .btn-outline-primary:hover {
    background: #4d94ff;
    color: #000;
}

.hero-demo {
    padding: 2rem 0;
}

.demo-container {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.demo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05), rgba(102, 16, 242, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.demo-container:hover::before {
    opacity: 1;
}

.demo-container:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.demo-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.demo-buttons {
    display: flex;
    gap: 0.5rem;
}

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

.demo-button.red { background-color: #ff5f56; }
.demo-button.yellow { background-color: #ffbd2e; }
.demo-button.green { background-color: #27ca3f; }

.demo-title {
    font-weight: 600;
    font-size: 0.9rem;
}

.demo-content {
    padding: 1.5rem;
}

.demo-notes, .demo-artifact {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
}

[data-theme="dark"] .demo-notes,
[data-theme="dark"] .demo-artifact {
    background: var(--dark-color);
}

.demo-notes h6, .demo-artifact h6 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.demo-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    min-height: 60px;
}

.demo-arrow {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 1rem 0;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.artifact-section {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.artifact-section strong {
    color: var(--primary-color);
}

.artifact-section ul {
    margin: 0.5rem 0 0 1rem;
    padding: 0;
}

.artifact-section li {
    margin-bottom: 0.25rem;
}

/* Typing Effect */
.typing-effect {
    overflow: hidden;
    border-right: 2px solid var(--primary-color);
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary-color); }
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Features Section */
.features-section {
    background: var(--bg-color);
    position: relative;
}

.feature-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(102, 16, 242, 0.1));
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

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

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.feature-card > * {
    position: relative;
    z-index: 2;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.3);
}

.feature-card h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.feature-card .badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

/* How It Works Section */
.how-it-works-section {
    background: var(--light-color);
    position: relative;
}

[data-theme="dark"] .how-it-works-section {
    background: var(--dark-color);
}

.steps-container {
    padding: 2rem 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.step-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
}

.step-item.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.step-item.active .step-content h4,
.step-item.active .step-content p {
    color: white;
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.step-item.active .step-number {
    background: white;
    color: var(--primary-color);
}

.step-content h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-muted);
    margin: 0;
}

.demo-interactive {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
}

.demo-step {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.demo-step.active {
    display: block;
}

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

.demo-step h6 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.artifact-preview {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
}

[data-theme="dark"] .artifact-preview {
    background: var(--dark-color);
}

.export-buttons {
    display: flex;
    gap: 0.5rem;
}

/* Pricing Section */
.pricing-section {
    background: var(--bg-color);
    position: relative;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--border-color);
    height: 100%;
    position: relative;
    margin-bottom: 2rem;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

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

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

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.price .currency {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
}

.price .amount {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.price .period {
    font-size: 1rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.price-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

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

.pricing-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    color: var(--text-color);
}

.pricing-features .badge {
    margin-left: 0.5rem;
}

/* Early Access Section */
.early-access-section {
    background: var(--gradient-primary);
    color: white;
    position: relative;
}

.early-access-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.early-access-card .text-white {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.early-access-card .text-white-50 {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.signup-form .form-label {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.signup-form .form-check-label {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.early-access-benefits h4 {
    color: white;
}

.early-access-benefits ul {
    list-style: none;
    padding: 0;
}

.early-access-benefits li {
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.early-access-benefits li .bi-check-circle-fill {
    color: #198754 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.signup-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    transition: var(--transition);
}

.signup-form .form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.signup-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.signup-form .form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.signup-form .form-check-input:checked {
    background-color: var(--warning-color);
    border-color: var(--warning-color);
}

.early-access-section .btn-success {
    background-color: var(--warning-color) !important;
    border-color: var(--warning-color) !important;
    color: var(--dark-color) !important;
    font-weight: 600;
    text-shadow: none;
}

.early-access-section .btn-success:hover {
    background-color: #e0a800 !important;
    border-color: #e0a800 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact-section {
    background: var(--light-color);
    position: relative;
}

[data-theme="dark"] .contact-section {
    background: var(--dark-color);
}

.contact-info {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    position: relative;
}

[data-theme="dark"] .footer {
    background: var(--bg-color);
    color: var(--text-color);
    border-top: 1px solid var(--border-color);
}

/* Social Media Icons */
.social-media-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-icon {
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.social-icon:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Light mode social media colors */
.social-icon[data-brand="facebook"] {
    color: #3b5998;
}

.social-icon[data-brand="instagram"] {
    color: #e4405f;
}

.social-icon[data-brand="twitter"] {
    color: #000000;
}

.social-icon[data-brand="linkedin"] {
    color: #0077b5;
}

/* Dark mode social media colors */
[data-theme="dark"] .social-icon[data-brand="facebook"] {
    color: #4267b2;
}

[data-theme="dark"] .social-icon[data-brand="instagram"] {
    color: #fd5949;
}

[data-theme="dark"] .social-icon[data-brand="twitter"] {
    color: #ffffff;
}

[data-theme="dark"] .social-icon[data-brand="linkedin"] {
    color: #0a85d1;
}

.footer-brand {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-brand i {
    color: var(--primary-color);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

[data-theme="dark"] .footer-description {
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

[data-theme="dark"] .footer-link {
    color: var(--text-muted);
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

[data-theme="dark"] .footer-copyright {
    color: var(--text-muted);
}

.footer-version {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

[data-theme="dark"] .footer-version {
    color: var(--text-muted);
}

/* Testimonial Section */
.testimonial-section {
    background: var(--light-color);
    position: relative;
}

[data-theme="dark"] .testimonial-section {
    background: var(--dark-color);
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05), rgba(102, 16, 242, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonial-avatar {
    position: relative;
}

.testimonial-avatar img {
    border: 4px solid var(--primary-color);
    transition: all 0.4s ease;
    object-fit: cover;
}

.testimonial-card:hover .testimonial-avatar img {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(13, 110, 253, 0.3);
}

.testimonial-name {
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.testimonial-title {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.testimonial-quote {
    position: relative;
    margin: 0;
}

.testimonial-quote .bi-quote {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-color);
    font-size: 3rem;
    opacity: 0.3;
    z-index: 1;
}

.testimonial-quote p {
    position: relative;
    z-index: 2;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.7;
    font-style: italic;
    margin: 0;
    padding-top: 1rem;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    body {
        padding-top: 100px; /* Increased padding for mobile navbar */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-buttons .btn {
        margin-bottom: 0.5rem;
        margin-right: 0 !important;
        margin-left: 0 !important;
        width: 100% !important;
        flex: none !important;
    }
    
    .hero-buttons .btn.me-3 {
        margin-right: 0 !important;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .demo-container {
        margin-top: 2rem;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .early-access-card {
        padding: 2rem;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    /* Mobile testimonial styles */
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-avatar img {
        width: 100px;
        height: 100px;
    }
    
    .testimonial-name {
        font-size: 1.3rem;
    }
    
    .testimonial-quote p {
        font-size: 1rem;
    }
    
    .testimonial-quote .bi-quote {
        font-size: 2.5rem;
        top: -15px;
    }
    
    /* Mobile navigation spacing */
    .navbar-collapse.show .navbar-nav:last-child,
    .navbar-collapse.collapsing .navbar-nav:last-child {
        margin-top: 1rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .navbar-collapse.show .navbar-nav:last-child .nav-item,
    .navbar-collapse.show .navbar-nav:last-child #theme-toggle,
    .navbar-collapse.show .navbar-nav:last-child .btn,
    .navbar-collapse.collapsing .navbar-nav:last-child .nav-item,
    .navbar-collapse.collapsing .navbar-nav:last-child #theme-toggle,
    .navbar-collapse.collapsing .navbar-nav:last-child .btn {
        margin-bottom: 0.5rem !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        width: 100% !important;
    }
    
    .navbar-collapse.show .navbar-nav:last-child .btn.me-2,
    .navbar-collapse.collapsing .navbar-nav:last-child .btn.me-2 {
        margin-right: 0 !important;
    }

    /* Mobile responsive footer */
    .footer .d-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .social-media-icons {
        order: 1;
        margin-bottom: 1rem;
        margin-right: 0 !important;
    }
    
    .payment-operator {
        order: 2;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 120px; /* Extra padding for very small screens */
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .pricing-card,
    .feature-card {
        padding: 1.5rem;
    }
    
    .early-access-card {
        padding: 1.5rem;
    }
    
    /* Extra small screen testimonial styles */
    .testimonial-card {
        padding: 1.5rem 1rem;
    }
    
    .testimonial-avatar img {
        width: 80px;
        height: 80px;
    }
    
    .testimonial-name {
        font-size: 1.2rem;
    }
    
    .testimonial-quote p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .testimonial-quote .bi-quote {
        font-size: 2rem;
        top: -10px;
    }
}

/* Enhanced button styles */
.btn {
    position: relative;
    overflow: hidden;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    border: none;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #198754, #20c997);
    border: none;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(25, 135, 84, 0.4);
}

.btn-outline-primary {
    background: rgba(13, 110, 253, 0.1);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    backdrop-filter: blur(10px);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
}

/* Dark mode fixes for all outline-primary buttons */
[data-theme="dark"] .btn-outline-primary {
    background: rgba(13, 110, 253, 0.2);
    border: 2px solid #4d94ff;
    color: #4d94ff;
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .btn-outline-primary:hover {
    background: #4d94ff;
    color: #000;
    border-color: #4d94ff;
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* Focus States for Accessibility */
.btn:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Staggered animations */
.stagger-animation {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.stagger-animation.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-animation:nth-child(1) { transition-delay: 0.1s; }
.stagger-animation:nth-child(2) { transition-delay: 0.2s; }
.stagger-animation:nth-child(3) { transition-delay: 0.3s; }
.stagger-animation:nth-child(4) { transition-delay: 0.4s; }
.stagger-animation:nth-child(5) { transition-delay: 0.5s; }
.stagger-animation:nth-child(6) { transition-delay: 0.6s; }

/* Slide in animations */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale animations */
.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .hero-buttons,
    .early-access-section {
        display: none !important;
    }
    
    .hero-section,
    .features-section,
    .how-it-works-section,
    .pricing-section,
    .contact-section {
        page-break-inside: avoid;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* Cookie Consent Styles */
.pm__badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.375rem;
    background-color: var(--success-color);
    color: white;
    margin-left: 0.5rem;
}

/* Cookie Consent Modal Theme Integration */
#cc-main .cc__link {
    color: var(--primary-color);
    text-decoration: none;
}

#cc-main .cc__link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Dark theme support for cookie consent */
[data-theme="dark"] #cc-main {
    --cc-btn-primary-bg: var(--primary-color);
    --cc-btn-primary-color: white;
    --cc-btn-primary-border-color: var(--primary-color);
    --cc-btn-secondary-bg: var(--card-bg);
    --cc-btn-secondary-color: var(--text-color);
    --cc-btn-secondary-border-color: var(--border-color);
    --cc-modal-bg: var(--card-bg);
    --cc-modal-color: var(--text-color);
    --cc-btn-secondary-hover-bg: var(--border-color);
}

[data-theme="dark"] #cc-main .cc__link {
    color: var(--primary-color) !important;
}

[data-theme="dark"] #cc-main .cc__link:hover {
    color: var(--primary-color) !important;
    text-decoration: underline;
}

[data-theme="dark"] #cc-main .pm__badge {
    background-color: var(--success-color);
    color: white;
}

/* Fix cookie consent modal text visibility */
[data-theme="dark"] #cc-main .cc-modal {
    background-color: var(--card-bg) !important;
    color: var(--text-color) !important;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] #cc-main .cc-modal .cc-title {
    color: var(--text-color) !important;
}

[data-theme="dark"] #cc-main .cc-modal .cc-text {
    color: var(--text-muted) !important;
}

[data-theme="dark"] #cc-main .cc-btn {
    border-radius: 0.375rem;
}

[data-theme="dark"] #cc-main .cc-btn.cc-btn--primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

[data-theme="dark"] #cc-main .cc-btn.cc-btn--secondary {
    background-color: transparent !important;
    border-color: var(--border-color) !important;
    color: var(--text-color) !important;
}

[data-theme="dark"] #cc-main .cc-btn.cc-btn--secondary:hover {
    background-color: var(--border-color) !important;
    color: var(--text-color) !important;
}

/* Fix preferences modal */
[data-theme="dark"] #cc-main .cc-modal--preferences {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] #cc-main .cc-modal--preferences .cc-section {
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] #cc-main .cc-modal--preferences .cc-section:last-child {
    border-bottom: none;
}

[data-theme="dark"] #cc-main .cc-modal--preferences .cc-section-title {
    color: var(--text-color) !important;
}

[data-theme="dark"] #cc-main .cc-modal--preferences .cc-section-desc {
    color: var(--text-muted) !important;
}

/* Fix toggle switches */
[data-theme="dark"] #cc-main .cc-toggle {
    background-color: var(--border-color) !important;
}

[data-theme="dark"] #cc-main .cc-toggle.cc-toggle--on {
    background-color: var(--primary-color) !important;
}

[data-theme="dark"] #cc-main .cc-toggle-handle {
    background-color: white !important;
}

/* Fix dark mode form elements */
[data-theme="dark"] .form-control {
    background-color: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark"] .form-control:focus {
    background-color: var(--card-bg);
    border-color: var(--primary-color);
    color: var(--text-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

[data-theme="dark"] .form-control::placeholder {
    color: var(--text-muted);
}

[data-theme="dark"] .form-check-input {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

[data-theme="dark"] .form-check-label {
    color: var(--text-color);
}

/* Fix dark mode dropdown */
[data-theme="dark"] .dropdown-menu {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .dropdown-item {
    color: var(--text-color);
}

[data-theme="dark"] .dropdown-item:hover,
[data-theme="dark"] .dropdown-item:focus {
    background-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark"] .dropdown-item.active {
    background-color: var(--primary-color);
    color: white;
}

/* iPhone 15 and similar devices */
@media (max-width: 430px) {
    .hero-buttons {
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    .navbar-collapse.show .navbar-nav:last-child {
        padding: 1rem 0;
    }
    
    .navbar-collapse.show .navbar-nav:last-child .btn,
    .navbar-collapse.show .navbar-nav:last-child #theme-toggle {
        padding: 0.75rem 1rem;
        margin-bottom: 0.75rem !important;
        text-align: center;
        display: block !important;
        width: 100% !important;
    }
}

/* Navbar toggler styling - let Bootstrap handle the icon colors */
.navbar-toggler {
    border-color: rgba(0,0,0,.1);
}

[data-theme="dark"] .navbar-toggler {
    border-color: rgba(255,255,255,.1);
}

/* Fix dark mode buttons */
[data-theme="dark"] .btn-outline-light {
    color: var(--text-color);
    border-color: var(--border-color);
}

[data-theme="dark"] .btn-outline-light:hover {
    color: var(--bg-color);
    background-color: var(--text-color);
    border-color: var(--text-color);
}

/* Fix dark mode demo container */
[data-theme="dark"] .demo-container {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .demo-notes {
    background-color: var(--bg-color);
    border-color: var(--border-color);
}

[data-theme="dark"] .demo-artifact {
    background-color: var(--card-bg);
    border-color: var(--success-color);
}

/* Fix dark mode toast */
[data-theme="dark"] .toast {
    background-color: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark"] .toast-header {
    background-color: var(--bg-color);
    border-bottom-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark"] .toast-body {
    color: var(--text-color);
}

/* Demo Tabs Styles */
.demo-tabs {
    display: flex;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.demo-tab {
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.demo-tab:hover {
    color: var(--primary-color);
}

/* Demo content for interactive section */
.demo-interactive .demo-content {
    display: none;
}

.demo-interactive .demo-content.active {
    display: block;
}

/* Hero demo content should always be visible */
.hero-demo .demo-content {
    display: block;
}

/* Retro Board Styles */
.retro-board {
    display: flex;
    gap: 1rem;
}

.retro-column {
    flex: 1;
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .retro-column {
    background: var(--card-bg);
}

.retro-column h6 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.retro-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-color);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Jira Task Styles */
.jira-task {
    padding: 1rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .jira-task {
    background: var(--card-bg);
}

.jira-task h6 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.task-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    padding: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-color);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.task-card strong {
    color: var(--primary-color);
}