:root {
    --bg-color: #0b0f19;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.5);
    --gradient-1: #8b5cf6;
    --gradient-2: #3b82f6;
    --blob-1: rgba(139, 92, 246, 0.3);
    --blob-2: rgba(59, 130, 246, 0.3);
    --blob-3: rgba(16, 185, 129, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

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

/* Background Blobs */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(80px);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--blob-1);
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: var(--blob-2);
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    background: var(--blob-3);
    animation-delay: -10s;
}

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

/* Glassmorphism Classes */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.glass-footer {
    background: rgba(11, 15, 25, 0.6);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--glass-border);
    text-align: center;
    padding: 2rem;
    margin-top: 5rem;
}

/* Typography & Colors */
.gradient-text {
    background: linear-gradient(to right, var(--gradient-1), var(--gradient-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    color: white;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px var(--accent-glow);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

/* Nav */
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.logo i { color: var(--gradient-2); }

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}
.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}
.nav-links a:hover:not(.btn-primary) {
    color: var(--gradient-2);
}

/* Layout */
main {
    padding: 8rem 5% 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
    align-items: center;
    min-height: 70vh;
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

/* Mockup Frame & Header */
.mockup-frame {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    padding: 1.2rem;
    border: 1px solid var(--glass-border);
}

.window-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 0.8rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid var(--glass-border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.window-title {
    margin-left: auto;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.img-wrapper {
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3);
}

.img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.hero-image.glass-card {
    padding: 1.2rem;
}

/* Screenshots Gallery Section */
.screenshots-section {
    margin-top: 6rem;
}
.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: -2rem auto 3rem;
}
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.5rem;
}
.screenshot-card {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.screenshot-card:hover .img-wrapper img {
    transform: scale(1.03);
}
.card-caption {
    padding: 1.2rem 0.5rem 0.5rem;
}
.card-caption h3 {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}
.card-caption p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Features */
.features { margin-top: 6rem; }
.text-center { text-align: center; margin-bottom: 3rem; font-size: 2.5rem; }
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.feature-card .icon-wrapper {
    width: 60px; height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(59,130,246,0.2));
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--gradient-2);
    margin-bottom: 1.5rem;
}
.feature-card h3 { margin-bottom: 1rem; font-size: 1.5rem; }
.feature-card p { color: var(--text-secondary); }

/* Security Section */
.security {
    margin-top: 6rem;
}
.security-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.security-content h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.security-content p { color: var(--text-secondary); margin-bottom: 2rem; font-size: 1.2rem;}
.security-list {
    list-style: none;
    text-align: left;
    margin: 0 auto 2rem;
    max-width: 500px;
}
.security-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.security-list i { color: #10b981; }

/* Responsive Grid & Tools */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.5rem;
}

.tool-card {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

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

.tool-header .icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(139,92,246,0.25), rgba(59,130,246,0.25));
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--gradient-2);
    flex-shrink: 0;
}

.tool-header h3 {
    font-size: 1.3rem;
    line-height: 1.2;
}

.tool-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.w-full {
    width: 100%;
    justify-content: center;
}

/* Generator & Evaluator Controls */
.generator-display, .evaluator-input {
    display: flex;
    gap: 0.5rem;
}

.generator-display input, .evaluator-input input {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    color: var(--text-primary);
    font-family: monospace;
    font-size: 1.1rem;
    outline: none;
    transition: border-color 0.3s;
}

.generator-display input:focus, .evaluator-input input:focus {
    border-color: var(--accent);
}

.generator-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
}

.slider-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.slider-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.slider-group input[type="range"] {
    accent-color: var(--accent);
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Strength Meter */
.strength-meter-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.strength-bar-wrapper {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    transition: width 0.4s ease, background-color 0.4s ease;
    border-radius: 4px;
}

.strength-metrics {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.security-tips {
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

/* FAQ Accordion */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
}

.faq-item {
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

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

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.15rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-top: 0.5rem;
}

/* Image Lightbox */
.img-wrapper.zoomable {
    cursor: zoom-in;
}

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    animation: zoomIn 0.3s ease;
}

.lightbox-caption {
    margin-top: 1rem;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--accent);
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; text-align: center; }
    .cta-group { justify-content: center; }
    .nav-links { display: none; }
    .hero h1 { font-size: 2.8rem; }
}
