/**
 * NetOS Modern Components
 * All reusable component styles extracted from pages
 */

/* ========================================
   NAVIGATION
   ======================================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--nav-border);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.8;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--btn-primary-bg);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--btn-primary-text);
    font-size: 0.95rem;
}

.nav-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.nav-link {
    color: var(--nav-link-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--nav-link-hover);
    background: var(--nav-link-bg-hover);
}

.mobile-controls {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem;
    box-shadow: var(--shadow-md);
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease;
}

.mobile-menu a {
    display: block;
    padding: 1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px;
    transition: background 0.2s;
}

.mobile-menu a:hover {
    background: var(--nav-link-bg-hover);
}

.mobile-menu-theme {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--nav-border);
}

.mobile-menu-action-btn {
    display: block;
    margin: 1rem 1.5rem 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--btn-primary-bg) !important;
    color: var(--btn-primary-text) !important;
    text-align: center;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
    border: none;
}

.mobile-menu-action-btn:hover {
    background: var(--btn-primary-hover) !important;
    color: var(--btn-primary-text) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: var(--btn-secondary-bg);
    color: var(--btn-secondary-text);
    border: 2px solid var(--btn-secondary-border);
}

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

.btn-white {
    background: #ffffff;
    color: #000000;
}

.btn-white:hover {
    background: #f0f0f0;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding: 8rem 1.5rem 3rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: visible;
}

/* Animated smoke/mesh background */
.hero::before {
    content: '';
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120vw;
    height: 120vh;
    background:
        radial-gradient(circle at 20% 30%, var(--hero-smoke-1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, var(--hero-smoke-2) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, var(--hero-smoke-3) 0%, transparent 50%),
        radial-gradient(circle at 90% 20%, var(--hero-smoke-4) 0%, transparent 40%);
    animation: smokeFloat 25s ease-in-out infinite;
    z-index: -2;
    pointer-events: none;
    filter: blur(40px);
}

/* Mesh grid overlay */
.hero::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        linear-gradient(var(--hero-mesh-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--hero-mesh-color) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: meshPulse 15s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
}

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

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);

    /* Glassmorphism with soft faded edges */
    position: relative;
    padding: 2rem 2.5rem;
    display: inline-block;
}

/* Typing cursor effect */
.hero h1::after {
    content: '|';
    position: relative;
    margin-left: 0.25rem;
    animation: blink 0.7s infinite;
    font-weight: 300;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero h1::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    z-index: -1;

    /* Soft fade-out edges using mask */
    mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 60%, transparent 100%);
}

