:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary: #10b981;
    --accent: #8b5cf6;
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Gradients */
.bg-blob {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.15;
}

.blob-1 {
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation: pulse 10s infinite alternate;
}

.blob-2 {
    background: var(--accent);
    bottom: -100px;
    left: -100px;
    animation: pulse 12s infinite alternate-reverse;
}

@keyframes pulse {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.2) translate(50px, 50px); }
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: sticky;
    top: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-light);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary-light);
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.4);
}

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

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

/* Hero Section */
.hero {
    padding: 6rem 5% 4rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Visual Mockup */
.hero-visual {
    position: relative;
}

.mockup-container {
    background: #1e293b;
    border-radius: 20px;
    padding: 8px;
    border: 1px solid var(--border);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 10;
}

.mockup-header {
    height: 40px;
    background: #0f172a;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 6px;
    border-bottom: 1px solid var(--border);
}
/* Feature Highlights */
.feature-highlight {
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

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

.feature-highlight.reverse .highlight-content {
    direction: rtl;
}

.feature-highlight.reverse .highlight-text {
    direction: ltr;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-light);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.highlight-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
}

.feature-list i {
    color: var(--secondary);
}

.highlight-image {
    position: relative;
}

.screenshot-main {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.screenshot-sub {
    position: absolute;
    width: 60%;
    bottom: -30px;
    right: -30px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    z-index: 2;
}

.library-icons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.lib-icon {
    padding: 8px 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery {
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--border);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transition: 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover span {
    opacity: 1;
}

.highlight {
    color: var(--primary-light);
}

/* Responsive Highlights */
@media (max-width: 900px) {
    .highlight-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .feature-highlight.reverse .highlight-content {
        direction: ltr;
    }
    .feature-list {
        align-items: center;
    }
    .screenshot-sub {
        display: none;
    }
}
/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1200px;
    border-radius: 12px;
    border: 1px solid var(--border);
    animation: zoom 0.3s ease-out;
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1200px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

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

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

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--primary-light);
    text-decoration: none;
}

.zoomable {
    cursor: zoom-in;
    transition: 0.3s;
}

.zoomable:hover {
    filter: brightness(1.1);
}

@media only screen and (max-width: 700px){
    .lightbox-content {
        width: 100%;
    }
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.mockup-content {
    display: flex;
    height: calc(100% - 40px);
}

.mockup-sidebar {
    width: 60px;
    background: #1e293b;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    gap: 1.5rem;
}

.tool-icon {
    width: 36px;
    height: 36px;
    background: var(--glass);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.tool-icon.active {
    background: var(--primary);
    color: white;
}

.mockup-canvas {
    flex: 1;
    background: #334155;
    position: relative;
    padding: 2rem;
    display: flex;
    justify-content: center;
}

.canvas-paper {
    width: 70%;
    height: 100%;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Floating UI Elements */
.floating-element {
    position: absolute;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.ui-inspector {
    top: 20%;
    right: -30px;
    width: 180px;
}

.ui-export {
    bottom: 10%;
    left: -40px;
    width: 220px;
    animation-delay: 2s;
}

/* Features Grid */
.features {
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
    background: rgba(30, 41, 59, 0.9);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

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

.feature-card p {
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 4rem;
    }
    .hero-text p {
        margin: 0 auto 2.5rem;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-text h1 {
        font-size: 3rem;
    }
    .ui-inspector, .ui-export {
        display: none;
    }
}

/* Usage Section */
.usage {
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.usage-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-num {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(59, 130, 246, 0.1);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

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

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

/* Desktop Section */
.desktop-promo {
    padding: 8rem 5%;
    background: rgba(15, 23, 42, 0.5);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.desktop-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.desktop-window {
    background: #1e293b;
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}

.window-bar {
    background: #0f172a;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
}

.window-title {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.desktop-window img {
    width: 100%;
    display: block;
}

@media (max-width: 1000px) {
    .desktop-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .desktop-content .feature-list {
        align-items: center;
    }
}
