@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- CORE DESIGN SYSTEM --- */
:root {
    --bg: #0b0f19;
    --card-bg: rgba(17, 24, 39, 0.7);
    --card-bg-hover: rgba(23, 37, 84, 0.55);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(59, 130, 246, 0.4);
    
    --text: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Harmonious Neon/Premium Colors */
    --primary: #3b82f6;
    --primary-rgb: 59, 130, 246;
    --accent: #a855f7;
    --accent-rgb: 168, 85, 247;
    
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
}

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

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

/* Background Glows (Premium Ambient Lighting) */
.ambient-glow-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.12) 0%, rgba(0,0,0,0) 70%);
    top: -150px;
    left: -150px;
    z-index: -1;
    filter: blur(80px);
    pointer-events: none;
}

.ambient-glow-2 {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.08) 0%, rgba(0,0,0,0) 70%);
    top: 40%;
    right: -250px;
    z-index: -1;
    filter: blur(100px);
    pointer-events: none;
}

.ambient-glow-3 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, rgba(0,0,0,0) 70%);
    bottom: -100px;
    left: 10%;
    z-index: -1;
    filter: blur(80px);
    pointer-events: none;
}

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

section {
    padding: 100px 0;
    position: relative;
}

/* --- GLASSMORPHISM CARD --- */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px -10px rgba(var(--primary-rgb), 0.15);
    transform: translateY(-5px);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

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

.gradient-text-alt {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.45);
}

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

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

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    transition: padding 0.3s;
}

nav.scrolled {
    padding: 12px 0;
    background: rgba(11, 15, 25, 0.9);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: white;
}

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

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

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

@media(min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

/* --- HERO SECTION --- */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    padding-top: 150px;
    padding-bottom: 20px;
}

.hero-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(var(--primary-rgb), 0.1);
    color: #93c5fd;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
}

@media(min-width: 768px) {
    .hero-title {
        font-size: 52px;
    }
}

