/* OSIT_AI Stylesheet - Dark Theme Inspired by FaceCheck.ID */

:root {
    /* Dark Theme Colors */
    --dark-bg: #0f1419;
    --dark-card: #1a1f2e;
    --dark-border: #2d3748;
    --dark-hover: #252a3a;

    /* Accent Colors */
    --accent-pink: #ec4899;
    --accent-purple: #8b5cf6;
    --accent-blue: #3b82f6;
    --accent-red: #ef4444;

    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    --gradient-hero: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --gradient-card: linear-gradient(135deg, #1a1f2e 0%, #252a3a 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(236, 72, 153, 0.3);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--dark-bg);
    background-image:
        radial-gradient(at 0% 0%, rgba(139, 92, 246, 0.1) 0, transparent 50%),
        radial-gradient(at 100% 0%, rgba(236, 72, 153, 0.1) 0, transparent 50%);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(26, 31, 46, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--dark-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text-face {
    color: var(--accent-pink);
}

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

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

.faces-counter {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-right: 1rem;
}

.faces-number {
    color: var(--accent-pink);
    font-weight: 700;
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-title-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Upload Area */
.upload-area {
    max-width: 600px;
}

.drop-zone {
    border: 3px dashed var(--accent-purple);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(139, 92, 246, 0.05);
}

.drop-zone:hover {
    border-color: var(--accent-pink);
    background: rgba(236, 72, 153, 0.1);
    transform: translateY(-2px);
}

.drop-zone.drag-over {
    border-color: var(--accent-pink);
    background: rgba(236, 72, 153, 0.15);
    box-shadow: var(--shadow-glow);
}

.upload-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(236, 72, 153, 0);
    }
}

.upload-icon {
    color: white;
    width: 40px;
    height: 40px;
}

.drop-zone h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.text-muted {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.file-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* Search Categories */
.search-categories {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.category-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

.category-checkbox input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-purple);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.category-checkbox input[type="checkbox"]:checked {
    background: var(--gradient-primary);
    border-color: var(--accent-pink);
}

.category-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
}

.category-checkbox label {
    cursor: pointer;
    font-size: 0.9rem;
}

/* CTA Button */
.btn-search-cta {
    background: var(--accent-pink);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1.5rem;
    width: 100%;
}

.btn-search-cta:hover {
    background: #db2777;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(236, 72, 153, 0.6);
}

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

/* Terms Checkbox */
.terms-checkbox {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.terms-checkbox input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--dark-border);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

.terms-checkbox input[type="checkbox"]:checked {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.terms-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.75rem;
}

.terms-checkbox a {
    color: var(--accent-blue);
    text-decoration: none;
}

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

/* Wireframe Illustration */
.hero-right {
    position: relative;
}

.wireframe-face {
    width: 100%;
    height: 500px;
    position: relative;
    opacity: 0.3;
}

.wireframe-svg {
    width: 100%;
    height: 100%;
}

.wireframe-line {
    stroke: var(--accent-purple);
    stroke-width: 0.5;
    fill: none;
    opacity: 0.5;
    animation: drawLine 3s ease-in-out infinite alternate;
}

@keyframes drawLine {
    from {
        stroke-dashoffset: 1000;
    }
    to {
        stroke-dashoffset: 0;
    }
}

.wireframe-point {
    fill: var(--accent-pink);
    animation: pointPulse 2s ease-in-out infinite;
}

@keyframes pointPulse {
    0%, 100% {
        opacity: 0.5;
        r: 2;
    }
    50% {
        opacity: 1;
        r: 3;
    }
}

/* Preview */
.preview {
    text-align: center;
}

.preview img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
}

.preview-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Progress - Enhanced Animation */
.progress-section {
    margin-top: 1.5rem;
    animation: fadeIn 0.3s ease-out;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background-color: var(--dark-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 2s infinite;
}

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

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.5s ease;
    width: 0%;
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.8);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: progressShine 1.5s ease-in-out infinite;
}

@keyframes progressShine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-text {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    animation: textPulse 1.5s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Social Proof Section */
.social-proof {
    padding: 4rem 0;
    text-align: center;
}

.social-proof-title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.media-logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-muted);
    opacity: 0.6;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.media-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    color: var(--text-primary);
}

/* Testimonial Section */
.testimonial-section {
    padding: 4rem 0;
    text-align: center;
}

.testimonial-quote {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.quote-mark-left,
.quote-mark-right {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--accent-purple);
    opacity: 0.3;
    position: absolute;
}

.quote-mark-left {
    top: -1rem;
    left: -2rem;
}

