/* Import Outfit and Inter fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables for design system */
:root {
    --bg-color: #030303;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-bg-hover: rgba(255, 255, 255, 0.07);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 255, 255, 0.18);
    --text-primary: #ffffff;
    --text-secondary: #a1a1a9;
    --text-muted: #52525b;
    --accent-cyan: #00f0ff;
    --accent-violet: #8c52ff;
    --accent-pink: #ff007f;
    --accent-green: #10b981;
    --accent-orange: #f97316;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Floating Background Glow Orbs */
.glow-orbs {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    filter: blur(140px);
    opacity: 0.18;
    mix-blend-mode: screen;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, rgba(0,240,255,0) 70%);
    top: -10%;
    left: -10%;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-violet) 0%, rgba(140,82,255,0) 70%);
    bottom: -15%;
    right: -10%;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-pink) 0%, rgba(255,0,127,0) 70%);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Navbar (One4Studio Glassmorphism style) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 76px;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(3, 3, 3, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: var(--border-color);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 28px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Navbar Right Buttons & Trust Badges */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.navbar-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.navbar-badge-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.navbar-burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.navbar-burger-line {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.navbar-burger.active .navbar-burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-burger.active .navbar-burger-line:nth-child(2) {
    opacity: 0;
}

.navbar-burger.active .navbar-burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav overlay menu */
.nav-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(3, 3, 3, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.nav-mobile-menu.open {
    right: 0;
}

.nav-mobile-menu ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.nav-mobile-menu ul li a {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.nav-mobile-menu ul li a:hover {
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 240, 255, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

.btn-store {
    background: rgba(3, 3, 3, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-store:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero-trust-badge-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: pulse-dot 2s infinite;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 58px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.hero-title-gradient {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
    width: 100%;
}

.hero-stat-value {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(180deg, #ffffff 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stat-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Right: Spline 3D Robot Container */
.hero-visual {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spline-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

spline-viewer {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.spline-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(140,82,255,0.1) 0%, rgba(3,3,3,0) 70%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
}

/* Sections Structure */
section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.section-header {
    margin-bottom: 60px;
    max-width: 600px;
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
}

/* Widgets List & Alternating Rows (One4Studio Style) */
.widgets-list {
    display: flex;
    flex-direction: column;
    gap: 120px;
    margin-top: 40px;
}

.widget-row {
    display: flex;
    gap: 80px;
    align-items: center;
}

.widget-row:nth-child(even) {
    flex-direction: row-reverse;
}

.widget-card-content, .widget-preview-box {
    flex: 1;
    width: 50%;
}

.widget-preview-box {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #08080a;
    border-radius: 28px;
    border: 1px solid var(--border-color);
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.widget-row:hover .widget-preview-box {
    border-color: var(--border-color-hover);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.widget-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.widget-row:hover .widget-preview-img {
    transform: scale(1.04);
}

.widget-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.widget-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.widget-row:nth-child(2) .widget-icon {
    color: var(--accent-violet);
}

.widget-row:nth-child(3) .widget-icon {
    color: var(--accent-pink);
}

.widget-row:nth-child(4) .widget-icon {
    color: var(--accent-cyan);
}

.widget-row:nth-child(5) .widget-icon {
    color: var(--accent-violet);
}

.widget-row:nth-child(6) .widget-icon {
    color: var(--accent-pink);
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1.5px;
    line-height: 1.15;
    background: linear-gradient(180deg, #ffffff 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.widget-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.widget-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.widget-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

/* Responsiveness for Widget Rows */
@media (max-width: 992px) {
    .widgets-list {
        gap: 80px;
    }
    
    .widget-row, .widget-row:nth-child(even) {
        flex-direction: column;
        gap: 32px;
    }
    
    .widget-card-content, .widget-preview-box {
        width: 100%;
        flex: none;
    }
    
    .widget-card-content {
        order: 2;
    }
    
    .widget-preview-box {
        order: 1;
    }
    
    .widget-title {
        font-size: 28px;
        letter-spacing: -0.8px;
    }
}

/* Wallpapers Section & Card Visuals */
.wallpapers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.wallpaper-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
}

.wallpaper-card:hover {
    transform: translateY(-6px);
    background: var(--card-bg-hover);
    border-color: var(--border-color-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.wallpaper-visual {
    height: 100%;
    min-height: 320px;
    overflow: hidden;
    position: relative;
    background: #060608;
    border-right: 1px solid var(--border-color);
}

.wallpaper-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.wallpaper-card:hover .wallpaper-img {
    transform: scale(1.05);
}

.wallpaper-info {
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.wallpaper-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-cyan);
    margin-bottom: 8px;
}

.wallpaper-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.wallpaper-description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 24px;
}

.wallpaper-actions {
    display: flex;
    gap: 12px;
}

/* About / Creator Profile */
.about {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: radial-gradient(circle at 10% 20%, rgba(140,82,255,0.03) 0%, transparent 50%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-glow-box {
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1.2;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    backdrop-filter: blur(8px);
}

.about-tagline {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.about-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.about-stat-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 16px;
    border-radius: 16px;
}

.about-stat-num {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 4px;
}

.about-stat-lbl {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
}

.about-text p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-text p strong {
    color: var(--text-primary);
}

/* FAQ Accordion Section */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--border-color-hover);
    background: var(--card-bg-hover);
}

.faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 24px 28px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.faq-chevron {
    font-size: 12px;
    color: var(--text-secondary);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--accent-cyan);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer {
    padding: 0 28px 24px 28px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer Section */
.footer {
    background: #020202;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 320px;
}

.footer-email {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-cyan);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-email:hover {
    color: var(--text-primary);
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--text-primary);
    transform: translateX(2px);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-color-hover);
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal-link {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-legal-link:hover {
    color: var(--text-primary);
}

/* Scroll reveal items */
.reveal-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

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

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 767px) {
    .navbar-links-wrapper {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .navbar-badge {
        display: none;
    }

    .navbar-burger {
        display: flex;
    }

    .hero-title {
        font-size: 42px;
    }

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

    .wallpaper-card {
        grid-template-columns: 1fr;
    }

    .wallpaper-visual {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        min-height: 240px;
    }

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

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}


/* ==========================================================================
   Gradient Wallpaper Generator Styles
   ========================================================================== */

.generator-body {
    background-color: var(--bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.generator-header {
    height: 70px;
    background: rgba(3, 3, 5, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
}

.generator-workspace {
    flex: 1;
    display: flex;
    padding: 24px 0;
    align-items: stretch;
}

.workspace-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    position: relative;
    z-index: 2;
}

/* Preview Card */
.preview-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.preview-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.preview-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.2);
    color: var(--accent-cyan);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.canvas-dimensions {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.canvas-wrapper {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 9 / 16;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    margin-bottom: 20px;
}

#wallpaper-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-actions {
    display: flex;
    gap: 12px;
    width: 100%;
    justify-content: center;
}

.res-preset-btn {
    font-size: 12px;
    padding: 8px 16px;
    flex: 1;
    max-width: 200px;
}

.res-preset-btn.active {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.2);
}

/* Controls Panel & HUD */
.controls-panel {
    display: flex;
    flex-direction: column;
}

.hud-controls {
    background: rgba(15, 15, 25, 0.55);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: calc(100vh - 120px);
}

.control-group {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
    margin-top: 10px;
}

.control-group:first-of-type {
    border-top: none;
    margin-top: 0;
    padding-top: 10px;
}

.group-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #ffffff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Sliders */
.slider-row {
    margin-bottom: 16px;
}

.slider-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.slider-info label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.slider-value {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.08);
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid rgba(0, 240, 255, 0.15);
}

.range-slider {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
    cursor: pointer;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
    transition: transform 0.1s ease;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Color Stops Grid */
.color-stops-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.color-stops-container > label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.color-stop-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 8px 12px;
    gap: 16px;
}

.stop-color-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
}

.stop-color-wrap input[type="color"] {
    -webkit-appearance: none;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    background: none;
    outline: none;
}

.stop-color-wrap input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.stop-color-wrap input[type="color"]::-webkit-color-swatch {
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.stop-position-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: flex-end;
}

.pos-slider {
    width: 70px;
    height: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

.pos-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-primary);
    cursor: pointer;
}

.stop-pos-lbl {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 32px;
    text-align: right;
}

/* Toggles and Selects */
.toggle-row, .select-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.toggle-row label, .select-row label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.btn-group {
    display: flex;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2px;
}

.btn-toggle {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-toggle.active {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Switch Toggle Custom */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.08);
    border: 1px solid var(--border-color);
    transition: .3s;
    border-radius: 34px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-secondary);
    transition: .3s;
    border-radius: 50%;
}

.switch input:checked + .switch-slider {
    background-color: rgba(0, 240, 255, 0.15);
    border-color: rgba(0, 240, 255, 0.3);
}

.switch input:checked + .switch-slider:before {
    transform: translateX(18px);
    background-color: var(--accent-cyan);
    box-shadow: 0 0 6px var(--accent-cyan);
}

/* Dropdown */
.custom-select {
    background: rgba(15, 15, 25, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 8px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.custom-select:focus {
    border-color: var(--accent-cyan);
}

.btn-full {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px 20px;
    font-size: 14px;
    margin-top: auto;
    font-weight: 700;
}

/* Scrollbar customization for the HUD */
.hud-controls::-webkit-scrollbar {
    width: 6px;
}
.hud-controls::-webkit-scrollbar-track {
    background: transparent;
}
.hud-controls::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}
.hud-controls::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Media Queries for Generator */
@media (max-width: 900px) {
    .workspace-container {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-bottom: 40px;
    }
    
    .hud-controls {
        max-height: none;
    }
}

