/* GeoCryption Styles - Cache Test v6.1.0 */

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

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    color: #f1f5f9;
    position: relative;
    overflow-x: hidden;
}

/* Global Background - Gleam Effects Only */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(ellipse at top, rgba(30, 58, 138, 0.2) 0%, rgba(30, 37, 99, 0.3) 25%, rgba(15, 23, 42, 0.5) 70%);
    z-index: -2;
    will-change: transform;
    transform: scale(var(--zoom-scale, 1));
    transform-origin: center center;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background:
        radial-gradient(circle at 15% 25%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(147, 51, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #06b6d4, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
}

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

.nav-logo .logo-icon {
    font-size: 2rem;
}

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.nav-btn.secondary {
    background: rgba(71, 85, 105, 0.6);
    border: 1px solid rgba(71, 85, 105, 0.8);
}

.nav-btn.secondary:hover {
    background: rgba(71, 85, 105, 0.8);
    box-shadow: 0 5px 15px rgba(71, 85, 105, 0.3);
}

/* Main Content Container */
.main-content {
    padding-top: 80px; /* Account for fixed navbar */
    min-height: calc(100vh - 80px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Enhanced Container Styles with Better Contrast and Shadows */
.enhanced-container {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 24px;
    padding: 40px;
    margin: 20px 0;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.enhanced-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

/* Landing Page */
.landing-page {
    text-align: center;
    min-height: calc(100vh - 160px); /* Account for navbar and footer */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
}

/* Landing Page Background with PNG */
.landing-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background:
        radial-gradient(ellipse at top, rgba(30, 58, 138, 0.4) 0%, rgba(30, 37, 99, 0.5) 25%, rgba(15, 23, 42, 0.7) 70%),
        url('map.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
    will-change: transform;
    transform: scale(var(--zoom-scale, 1));
    transform-origin: center center;
}

.hero-section {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 32px;
    padding: 60px 40px;
    margin: 40px 0;
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.8), rgba(16, 185, 129, 0.5), transparent);
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 50px 0;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.use-case-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 24px;
    padding: 35px;
    transition: all 0.4s ease;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.use-case-card:hover::before {
    opacity: 1;
}

.use-case-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
}

.use-case-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 10px;
}

.use-case-desc {
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 0.9rem;
}

.cta-button {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        0 15px 35px rgba(59, 130, 246, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    margin-top: 30px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow:
        0 20px 45px rgba(59, 130, 246, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* App Container */
.app-container {
    display: none;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    min-height: calc(100vh - 160px);
    position: relative;
}

/* App Container Background - Dark Blue Gradient with Gleam */
.app-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background:
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(147, 51, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.08) 0%, transparent 70%),
        linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(30, 37, 99, 0.9) 25%, rgba(15, 23, 42, 0.95) 70%);
    z-index: -1;
    animation: gleamPulse 4s ease-in-out infinite;
}

@keyframes gleamPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.01);
    }
}

/* Header */
.app-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0;
    position: relative;
}

.app-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 32px;
    z-index: -1;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.app-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.8), rgba(16, 185, 129, 0.5), transparent);
    border-radius: 2px 2px 0 0;
    z-index: 1;
}

.app-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #06b6d4, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
    letter-spacing: -1px;
    padding: 40px 40px 0 40px;
    position: relative;
    z-index: 2;
}

.app-subtitle {
    font-size: 1.1rem;
    color: #e2e8f0;
    line-height: 1.6;
    font-weight: 500;
    padding: 0 40px 40px 40px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin: 0 auto;
}

/* Progress Bar */
.progress-container {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.progress-line {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(71, 85, 105, 0.5);
    border-radius: 2px;
    z-index: 1;
}

.progress-line-active {
    position: absolute;
    top: 20px;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    border-radius: 2px;
    transition: width 0.5s ease;
    z-index: 2;
    width: 0%;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
    position: relative;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(71, 85, 105, 0.5);
    border: 2px solid rgba(71, 85, 105, 0.5);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.step-circle.active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-color: #3b82f6;
    color: white;
    box-shadow:
        0 8px 20px rgba(59, 130, 246, 0.4),
        0 0 0 3px rgba(59, 130, 246, 0.2);
}

.step-circle.completed {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #10b981;
    color: white;
    box-shadow:
        0 8px 20px rgba(16, 185, 129, 0.4),
        0 0 0 3px rgba(16, 185, 129, 0.2);
}

.step-label {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
    text-align: center;
    transition: color 0.3s ease;
}

.step-label.active {
    color: #60a5fa;
    font-weight: 600;
}

.step-label.completed {
    color: #34d399;
    font-weight: 600;
}

/* Step Screens */
.step-screen {
    display: none;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 28px;
    padding: 50px;
    margin-bottom: 30px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    min-height: 500px;
    animation: fadeInUp 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.step-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.6), transparent);
}

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

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

.step-header {
    text-align: center;
    margin-bottom: 40px;
}

.step-number {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 50px;
    margin-bottom: 20px;
    box-shadow:
        0 10px 25px rgba(59, 130, 246, 0.3),
        0 0 0 3px rgba(59, 130, 246, 0.2);
}

.step-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 15px;
}

.step-description {
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Form Elements */
.input-group {
    margin-bottom: 30px;
    text-align: left;
}

.input-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 10px;
}

.text-input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    color: #f1f5f9;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.text-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow:
        0 0 0 3px rgba(59, 130, 246, 0.2),
        0 8px 20px rgba(59, 130, 246, 0.1);
}

.text-input::placeholder {
    color: #94a3b8;
}

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

/* File Upload */
.file-upload-area {
    border: 2px dashed rgba(59, 130, 246, 0.4);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    background: rgba(15, 23, 42, 0.6);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.file-upload-area:hover {
    border-color: rgba(59, 130, 246, 0.6);
    background: rgba(15, 23, 42, 0.8);
}

.file-upload-area.dragover {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    transform: scale(1.02);
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #60a5fa;
}

.upload-text {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 10px;
}

.upload-hint {
    font-size: 0.9rem;
    color: #94a3b8;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-list {
    margin-top: 20px;
    text-align: left;
}

.file-item {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-name {
    color: #f1f5f9;
    font-weight: 500;
}

.file-size {
    color: #94a3b8;
    font-size: 0.9rem;
}

.remove-file {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-file:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.6);
}
