/* ===================================
   MemoryForge Website Styles
   Professional, Modern, SEO-Optimized
   DESIGN FACELIFT 2.0
   =================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Premium & Natural */
    --primary-color: #0066cc;
    --primary-dark: #004a99;
    --secondary-color: #1e7a8c;
    --accent-color: #00a0b0;
    --text-primary: #1a1a1a;
    --text-secondary: #4a5568;
    --background-light: #f8fafb;
    --background-white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #0d9488;
    --gradient-1: linear-gradient(135deg, #0066cc 0%, #1e7a8c 100%);
    --gradient-2: linear-gradient(135deg, #00a0b0 0%, #0066cc 100%);
    --gradient-3: linear-gradient(180deg, rgba(0,102,204,0.95) 0%, rgba(30,122,140,0.95) 100%);

    /* Premium Colors */
    --water-blue: #0077be;
    --deep-ocean: #003d5c;
    --sunrise-gold: #f4a460;
    --mist-gray: #b0c4de;
    --forest-green: #2d5f3f;

    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    --font-heading: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing - More Generous */
    --spacing-xs: 0.75rem;
    --spacing-sm: 1.5rem;
    --spacing-md: 3rem;
    --spacing-lg: 6rem;
    --spacing-xl: 9rem;
    --spacing-xxl: 12rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

section {
    padding: var(--spacing-xl) 0;
    scroll-margin-top: 80px; /* Account for fixed header */
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography - Premium Scale */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

h1 { font-size: 4.5rem; font-weight: 800; }
h2 { font-size: 3.5rem; font-weight: 700; }
h3 { font-size: 2.5rem; font-weight: 700; }
h4 { font-size: 1.875rem; font-weight: 600; }
h5 { font-size: 1.5rem; font-weight: 600; }
h6 { font-size: 1.25rem; font-weight: 600; }

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* ===================================
   ENHANCED FOCUS STATES - ACCESSIBILITY
   =================================== */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

button:focus-visible, a:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.3);
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
header {
    background-color: var(--background-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
    transition: transform 0.3s ease;
}

.logo h1:hover {
    transform: scale(1.05);
}

.logo a {
    color: var(--primary-color);
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

/* Enhanced Navigation with Underline Animation */
.nav-menu a {
    color: var(--text-primary);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
}

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

.nav-menu a:hover {
    background-color: var(--background-light);
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    width: 70%;
}

/* Contact Form Styling */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.contact-form-wrapper {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.contact-form .form-group {
    margin-bottom: var(--spacing-sm);
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--background-light);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

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

.contact-form button[type="submit"] {
    width: 100%;
    margin-top: var(--spacing-sm);
}

.contact-info {
    background: var(--background-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
}

.contact-info h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.contact-info h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-item {
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-item p {
    margin: 0;
    color: var(--text-secondary);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Download Cards */
.free-downloads {
    margin: var(--spacing-lg) 0;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.download-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    text-align: center;
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.download-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f8fafb 0%, #e6f2ff 100%);
}

.download-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.download-card h3 {
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
}

.download-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.download-features {
    list-style: none;
    text-align: left;
    margin: var(--spacing-sm) 0;
    padding: 0;
}

.download-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.download-features li:last-child {
    border-bottom: none;
}

.download-card .btn {
    margin-top: var(--spacing-sm);
    width: 100%;
}

.download-note {
    margin-top: var(--spacing-xs);
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 500;
    font-style: italic;
}

/* App Screenshot Gallery */
.phone-mockup-img {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    margin: 0 auto;
    display: block;
}

.app-screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
    justify-items: center;
}

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

.screenshot-item img {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.screenshot-item img:hover {
    transform: translateY(-8px);
}

.screenshot-caption {
    margin-top: var(--spacing-sm);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Waitlist Social Proof Stats */
.waitlist-stats {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin: var(--spacing-md) 0;
    padding: var(--spacing-sm) 0;
}

.waitlist-stats .stat {
    text-align: center;
}

.waitlist-stats .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.waitlist-stats .stat-label {
    display: block;
    font-size: 0.875rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.375rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle span {
    width: 1.5rem;
    height: 0.125rem;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.5rem, 0.5rem);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.5rem, -0.5rem);
}

/* ===================================
   HERO SECTION WITH PARALLAX
   =================================== */
.hero {
    background: linear-gradient(135deg, #0066cc 0%, #1e7a8c 50%, #00a0b0 100%);
    color: white;
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
    animation: parallaxFloat 20s ease-in-out infinite;
}

@keyframes parallaxFloat {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-10px) translateX(10px); }
    50% { transform: translateY(-20px) translateX(-10px); }
    75% { transform: translateY(-10px) translateX(10px); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
    font-weight: 600;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 800;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-social-proof {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
}

.proof-number {
    font-size: 2rem;
    font-weight: 700;
}

.proof-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   ENHANCED BUTTONS WITH SHIMMER
   =================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.5);
    background: linear-gradient(135deg, #0077dd 0%, #2080a0 100%);
}

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

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
    min-width: 200px;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    font-weight: 500;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

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

.cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* ===================================
   ICON SYSTEM ENHANCEMENTS
   =================================== */
[data-lucide] {
    display: inline-block;
    vertical-align: middle;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    vertical-align: middle;
    stroke-width: 1.5;
}

.icon:hover {
    color: var(--primary-dark);
    transform: translateY(-2px) scale(1.05);
}

.icon-lg {
    width: 5rem;
    height: 5rem;
}

.icon-md {
    width: 3rem;
    height: 3rem;
}

.icon-sm {
    width: 1.5rem;
    height: 1.5rem;
}

.icon-xs {
    width: 1rem;
    height: 1rem;
}

/* Icon color variants */
.icon-primary { color: var(--primary-color); }
.icon-secondary { color: var(--secondary-color); }
.icon-accent { color: var(--accent-color); }
.icon-success { color: var(--success-color); }
.icon-white { color: white; }

/* Icon animations */
@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.icon-float {
    animation: iconFloat 3s ease-in-out infinite;
}

.icon-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* App icon specific styling */
.app-icon,
.problem-icon,
.mission-icon,
.value-icon,
.feature-icon-small,
.gallery-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-icon i,
.problem-icon i,
.mission-icon i,
.value-icon i,
.feature-icon-small i,
.gallery-icon i {
    width: inherit;
    height: inherit;
    stroke-width: 1.5;
}

/* ===================================
   SECTION STYLES
   =================================== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   APPS SECTION
   =================================== */
.apps-section {
    background-color: var(--background-light);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

/* Enhanced App Cards with Border */
.app-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid var(--border-color);
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.app-card:hover .app-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-dark);
}

.app-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.app-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.status-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--gradient-2);
    color: white;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.status-badge:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.app-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: var(--spacing-sm);
    transition: color 0.3s ease, transform 0.3s ease;
}

.app-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* ===================================
   CONSULTING SECTION
   =================================== */
.consulting-section {
    background-color: white;
}

.consulting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

/* Enhanced Consulting Cards */
.consulting-card {
    padding: var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    text-align: center;
    background: white;
}

.consulting-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.consulting-card .icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.consulting-card:hover .icon {
    transform: scale(1.15) rotate(5deg);
    color: var(--primary-dark);
}

.consulting-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.consulting-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Enhanced CTA with Shimmer Effect */
.consulting-cta {
    background: linear-gradient(135deg, #0066cc 0%, #1e7a8c 50%, #00a0b0 100%);
    color: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    margin-top: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.consulting-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmerRotate 15s linear infinite;
}

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

.consulting-cta-content {
    position: relative;
    z-index: 1;
}

.consulting-cta h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.consulting-cta p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.consulting-outcomes {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

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

.outcome-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.outcome-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Feature Cards Enhancement */
.feature-card, .mission-card {
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
}

.feature-card:hover, .mission-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-card:hover .icon,
.mission-card:hover .icon {
    transform: scale(1.1) rotate(5deg);
}

/* Feature Comparison Table */
.feature-comparison {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 2px solid var(--border-color);
}

.feature-comparison h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    font-size: 1.75rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--spacing-md);
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comparison-table thead {
    background: var(--primary-color);
    color: white;
}

.comparison-table th {
    padding: var(--spacing-md);
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tbody tr:hover {
    background: var(--background-light);
}

.comparison-table td {
    padding: var(--spacing-sm) var(--spacing-md);
    text-align: center;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-primary);
}

.check-icon {
    color: #28a745;
    width: 24px;
    height: 24px;
}

.x-icon {
    color: #dc3545;
    width: 24px;
    height: 24px;
}

.comparison-note {
    text-align: center;
    padding: var(--spacing-md);
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1.05rem;
    border-left: 4px solid #ffc107;
}

.comparison-note strong {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .check-icon,
    .x-icon {
        width: 18px;
        height: 18px;
    }
}

/* ===================================
   TRUST SIGNALS SECTION
   =================================== */
.trust-section {
    background: white;
    padding: var(--spacing-xl) 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.trust-card {
    text-align: center;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    background: var(--background-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.trust-icon {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.trust-icon .icon-lg {
    width: 48px;
    height: 48px;
}

.trust-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.trust-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.technology-partners {
    text-align: center;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, #f8fafb 0%, #e6f2ff 100%);
    border-radius: var(--radius-xl);
}

.technology-partners h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    font-size: 1.5rem;
}

.partner-logos {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.partner-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    min-width: 120px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.partner-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.partner-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .partner-logos {
        gap: var(--spacing-md);
    }

    .partner-badge {
        min-width: 100px;
        padding: var(--spacing-sm);
    }
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials-section {
    background: var(--background-light);
    padding: var(--spacing-xl) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.testimonial-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.testimonial-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: var(--spacing-md);
}

.star-icon {
    width: 20px;
    height: 20px;
    color: #fbbf24;
    fill: #fbbf24;
}

.testimonial-card blockquote {
    margin: 0 0 var(--spacing-md) 0;
    padding: 0;
    border: none;
}

.testimonial-card blockquote p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: var(--spacing-md);
    border-top: 2px solid var(--border-color);
}

.author-info strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-info span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.testimonial-result {
    text-align: right;
}

.result-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.result-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.testimonials-cta {
    text-align: center;
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.testimonials-cta p {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-section {
    background-color: var(--background-light);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    color: var(--primary-color);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: var(--spacing-md);
}

.feature-list {
    list-style: none;
    margin-top: var(--spacing-sm);
}

.feature-list li {
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.feature-list strong {
    color: var(--text-primary);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-section {
    background-color: white;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-benefits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.benefit-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: linear-gradient(135deg, #e6f2ff 0%, #f0f8ff 100%);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.benefit-badge .icon-sm {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.benefit-badge span {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

/* Enhanced Contact Items */
.contact-item {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--background-light);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background-color: white;
    border-color: var(--primary-color);
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.contact-item p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-item a {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===================================
   FOOTER
   =================================== */
footer {
    background-color: var(--text-primary);
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-section h4 {
    color: white;
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

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

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
}

/* ===================================
   LEGAL/PRIVACY PAGE STYLES
   =================================== */
.legal-page {
    padding: var(--spacing-lg) 0;
    background-color: var(--background-light);
    min-height: 80vh;
}

.legal-page h1 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.last-updated {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: var(--spacing-lg);
}

.legal-content {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-md);
}

.legal-content section {
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-color);
}

.legal-content section:last-child {
    border-bottom: none;
}

.legal-content h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
}

.legal-content h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.legal-content ul, .legal-content ol {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

.legal-content li {
    margin-bottom: var(--spacing-xs);
    line-height: 1.7;
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.legal-content .contact-info {
    background: var(--background-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin: var(--spacing-md) 0;
}

.legal-content .contact-info p {
    margin-bottom: var(--spacing-xs);
}

.policy-footer {
    text-align: center;
    margin-top: var(--spacing-md);
}

.back-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.back-link:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(-5px);
}

/* ===================================
   LOADING STATES & SKELETON SCREENS
   =================================== */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
    border-radius: var(--radius-md);
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 2rem;
    width: 60%;
    margin-bottom: 1rem;
}

.skeleton-card {
    height: 300px;
    border-radius: var(--radius-lg);
}

/* ===================================
   FORM INPUT ENHANCEMENTS
   =================================== */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    transform: translateY(-1px);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

/* ===================================
   BREADCRUMB NAVIGATION
   =================================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: var(--spacing-sm) 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb-separator {
    color: var(--text-secondary);
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 500;
}

/* ===================================
   MICRO-INTERACTIONS
   =================================== */
.interactive {
    transition: all 0.2s ease;
}

.interactive:active {
    transform: scale(0.98);
}

/* ===================================
   UTILITY CLASSES
   =================================== */

/* Gradient Text Effect */
.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Progress Indicator */
.progress-bar {
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    background: var(--text-primary);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tooltip:hover::after {
    opacity: 1;
}

/* Badge Component */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
}

.badge-primary {
    background: var(--primary-color);
    color: white;
}

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

.badge-secondary {
    background: var(--secondary-color);
    color: white;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Mobile Menu */
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--background-white);
        flex-direction: column;
        gap: 0;
        padding: 5rem 2rem 2rem;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu a {
        display: block;
        padding: 1rem 0;
        width: 100%;
    }

    .nav-menu a::after {
        display: none;
    }

    /* Contact Form Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .contact-form-wrapper,
    .contact-info {
        padding: var(--spacing-sm);
    }

    .apps-grid, .consulting-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .hero h2 {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }
}

/* ===================================
   DARK MODE SUPPORT
   =================================== */
@media (prefers-color-scheme: dark) {
    :root {
        --background-light: #1a1a1a;
        --background-white: #2d2d2d;
        --text-primary: #f8fafb;
        --text-secondary: #b0c4de;
        --border-color: #404040;
    }

    .skeleton {
        background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
        background-size: 1000px 100%;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        background: var(--background-white);
        color: var(--text-primary);
    }
}

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

    html {
        scroll-behavior: auto;
    }

    .hero::before {
        animation: none;
    }

    .consulting-cta::before {
        animation: none;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
    header, footer, .cta-buttons {
        display: none;
    }

    body {
        color: black;
        background: white;
    }

    a {
        text-decoration: underline;
    }
}