.hero-desc {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 650px;
    text-align: center;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.showcase {
    padding-top: 20px;
}



/* --- FEATURES SECTION --- */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

@media(min-width: 768px) {
    .section-header h2 {
        font-size: 40px;
    }
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media(min-width: 576px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    text-align: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.4);
    transform: rotateY(360deg);
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
}



/* --- SHOWCASE SECTION (DESKTOP APP SIMULATOR) --- */
.showcase {
    background: linear-gradient(180deg, #0b0f19 0%, #080b13 100%);
}

.showcase-tab-container {
    max-width: 950px;
    margin: 0 auto;
}

.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    border-radius: 30px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

/* Simulated PyQt5 App Window wrapper */
.app-window-wrapper {
    position: relative;
    border-radius: 12px;
    border: 1px solid #334155;
    background: #1e293b;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
    color: #2c3e50;
    text-align: left;
}

/* Windows title bar */
.app-window-titlebar {
    background: #0f172a;
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1e293b;
    user-select: none;
}

.window-title {
    font-size: 11.5px;
    font-weight: 600;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.window-controls {
    display: flex;
    gap: 15px;
    color: #94a3b8;
    font-size: 12px;
}

.win-btn {
    cursor: pointer;
    transition: color 0.15s;
}

.win-btn:hover {
    color: white;
}

.win-btn-close:hover {
    color: #ef4444;
}

/* App Menu Bar */
.app-window-menubar {
    background: #1e293b;
    padding: 6px 16px;
    font-size: 11px;
    color: #f1f5f9;
    border-bottom: 1px solid #334155;
    display: flex;
    gap: 15px;
}

.menubar-item {
    cursor: pointer;
    font-weight: 500;
}

.menubar-item:hover {
    color: #3b82f6;
}

/* Splitter Layout: Left Sidebar + Right Panel */
.app-window-body {
    display: flex;
    height: 480px;
    background: #f5f7fa;
}

/* Sidebar styling matching actual app */
.app-window-sidebar {
    width: 200px;
    background: #1e293b;
    padding: 15px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    border-right: 1px solid #334155;
}

.sidebar-title {
    font-size: 14px;
    font-weight: 700;
    color: #f8fafc;
    text-align: center;
    margin-bottom: 2px;
}

.sidebar-user {
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
    margin-bottom: 8px;
}

.sidebar-search {
    width: 100%;
    padding: 6px 10px;
    background: #334155;
    border: 1px solid #475569;
    border-radius: 6px;
    color: #f1f5f9;
    font-size: 11px;
    outline: none;
}

.sidebar-list {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 2px;
}

.sidebar-list-header {
    font-size: 9.5px;
    font-weight: 700;
    color: #64748b;
    padding: 6px 4px;
    text-transform: uppercase;
}

.sidebar-list-item {
    font-size: 11.5px;
    color: #cbd5e1;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s;
}

.sidebar-list-item:hover {
    background: #334155;
    color: #f1f5f9;
}

.sidebar-list-item.selected {
    background: #3b82f6;
    color: white;
    font-weight: 600;
}

.sidebar-btn-add {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s;
}

.sidebar-btn-add:hover {
    background: #2563eb;
}

.sidebar-btn-del {
    background: transparent;
    color: #94a3b8;
    border: 1px solid #475569;
    border-radius: 6px;
    padding: 6px;
    font-size: 11px;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s;
}

.sidebar-btn-del:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
}

/* Right Content Panel matching actual app */
.app-window-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.content-header-bar {
    background: #ffffff;
    border-bottom: 2px solid #e5e7eb;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eff6ff;
    border: 2px solid #bfdbfe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #2c3e50;
}

.header-meta h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: #1f2937;
}

.header-meta p {
    font-size: 10.5px;
    color: #6b7280;
}

/* Tabs layout matching actual app styles.py */
.content-tab-bar {
    display: flex;
    background: #f5f7fa;
    padding: 8px 10px 0;
    gap: 2px;
    flex-shrink: 0;
}

.app-tab {
    background: #f3f4f6;
    color: #6b7280;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    border-bottom: none;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
}

.app-tab.active {
    background: #ffffff;
    color: #3b82f6;
    font-weight: 700;
    border-bottom: 2px solid #3b82f6;
}

.app-tab:hover:not(.active) {
    background: #e5e7eb;
}

.content-pane {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-top: none;
    margin: 0 10px 10px;
    border-radius: 0 0 8px 8px;
    flex-grow: 1;
    overflow-y: auto;
    padding: 16px;
}

.showcase-content {
    display: none;
}

.showcase-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Specific inner widgets for light mode PyQt5 app simulation */
.app-tab-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.app-tab-title {
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
}

.app-tab-buttons {
    display: flex;
    gap: 6px;
}

.app-btn-qt {
    background: #f8fafc;
    color: #1f2937;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.app-btn-qt:hover {
    background: #f1f5f9;
}

.app-btn-qt-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.app-btn-qt-success:hover {
    background: #a7f3d0;
}

/* Groupbox / Cards styling inside panel */
.qt-groupbox {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 14px;
}

.qt-groupbox-title {
    font-size: 12px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 4px;
}

.qt-progress-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 11px;
}

.qt-progress-label {
    width: 120px;
    color: #374151;
    font-weight: 500;
}

.qt-progress-container {
    flex-grow: 1;
    background: #e5e7eb;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    margin: 0 10px;
}

.qt-progress-bar {
    height: 100%;
    background: #3b82f6;
    border-radius: 6px;
}

.qt-progress-bar.success {
    background: #10b981;
}

.qt-progress-value {
    width: 45px;
    text-align: right;
    font-weight: 700;
    color: #1d4ed8;
}

.qt-progress-value.success {
    color: #059669;
}

.qt-stat-label {
    font-size: 11px;
    color: #374151;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Qt Table Widget style */
.qt-table-widget {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    text-align: left;
}

.qt-table-widget th {
    background: #f8fafc;
    color: #374151;
    font-weight: 600;
    padding: 8px 10px;
    border-bottom: 2px solid #e5e7eb;
}

.qt-table-widget td {
    padding: 8px 10px;
    border-bottom: 1px solid #f3f4f6;
    color: #2c3e50;
}

.qt-table-widget tr:hover {
    background: #f9fafb;
}

.qt-table-widget tr.selected {
    background: #eff6ff;
    color: #1d4ed8;
}

/* Profiles Tab simulation style */
.qt-profile-grid {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px;
}

.qt-profile-avatar {
    width: 100px;
    height: 120px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.qt-profile-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 15px;
}

.qt-field-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.qt-field-label {
    font-size: 10px;
    font-weight: 600;
    color: #6b7280;
}

.qt-field-value {
    background: #f9fafb;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 6px 8px;
    font-size: 11px;
    color: #1f2937;
    transition: border-color 0.15s, background-color 0.15s;
}

.qt-field-value:focus {
    border-color: #3b82f6;
    background-color: #ffffff;
    outline: none;
}

select.qt-field-value {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 10px;
    padding-right: 24px;
}

/* --- LICENSING & PRICING --- */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

@media(min-width: 576px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 10px 30px -5px rgba(var(--primary-rgb), 0.25);
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.8) 0%, rgba(10, 16, 30, 0.8) 100%);
}