.quote-mark-right {
    bottom: -1rem;
    right: -2rem;
    transform: rotate(180deg);
}

.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.quote-author {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: var(--dark-card);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature {
    text-align: center;
    padding: 2rem;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 12px;
    border: 1px solid var(--dark-border);
    transition: all 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.5);
}

.btn-secondary {
    background-color: var(--dark-card);
    color: var(--text-primary);
    border: 1px solid var(--dark-border);
}

.btn-secondary:hover {
    background-color: var(--dark-hover);
    border-color: var(--accent-purple);
}

.btn-text {
    background: transparent;
    color: var(--text-primary);
    padding: 0.5rem 1rem;
}

.btn-text:hover {
    background-color: rgba(139, 92, 246, 0.1);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Results Section */
.results-section {
    padding: 3rem 0;
    min-height: 60vh;
}

.results-header {
    text-align: center;
    margin-bottom: 3rem;
}

.results-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.result-card {
    background: var(--dark-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--dark-border);
}

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

.result-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.result-info {
    padding: 1rem;
}

.result-score {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-platform {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.result-locked {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.result-card.locked:hover .result-locked {
    opacity: 1;
}

.lock-icon {
    font-size: 3rem;
    color: var(--accent-pink);
}

/* Pricing Section */
.pricing-section {
    padding: 3rem 0;
}

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

.pricing-card {
    background: var(--dark-card);
    border: 2px solid var(--dark-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

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

.pricing-card.popular {
    border-color: var(--accent-pink);
    box-shadow: var(--shadow-glow);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1rem 0;
}

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

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

.pricing-features li::before {
    content: '✓';
    color: var(--accent-pink);
    font-weight: 700;
}

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

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.modal-content {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--dark-border);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

/* Unlock Modal */
.unlock-modal {
    text-align: center;
    max-width: 540px;
    animation: slideUp 0.3s ease-out;
}

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

.unlock-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;
    color: white;
}

.unlock-icon svg {
    width: 40px;
    height: 40px;
}

.unlock-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.unlock-description {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.unlock-features {
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
    border: 1px solid var(--dark-border);
}

.unlock-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.unlock-feature:last-child {
    margin-bottom: 0;
}

.unlock-feature .feature-icon {
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: bold;
    flex-shrink: 0;
}

.unlock-pricing {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
}

.unlock-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.modal-close-text {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.875rem;
    transition: color 0.3s ease;
}

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

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--dark-border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--dark-bg);
    color: var(--text-primary);
}

.input:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* Secret ID Display */
.secret-id-box {
    background-color: rgba(139, 92, 246, 0.1);
    border: 2px solid var(--accent-purple);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.secret-id-code {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--dark-bg);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.secret-id-code code {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    flex: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Account Info Modal */
.account-info {
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid var(--dark-border);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--dark-border);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--text-muted);
}

.info-value {
    font-weight: 600;
    color: var(--text-primary);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10000;
    font-weight: 500;
}

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

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid #22c55e;
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid #ef4444;
}

.alert-info {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

/* Loading Spinner */
.spinner {
    border: 3px solid var(--dark-border);
    border-top: 3px solid var(--accent-pink);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

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

/* Footer */
.footer {
    background-color: var(--dark-card);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
    margin-top: 4rem;
    border-top: 1px solid var(--dark-border);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-danger {
    color: var(--accent-red);
}

.mt-2 {
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .wireframe-face {
        display: none;
    }

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

@media (max-width: 768px) {
    /* Container padding */
    .container {
        padding: 0 1rem;
    }

    /* Header */
    .header {
        padding: 1rem 0;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo-icon {
        font-size: 1.25rem;
    }

    .nav {
        width: 100%;
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: flex-start;
    }

    .faces-counter {
        width: 100%;
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
        order: -1;
    }

    .faces-number {
        font-size: 1rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .btn-primary {
        padding: 0.5rem 1.25rem;
    }

    /* Hero */
    .hero {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
        line-height: 1.5;
    }

    /* Upload Area */
    .upload-area {
        margin-top: 1.5rem;
    }

    .drop-zone {
        padding: 2rem 1rem;
        min-height: 200px;
    }

    .drop-zone h3 {
        font-size: 1rem;
        line-height: 1.4;
    }

    .drop-zone .text-muted {
        font-size: 0.875rem;
    }

    .file-info {
        font-size: 0.75rem;
    }

    .upload-icon {
        width: 40px;
        height: 40px;
    }

    /* Search Categories */
    .search-categories {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .category-checkbox label {
        font-size: 0.875rem;
        padding: 0.75rem;
    }

    /* CTA Button - Fixed at bottom on mobile */
    .btn-search-cta {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0;
        border-radius: 0;
        font-size: 1rem;
        padding: 1.25rem 2rem;
        z-index: 1000;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
    }

    /* Add padding to upload area when button is visible */
    .upload-area {
        padding-bottom: 5rem;
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .plan-name {
        font-size: 1.25rem;
    }

    .plan-price {
        font-size: 2rem;
    }

    /* Results */
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .result-card {
        padding: 0.5rem;
    }

    /* Social Proof */
    .social-proof {
        padding: 2rem 0;
    }

    .social-proof-title {
        font-size: 0.75rem;
        margin-bottom: 1.5rem;
    }

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

    .media-logo {
        font-size: 0.875rem;
        padding: 0.75rem;
    }

    /* Testimonial */
    .testimonial-section {
        padding: 2rem 0;
    }

    .testimonial-quote {
        padding: 1.5rem;
    }

    .quote-text {
        font-size: 1.125rem;
        line-height: 1.5;
        margin: 1rem 0;
    }

    .quote-author {
        font-size: 0.875rem;
    }

    .quote-mark-left,
    .quote-mark-right {
        font-size: 2.5rem;
    }

    .quote-mark-left {
        top: -0.5rem;
        left: -0.5rem;
    }

    .quote-mark-right {
        bottom: -0.5rem;
        right: -0.5rem;
    }

    /* Features */
    .section-title {
        font-size: 1.75rem;
    }

    .features {
        padding: 2rem 0;
    }

    .features-grid {
        gap: 1.5rem;
    }

    .feature {
        padding: 1.5rem;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .feature h3 {
        font-size: 1.125rem;
    }

    .feature p {
        font-size: 0.875rem;
    }

    /* Modals */
    .modal-content {
        width: 95%;
        max-width: 95%;
        margin: 1rem;
        padding: 1.5rem;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }

    .modal-close {
        width: 32px;
        height: 32px;
        font-size: 1.5rem;
        top: 0.75rem;
        right: 0.75rem;
    }

    /* Unlock Modal */
    .unlock-modal {
        padding: 2rem 1.5rem;
    }

    .unlock-icon {
        margin-bottom: 1rem;
    }

    .unlock-icon svg {
        width: 48px;
        height: 48px;
    }

    .unlock-title {
        font-size: 1.5rem;
    }

    .unlock-description {
        font-size: 0.9375rem;
    }

    .unlock-features {
        gap: 0.75rem;
        margin: 1.5rem 0;
    }

    .unlock-feature {
        font-size: 0.875rem;
    }

    .unlock-pricing {
        padding: 1.25rem;
        margin: 1.5rem 0;
    }

    .price-amount {
        font-size: 1.75rem;
    }

    .unlock-actions {
        gap: 0.75rem;
    }

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    .modal-close-text {
        font-size: 0.875rem;
        padding: 0.75rem;
        margin-top: 0.75rem;
    }

    /* Account Modal */
    .account-info {
        gap: 0.75rem;
    }

    .info-label {
        font-size: 0.875rem;
    }

    .info-value {
        font-size: 0.875rem;
    }

    /* Toast */
    .toast {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        max-width: calc(100% - 2rem);
        font-size: 0.875rem;
        padding: 0.875rem 1rem;
    }

    /* Forms */
    .form-group label {
        font-size: 0.875rem;
    }

    .input {
        padding: 0.75rem;
        font-size: 1rem;
    }

    .btn-block {
        padding: 0.875rem;
        font-size: 0.9375rem;
    }

    /* Secret ID Display */
    .secret-id-code {
        flex-direction: column;
        gap: 0.75rem;
    }

    .secret-id-code code {
        font-size: 1rem;
        padding: 0.75rem;
    }

    /* Progress */
    .progress-section {
        margin-top: 1.5rem;
    }

    .progress-text {
        font-size: 0.875rem;
    }

    /* Footer */
    .footer {
        padding: 1.5rem 0;
        margin-top: 2rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .hero-title {
        font-size: 1.5rem;
    }

    .drop-zone {
        padding: 1.5rem 0.75rem;
        min-height: 180px;
    }

    .drop-zone h3 {
        font-size: 0.9375rem;
    }

    .btn-search-cta {
        font-size: 0.9375rem;
        padding: 1.125rem 1.5rem;
    }

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

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

    .quote-text {
        font-size: 1rem;
    }

    .quote-mark-left,
    .quote-mark-right {
        font-size: 2rem;
    }

    .modal-content {
        padding: 1.25rem;
    }

    .unlock-modal {
        padding: 1.5rem 1rem;
    }

    .price-amount {
        font-size: 1.5rem;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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