:root {
    /* Color Palette */
    --bg-dark: #0f172a;
    --bg-light: #1e293b;
    --primary: #3b82f6;
    --accent: #8b5cf6;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Neumorphism Colors */
    --neu-bg: #151e32;
    --neu-shadow-light: rgba(255, 255, 255, 0.02);
    --neu-shadow-dark: rgba(0, 0, 0, 0.4);
    --neu-border: rgba(255, 255, 255, 0.02);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-image: radial-gradient(circle at top right, #1e293b 0%, #0f172a 100%);
    min-height: 100vh;
}

/* Background Animated Glows */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--primary);
    animation: float 15s ease-in-out infinite alternate;
}

.glow-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: var(--accent);
    animation: float 20s ease-in-out infinite alternate-reverse;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 10%) scale(1.1); }
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

/* Typography & Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0 3rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.pulse {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.highlight {
    background: linear-gradient(135deg, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* Glassmorphism Download Button */
.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.125rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    border-radius: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.glass-effect {
    background: rgba(59, 130, 246, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
}

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

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

.download-icon {
    transition: transform 0.3s ease;
}

.btn-download:hover .download-icon {
    transform: translateY(3px);
}

.security-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.security-note i {
    color: #34d399;
}

/* Sections */
.section {
    margin-bottom: 5rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

/* Neumorphism Component */
.neumorphic {
    background: var(--neu-bg);
    border-radius: 1.5rem;
    box-shadow: 
        -5px -5px 10px var(--neu-shadow-light),
        5px 5px 15px var(--neu-shadow-dark);
    border: 1px solid var(--neu-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.neumorphic:hover {
    transform: translateY(-5px);
    box-shadow: 
        -8px -8px 15px var(--neu-shadow-light),
        8px 8px 25px var(--neu-shadow-dark);
}

/* Steps Alternating Layout */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.step-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.step-row.reverse {
    flex-direction: row-reverse;
}

.step-content {
    flex: 1;
    padding: 2.5rem;
    position: relative;
}

.step-image-wrapper {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    position: relative;
}

.step-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    z-index: -1;
}

/* 3D Phone Frame */
.phone-frame {
    position: relative;
    width: 280px;
    height: 560px;
    background: #1e293b;
    border-radius: 2.5rem;
    padding: 0.75rem;
    box-shadow: 
        inset 0 0 10px rgba(255,255,255,0.05),
        inset 5px 0 15px rgba(255,255,255,0.05),
        inset -5px 0 15px rgba(0,0,0,0.4),
        0 20px 40px rgba(0,0,0,0.6),
        0 0 0 1px rgba(255,255,255,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-frame:hover {
    transform: translateY(-5px);
    box-shadow: 
        inset 0 0 10px rgba(255,255,255,0.05),
        inset 5px 0 15px rgba(255,255,255,0.05),
        inset -5px 0 15px rgba(0,0,0,0.4),
        0 30px 50px rgba(0,0,0,0.7),
        0 0 0 1px rgba(255,255,255,0.2);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #0f172a;
    border-radius: 1.75rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.05);
}

.phone-notch {
    position: absolute;
    top: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 35%;
    height: 1.5rem;
    background: #1e293b;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    z-index: 10;
    box-shadow: inset 0 -2px 5px rgba(0,0,0,0.5);
}

.phone-buttons {
    position: absolute;
    background: #334155;
    border-radius: 0.2rem;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.2), inset 0 -1px 2px rgba(0,0,0,0.5);
}

.volume-up { top: 100px; left: -3px; width: 3px; height: 40px; }
.volume-down { top: 150px; left: -3px; width: 3px; height: 40px; }
.power { top: 120px; right: -3px; width: 3px; height: 50px; }

.phone-placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
}

.phone-placeholder-content i {
    font-size: 3rem;
    opacity: 0.8;
}

.phone-placeholder-content span {
    font-weight: 500;
}

.step-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.step-badge .step-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.9;
}

.step-badge .step-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #94a3b8, #f8fafc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.step-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.instruction-box {
    background: rgba(0, 0, 0, 0.25);
    padding: 1.25rem;
    border-radius: 0.75rem;
    border-left: 3px solid var(--primary);
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.instruction-box > i {
    color: var(--primary);
    margin-top: 0.25rem;
}

.instruction-box p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.5;
}

.instruction-box strong {
    color: #93c5fd;
}

/* Inline Buttons for Text */
.inline-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    border-radius: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    vertical-align: middle;
    margin: 0 0.3rem;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.inline-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    filter: brightness(1.1);
}

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

.btn-unlimited {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.btn-ai-appbuilder {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

/* Video Placeholder */
.video-placeholder {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    background: rgba(0,0,0,0.3);
    border: 2px dashed rgba(255,255,255,0.15);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    background: rgba(0,0,0,0.5);
    border-color: rgba(255,255,255,0.3);
}

.video-placeholder i {
    font-size: 4rem;
    color: #ef4444; /* YouTube red */
    transition: transform 0.3s ease;
}

.video-placeholder:hover i {
    transform: scale(1.1);
}

/* FAQ Layout */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    padding: 1.5rem;
}

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

.faq-header i {
    font-size: 1.25rem;
}

.icon-warning { color: #fbbf24; }
.icon-protect { color: #34d399; }
.icon-error { color: #f87171; }

.faq-header h3 {
    font-size: 1.125rem;
}

.faq-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    padding-left: 2.25rem;
}

/* Security Layout */
.security-card {
    padding: 2.5rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.8));
    position: relative;
    overflow: hidden;
}

.security-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #10b981, #3b82f6);
}

.security-content > h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.security-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.security-list li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.security-list i {
    font-size: 1.75rem;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 1rem;
    border-radius: 1rem;
}

.security-list strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.security-list p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.checksum-box {
    display: block;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-family: monospace;
    font-size: 0.875rem;
    color: #6ee7b7;
    word-break: break-all;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Hash Validator Layout */
.hash-validator {
    padding: 2rem;
    margin-top: 1rem;
    text-align: center;
}

.hash-validator h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.hash-validator > p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.file-upload-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

input[type="file"] {
    display: none;
}

.file-upload-btn {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.file-upload-btn:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.5);
}

#fileNameDisplay {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hash-result {
    margin-top: 1.5rem;
    transition: opacity 0.3s;
}

.hash-result.hidden {
    display: none;
}

.hash-status {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.status-loading {
    background: rgba(59, 130, 246, 0.1);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-verified {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399; /* Green as requested */
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-warning {
    background: rgba(249, 115, 22, 0.1);
    color: #fb923c; /* Orange/Red as requested */
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.status-error {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.hash-value-box {
    background: rgba(0, 0, 0, 0.4);
    padding: 1rem;
    border-radius: 0.5rem;
    word-break: break-all;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: left;
}

.hash-value-box span {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.hash-value-box code {
    color: #94a3b8;
    font-family: monospace;
    font-size: 0.875rem;
}

/* Colorize the computed hash text based on state */
.status-verified + .hash-value-box code {
    color: #34d399;
}
.status-warning + .hash-value-box code {
    color: #fb923c;
}

footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 2rem;
    font-size: 0.9rem;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    /* Responsive Alternating Steps */
    .step-row, .step-row.reverse {
        flex-direction: column-reverse; /* Put text above or below phone predictably */
        gap: 2rem;
    }
    
    .step-image-wrapper {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .phone-frame {
        width: 240px;
        height: 480px;
    }
    
    .security-list li {
        flex-direction: column;
        gap: 1rem;
    }
    
    .security-list i {
        align-self: flex-start;
    }
    
    .step-number {
        top: -10px;
        right: -10px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}