.featured-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-header {
    margin-bottom: 25px;
}

.pricing-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.pricing-card.featured .pricing-title {
    color: #93c5fd;
}

.pricing-cost {
    display: flex;
    align-items: flex-end;
    gap: 5px;
}

.cost-amount {
    font-size: 36px;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.cost-period {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.pricing-features li.included {
    color: var(--text);
}

.pricing-features li svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--success);
}

.pricing-features li.not-included svg {
    color: var(--danger);
}

/* --- FAQ SECTION --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: rgba(255,255,255,0.15);
}

.faq-trigger {
    width: 100%;
    padding: 22px 25px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

.faq-trigger span {
    padding-right: 15px;
}

.faq-icon {
    font-size: 14px;
    color: var(--text-muted);
    transition: transform 0.3s;
}

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

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-content-inner {
    padding: 0 25px 25px;
    color: var(--text-muted);
    font-size: 14.5px;
}

/* --- CONTACT SECTION --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

@media(min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-header h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

@media(min-width: 768px) {
    .contact-header h2 {
        font-size: 44px;
    }
}

.contact-header p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.method-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 1px solid rgba(var(--primary-rgb), 0.15);
}

.method-details h4 {
    font-size: 15px;
    font-weight: 700;
    color: white;
}

.method-details p {
    font-size: 13.5px;
    color: var(--text-muted);
}

.contact-form-wrapper {
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media(min-width: 576px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-field label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(17, 24, 39, 0.4);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.form-input:focus {
    border-color: var(--primary);
    background: rgba(17, 24, 39, 0.7);
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.1);
}

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

.submit-btn-row {
    margin-top: 10px;
}

/* --- FOOTER --- */
footer {
    background: #060911;
    border-top: 1px solid var(--border);
    padding: 40px 0;
    text-align: center;
    font-size: 13.5px;
    color: var(--text-muted);
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Toast Message */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #10b981;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    font-size: 14px;
    font-weight: 600;
    z-index: 2000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* --- MOBILE NAVIGATION RESPONSIVE --- */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(11, 15, 25, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid var(--border);
        padding: 100px 30px;
        gap: 25px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        align-items: flex-start;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 16px;
        font-weight: 600;
        width: 100%;
    }
    
    .nav-links .btn {
        width: 100%;
        padding: 12px 24px;
    }
}

/* --- APP SHOWCASE RESPONSIVE --- */
@media (max-width: 768px) {
    .showcase-tabs {
        gap: 6px;
        margin-bottom: 25px;
    }
    
    .tab-btn {
        padding: 6px 12px;
        font-size: 11px;
        border-radius: 20px;
    }
    
    .app-window-sidebar {
        display: none !important;
    }
    
    .content-tab-bar {
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        gap: 4px;
    }
    
    .app-tab {
        flex-shrink: 0 !important;
        padding: 5px 10px !important;
        font-size: 10px !important;
    }
    
    .app-window-body {
        height: 440px;
    }
    
    .content-pane {
        margin: 0 6px 6px;
        padding: 10px;
        border-radius: 0 0 6px 6px;
    }
    
    .qt-profile-wrapper {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .qt-profile-left, .qt-profile-right {
        width: 100% !important;
    }
    
    .qt-profile-avatar {
        width: 100px !important;
        height: 100px !important;
        font-size: 40px !important;
    }
    
    .qt-profile-fields {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    
    .qt-table-widget {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .qt-groupbox {
        padding: 8px;
        margin-bottom: 10px;
    }
    
    .app-tab-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 10px;
    }
    
    .app-tab-title {
        font-size: 12px;
    }
    
    .app-btn-qt {
        font-size: 10px;
        padding: 3px 8px;
    }
}

/* --- HERO SECTION MOBILE OPTIMIZATIONS --- */
@media (max-width: 992px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .hero-grid {
        gap: 30px;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-app-preview-scale {
        transform: scale(0.95);
        transform-origin: top center;
    }
}

@media (max-width: 576px) {
    .hero-app-preview-scale {
        transform: scale(0.8);
        margin-bottom: -40px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-desc {
        font-size: 15px;
    }
}