/* Dark theme glass effect */
[data-theme="dark"] .hero h1::before {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero .tagline {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.hero .subtitle {
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    color: var(--text-tertiary);
    margin-bottom: 2rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.trust-indicators {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.trust-indicators span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-indicators i {
    color: var(--accent-green);
}

/* ========================================
   CARDS
   ======================================== */
.spec-card, .use-case-card, .tech-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--card-shadow);
}

.spec-card:hover, .use-case-card:hover, .tech-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px var(--card-shadow-hover);
    border-color: var(--border-hover);
}

/* ========================================
   FORMS & INPUTS
   ======================================== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select,
textarea {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--input-border);
    border-radius: 0.5rem;
    font-size: 1rem;
    color: var(--input-text);
    background: var(--input-bg);
    transition: all 0.2s ease;
}

input::placeholder,
textarea::placeholder {
    color: var(--input-placeholder);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--input-focus-border);
    box-shadow: 0 0 0 3px var(--input-focus-shadow);
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    }
}

/* ========================================
   THEME TOGGLE BUTTON
   ======================================== */
.theme-toggle {
    background: var(--btn-secondary-bg);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.theme-toggle:hover {
    border-color: var(--border-hover);
    transform: rotate(15deg);
}

/* ========================================
   STICKY NAVIGATION (Technical/Use Cases pages)
   ======================================== */
.sticky-nav {
    position: sticky;
    top: 70px;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    margin-bottom: 2rem;
}

.sticky-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.sticky-nav-inner::-webkit-scrollbar {
    display: none;
}

.sticky-nav-link {
    padding: 1rem 1.5rem;
    color: var(--nav-link-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.sticky-nav-link:hover {
    color: var(--nav-link-hover);
    border-bottom-color: var(--accent-green);
}

.sticky-nav-link.active {
    color: var(--nav-link-hover);
    border-bottom-color: var(--text-primary);
}

/* ========================================
   SOCIAL PROOF SECTION
   ======================================== */
.social-proof {
    padding: 2rem 1.5rem;
    text-align: center;
    background: var(--bg-secondary);
}

.proof-numbers {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 1rem;
}

.proof-number {
    text-align: center;
}

.proof-number-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.proof-number-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

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

/* ========================================
   PROBLEM SECTION
   ======================================== */
.problem-section {
    padding: 5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.comparison-card {
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid var(--border-color);
    background: var(--bg-primary);
}

.comparison-card.before {
    border-color: #ef4444;
}

.comparison-card.after {
    border-color: var(--accent-green);
    background: var(--accent-green-light);
}

.comparison-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.comparison-card ol {
    list-style-position: inside;
    margin: 1.5rem 0;
    color: var(--text-secondary);
}

.comparison-card li {
    margin: 0.75rem 0;
    line-height: 1.6;
}

.time-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    font-weight: 600;
    margin-top: 1rem;
    color: var(--text-primary);
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-it-works {
    padding: 5rem 1.5rem;
    background: var(--bg-secondary);
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
}

.automation-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    padding: 5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2rem;
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    background: var(--bg-primary);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--accent-green);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

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

.feature-card h3 i {
    color: var(--accent-green);
    margin-right: 0.5rem;
}

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

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing {
    padding: 5rem 1.5rem;
    background: var(--bg-secondary);
}

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

.pricing-card {
    padding: 2.5rem 2rem;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    text-align: center;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1rem 0;
}

.price-note {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li i {
    color: #10b981;
    font-size: 1rem;
    flex-shrink: 0;
}

[data-theme="dark"] .pricing-features li i {
    color: #34d399;
}

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

.pricing-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========================================
   TECHNICAL SPECS SECTION
   ======================================== */
.technical-specs {
    padding: 5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.specs-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.spec-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

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

.spec-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 1.5rem;
}

/* Theme-aware spec icon backgrounds - override inline styles */
.specs-grid-enhanced .spec-card:nth-child(1) .spec-icon {
    background: linear-gradient(135deg, #000 0%, #333 100%) !important;
}

.specs-grid-enhanced .spec-card:nth-child(2) .spec-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.specs-grid-enhanced .spec-card:nth-child(3) .spec-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
}

.specs-grid-enhanced .spec-card:nth-child(4) .spec-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
}

.specs-grid-enhanced .spec-card:nth-child(5) .spec-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}

/* Dark theme adjustments for spec icons */
[data-theme="dark"] .specs-grid-enhanced .spec-card:nth-child(1) .spec-icon {
    background: linear-gradient(135deg, #333 0%, #555 100%) !important;
}

[data-theme="dark"] .specs-grid-enhanced .spec-card:nth-child(2) .spec-icon {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
}

[data-theme="dark"] .specs-grid-enhanced .spec-card:nth-child(3) .spec-icon {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
}

[data-theme="dark"] .specs-grid-enhanced .spec-card:nth-child(4) .spec-icon {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
}

[data-theme="dark"] .specs-grid-enhanced .spec-card:nth-child(5) .spec-icon {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
}

.spec-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.spec-list {
    list-style: none;
}

.spec-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0.75rem 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.spec-list i {
    color: var(--accent-green);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* ========================================
   USE CASES SECTION
   ======================================== */
.use-cases {
    padding: 3rem 1.5rem;
    background: var(--bg-secondary);
    text-align: center;
}

.use-cases h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.use-case-item {
    padding: 1.5rem;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.use-case-item:hover {
    border-color: var(--accent-green);
    transform: translateY(-4px);
}

.use-case-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.use-case-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.use-case-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */
.final-cta {
    padding: 5rem 1.5rem;
    text-align: center;
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
}

.final-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: var(--bg-secondary);
    padding: 3rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

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

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section p,
.footer-section li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

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

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ========================================
   MODAL
   ======================================== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 1rem;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.2s;
}

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

.modal-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--btn-primary-bg);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* ========================================
   AUTH PAGES
   ======================================== */
.auth-container {
    min-height: 100vh;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    padding-top: 6rem;
    padding-bottom: 3rem;
}

.auth-card {
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
}

.auth-card-inner {
    background: var(--bg-primary);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    padding: 3rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    background: var(--btn-primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.auth-logo-icon i {
    color: var(--btn-primary-text);
    font-size: 1.5rem;
}

.auth-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-secondary);
}

.auth-google-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-primary);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.auth-google-btn:hover {
    border-color: var(--border-hover);
}

.auth-divider {
    position: relative;
    margin-bottom: 1.5rem;
}

.auth-divider::before {
    content: '';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

.auth-divider::after {
    content: '';
    width: 100%;
    border-top: 1px solid var(--border-color);
    position: absolute;
    top: 50%;
}

.auth-divider-text {
    position: relative;
    display: flex;
    justify-content: center;
    font-size: 0.875rem;
}

.auth-divider-text span {
    padding: 0 0.5rem;
    background: var(--bg-primary);
    color: var(--text-secondary);
    z-index: 1;
}

.auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.auth-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.auth-input {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all 0.2s ease;
}

.auth-input:focus {
    outline: none;
    border-color: var(--btn-primary-bg);
    box-shadow: 0 0 0 3px var(--accent-green-light);
}

.auth-input::placeholder {
    color: var(--text-tertiary);
}

.auth-select {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-primary);
}

.auth-phone-group {
    display: flex;
    gap: 0.5rem;
}

.auth-hint {
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.auth-error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.auth-checkbox-group {
    display: flex;
    align-items: flex-start;
}

.auth-checkbox {
    width: 1rem;
    height: 1rem;
    border-color: var(--border-color);
    border-radius: 0.25rem;
    margin-top: 0.25rem;
}

.auth-checkbox-label {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.auth-checkbox-label a {
    color: var(--btn-primary-bg);
    text-decoration: none;
    font-weight: 500;
}

.auth-checkbox-label a:hover {
    text-decoration: underline;
}

.auth-submit-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--btn-primary-text);
    background: var(--btn-primary-bg);
    cursor: pointer;
    transition: all 0.2s;
}

.auth-submit-btn:hover {
    background: var(--btn-primary-hover);
}

.auth-footer-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.auth-footer-text a {
    font-weight: 500;
    color: var(--btn-primary-bg);
    text-decoration: none;
}

.auth-footer-text a:hover {
    text-decoration: underline;
}

/* Login page specific styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    padding-top: 6rem;
    padding-bottom: 3rem;
}

.login-wrapper {
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
}

.login-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

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

.login-branding {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.login-logo {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.login-logo i {
    color: var(--text-primary);
    font-size: 1.875rem;
}

.login-branding h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.login-branding-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 28rem;
    line-height: 1.75;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.login-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 20rem;
    margin: 0 auto;
}

.login-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
}

.login-feature-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

[data-theme="dark"] .login-feature-icon {
    background: rgba(0, 0, 0, 0.2);
}

.login-feature-icon i {
    font-size: 0.875rem;
}

.login-form-panel {
    background: var(--bg-primary);
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form-inner {
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: var(--text-secondary);
}

.login-form-fields {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.login-input-wrapper {
    position: relative;
}

.login-input-icon {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    padding-left: 0.75rem;
    display: flex;
    align-items: center;
    pointer-events: none;
    color: var(--text-tertiary);
    z-index: 1;
}

.login-input {
    display: block;
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all 0.2s ease;
    position: relative;
    z-index: 2;
}

.login-input:focus {
    outline: none;
    border-color: var(--btn-primary-bg);
    box-shadow: 0 0 0 3px var(--accent-green-light);
}

.login-input::placeholder {
    color: var(--text-tertiary);
}

.login-remember-forgot {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.login-remember {
    display: flex;
    align-items: center;
}

.login-remember input {
    width: 1rem;
    height: 1rem;
    border-color: var(--border-color);
    border-radius: 0.25rem;
}

.login-remember label {
    margin-left: 0.5rem;
    display: block;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.login-forgot {
    font-size: 0.875rem;
}

.login-forgot a {
    font-weight: 500;
    color: var(--btn-primary-bg);
    text-decoration: none;
}

.login-forgot a:hover {
    text-decoration: underline;
}

.login-submit {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--btn-primary-text);
    background: var(--btn-primary-bg);
    cursor: pointer;
    transition: all 0.2s;
}

.login-submit:hover {
    background: var(--btn-primary-hover);
}

.login-register-link {
    text-align: center;
    padding-top: 0.5rem;
}

.login-register-link p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.login-register-link a {
    font-weight: 500;
    color: var(--btn-primary-bg);
    text-decoration: none;
}

.login-register-link a:hover {
    text-decoration: underline;
}

.login-back-link {
    margin-top: 2rem;
    text-align: center;
}

.login-back-link a {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
}

.login-back-link a:hover {
    color: var(--text-primary);
}

.login-back-link i {
    margin-right: 0.5rem;
}

/* ========================================
   PASSWORD EXPIRED PAGE
   ======================================== */
.expired-container {
    min-height: 100vh;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 1rem 2rem;
}

.expired-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.expired-grid {
    display: grid;
    grid-template-columns: 1fr;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-radius: 1rem;
    overflow: hidden;
}

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

.expired-branding {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.expired-title-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.expired-logo {
    width: 60px;
    height: 60px;
    border-radius: 0.75rem;
    background: var(--btn-primary-text);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.2;
    flex-shrink: 0;
}

.expired-logo i {
    font-size: 1.75rem;
    color: var(--btn-primary-bg);
}

.expired-branding h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--btn-primary-text);
    margin: 0;
    line-height: 1.2;
}

.expired-branding-subtitle {
    font-size: 1.125rem;
    color: var(--btn-primary-text);
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 28rem;
    line-height: 1.75;
}

.expired-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 24rem;
}

.expired-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
    color: var(--btn-primary-text);
    opacity: 0.8;
}

.expired-feature-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--btn-primary-text);
    opacity: 0.2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.expired-feature-icon i {
    font-size: 0.875rem;
    color: var(--btn-primary-bg);
}

.feature-title {
    font-weight: 500;
    color: var(--btn-primary-text);
    margin-bottom: 0.25rem;
}

.feature-desc {
    font-size: 0.875rem;
    color: var(--btn-primary-text);
    opacity: 0.6;
}

.expired-form-panel {
    background: var(--bg-primary);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.expired-form-inner {
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
}

.expired-header {
    text-align: center;
    margin-bottom: 2rem;
}

.expired-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.expired-subtitle {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.expired-form-fields {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.expired-input-wrapper {
    position: relative;
}

.expired-input-icon {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    padding-left: 0.75rem;
    display: flex;
    align-items: center;
    pointer-events: none;
    color: var(--text-tertiary);
    z-index: 1;
}

.password-toggle {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    padding-right: 0.75rem;
    display: flex;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    z-index: 3;
}

.password-toggle:hover {
    color: var(--text-secondary);
}

.expired-input {
    display: block;
    width: 100%;
    padding: 0.75rem 2.5rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all 0.2s ease;
    position: relative;
    z-index: 2;
}

.expired-input:focus {
    outline: none;
    border-color: var(--btn-primary-bg);
    box-shadow: 0 0 0 3px var(--accent-green-light);
}

.expired-input::placeholder {
    color: var(--text-tertiary);
}

.password-strength {
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.password-strength-bar {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 2px;
    width: 0;
}

.strength-weak {
    background: #ef4444;
    width: 25%;
}

.strength-fair {
    background: #f59e0b;
    width: 50%;
}

.strength-good {
    background: #3b82f6;
    width: 75%;
}

.strength-strong {
    background: #10b981;
    width: 100%;
}

.strength-text,
.match-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.expired-submit {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--btn-primary-text);
    background: var(--btn-primary-bg);
    cursor: pointer;
    transition: all 0.3s;
}

.expired-submit:hover:not(:disabled) {
    background: var(--btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.expired-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.security-notice {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.security-notice i {
    color: #10b981;
    margin-top: 0.125rem;
}

[data-theme="dark"] .security-notice i {
    color: #34d399;
}

.security-notice p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.expired-back-link {
    margin-top: 1.5rem;
    text-align: center;
}

.expired-back-link a {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
}

.expired-back-link a:hover {
    color: var(--text-primary);
}

.expired-back-link i {
    margin-right: 0.5rem;
}

/* ========================================
   TECHNICAL & USE CASE PAGES
   ======================================== */
.hero-section {
    padding: 8rem 1.5rem 3rem;
    text-align: center;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.technical-container,
.use-cases-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 5rem;
}

.tech-section,
.use-case-card {
    padding: 4rem 2rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.tech-section:last-child,
.use-case-card:last-child {
    border-bottom: none;
}

.tech-section h2,
.use-case-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tech-section h2 i {
    color: var(--accent-green);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tech-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

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

.tech-card h3,
.tech-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-card h3 i,
.tech-card h4 i {
    color: var(--accent-green);
}

.tech-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tech-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0.75rem 0;
    line-height: 1.6;
}

.tech-list i {
    color: var(--accent-green);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

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

.tech-list span {
    color: var(--text-secondary);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg-primary);
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.comparison-table thead {
    background: var(--bg-secondary);
}

.comparison-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td strong {
    color: var(--text-primary);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge-info {
    background: #dbeafe;
    color: #1e40af;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

/* Dark theme badges */
[data-theme="dark"] .badge-success {
    background: #064e3b;
    color: #6ee7b7;
}

[data-theme="dark"] .badge-info {
    background: #1e3a8a;
    color: #93c5fd;
}

[data-theme="dark"] .badge-warning {
    background: #78350f;
    color: #fcd34d;
}

.integration-card,
.code-block {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 2rem 0;
}

.integration-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.code-block {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.cta-section {
    padding: 5rem 1.5rem;
    text-align: center;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.use-case-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.use-case-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 1.5rem;
}

.use-case-icon i {
    color: #ffffff;
    font-size: 2rem;
}

/* Theme-aware icon backgrounds - override inline styles */
.use-case-card:nth-child(1) .use-case-icon {
    background: linear-gradient(135deg, #000 0%, #333 100%) !important;
}

.use-case-card:nth-child(2) .use-case-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
}

.use-case-card:nth-child(3) .use-case-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
}

.use-case-card:nth-child(4) .use-case-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.use-case-card:nth-child(5) .use-case-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}

.use-case-card:nth-child(6) .use-case-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
}

/* Dark theme adjustments for icons */
[data-theme="dark"] .use-case-card:nth-child(1) .use-case-icon {
    background: linear-gradient(135deg, #333 0%, #555 100%) !important;
}

[data-theme="dark"] .use-case-card:nth-child(2) .use-case-icon {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
}

[data-theme="dark"] .use-case-card:nth-child(3) .use-case-icon {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
}

[data-theme="dark"] .use-case-card:nth-child(4) .use-case-icon {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
}

[data-theme="dark"] .use-case-card:nth-child(5) .use-case-icon {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
}

[data-theme="dark"] .use-case-card:nth-child(6) .use-case-icon {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
}

.use-case-title h2 {
    margin: 0 0 0.5rem 0;
}

.use-case-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.use-case-content {
    margin-top: 2rem;
}

.features-list {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 1.25rem 0;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

.features-list i {
    color: var(--accent-green);
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature-text {
    flex: 1;
}

.feature-text strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
}

.feature-text span {
    color: var(--text-secondary);
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-controls {
        display: flex;
    }

    .hero {
        padding: 6rem 1rem 2rem;
        min-height: auto;
    }

    .cta-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .sticky-nav {
        top: 60px;
    }

    .sticky-nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }

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

    .proof-numbers {
        gap: 2rem;
    }

    .proof-number-value {
        font-size: 2.5rem;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        flex-direction: column;
        gap: 2rem;
    }

    .features-grid,
    .pricing-grid,
    .specs-grid-enhanced,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .final-cta h2 {
        font-size: 2rem;
    }

    .hero-section {
        padding: 6rem 1rem 2rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .use-case-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .use-case-icon {
        width: 60px;
        height: 60px;
        border-radius: 12px;
        margin-right: 1rem;
        margin-bottom: 1rem;
    }

    .use-case-icon i {
        font-size: 1.5rem;
    }

    .use-case-header {
        gap: 0;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.875rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .tech-section,
    .use-case-card {
        padding: 3rem 1rem;
        margin-bottom: 2rem;
    }

    .technical-container,
    .use-cases-container {
        padding: 2rem 1rem 3rem;
    }
}
