/* ==========================================================================
   Mate Social - Main Stylesheet (Perfect Flex Centering for VS Logos)
   ========================================================================== */

/* Design System & Variables */
:root {
    --primary: #5700fa;
    --primary-hover: #4800d4;
    --primary-dark: #310078;
    --primary-light: #f5f0ff;
    --primary-light-hover: #eae0ff;
    --accent: #ff4785;
    
    --text-dark: #16002f;
    --text-body: #3c344d;
    --text-muted: #5f5b68;
    --white: #ffffff;
    
    --bg-body: #faf8ff;
    --bg-surface: #ffffff;
    --border: #e7ddff;
    --border-subtle: #f0e8ff;
    
    --shadow-sm: 0 2px 8px rgba(87, 0, 250, 0.05);
    --shadow-md: 0 8px 24px rgba(87, 0, 250, 0.08);
    --shadow-lg: 0 16px 40px rgba(87, 0, 250, 0.12);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    
    --container-width: 1200px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-body);
    background-color: var(--bg-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.25;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem auto;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-top: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(87, 0, 250, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(87, 0, 250, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

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

.btn-light:hover {
    background-color: var(--primary-light-hover);
}

/* Floating Navigation Header */
.site-header {
    position: sticky;
    top: 1rem;
    z-index: 1000;
    margin-bottom: 2rem;
}

.nav-wrapper {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-md);
    padding: 0.6rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 36px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
    padding: 0.5rem 0.25rem;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-login {
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid var(--border);
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-login:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(87, 0, 250, 0.25);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-dark);
}

/* Hero Section */
.hero-section {
    padding: 3rem 0 5rem 0;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.25rem;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero-badge-fire {
    background: #fff0f5;
    color: var(--accent);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
}

.hero-title {
    max-width: 900px;
    margin: 0 auto 1.5rem auto;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary) 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    max-width: 680px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.15rem;
    color: var(--text-muted);
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.hero-preview {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.hero-preview img {
    border-radius: var(--radius-md);
    width: 100%;
}

/* Platforms Grid */
.platforms-section {
    padding: 5rem 0;
    background: var(--bg-body);
}

.platforms-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 1.25rem;
    max-width: 1020px;
    margin: 2.5rem auto 0 auto;
}

.platform-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: calc(16.666% - 1.05rem);
    min-width: 130px;
    box-shadow: 0 8px 24px rgba(87, 0, 250, 0.04);
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(87, 0, 250, 0.12);
    border-color: var(--primary);
}

.platform-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

.platform-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* Exact Recreated Vietnamese UI Graphic Component */
.exact-vn-graphic-section {
    padding: 6rem 0;
    background: var(--bg-body);
}

.exact-graphic-outer-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 5rem 2.5rem;
    box-shadow: 0 20px 60px rgba(87, 0, 250, 0.06);
    position: relative;
    max-width: 1060px;
    margin: 0 auto;
}

.exact-center-editor-window {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    padding: 2.25rem 2rem;
    width: 60%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.exact-editor-title-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.4rem;
}

.exact-editor-title-box {
    height: 36px;
    background: #f1f5f9;
    border-radius: 6px;
    margin-bottom: 1.25rem;
}

.exact-editor-platforms-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1.5px solid #e2e8f0;
}

.exact-platform-icon-bubble {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
}

.exact-editor-format-row {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 1.25rem;
}

.exact-editor-images-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.exact-img-thumbnail {
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.exact-img-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exact-upload-btn-box {
    height: 90px;
    border-radius: 12px;
    border: 2px dashed #cbd5e1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    gap: 2px;
}

.exact-editor-actions {
    display: flex;
    gap: 0.6rem;
}

.exact-btn {
    flex: 1;
    padding: 0.65rem 0.25rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    border: none;
    color: #ffffff;
    text-align: center;
}

.exact-btn.publish { background: #5700fa; }
.exact-btn.schedule { background: #06b6d4; }
.exact-btn.draft { background: #cbd5e1; color: #475569; }

/* Overlapping Floating Cards Positioned Exactly like Image */
.float-card-top-left {
    position: absolute;
    top: 35px;
    left: 45px;
    width: 125px;
    height: 125px;
    background: #10b981;
    color: #ffffff;
    border-radius: 20px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    font-size: 0.825rem;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    z-index: 3;
}

.float-card-top-right {
    position: absolute;
    top: 35px;
    right: 45px;
    width: 210px;
    background: #ffffff;
    border-left: 4px solid var(--primary);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 3;
}

.float-card-top-right h4 {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.float-card-mid-right {
    position: absolute;
    top: 175px;
    right: 55px;
    width: 135px;
    height: 110px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 20px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 10px 25px rgba(87, 0, 250, 0.35);
    z-index: 3;
}

.float-card-bottom-right {
    position: absolute;
    bottom: 50px;
    right: 40px;
    width: 240px;
    background: #ffffff;
    border-left: 4px solid var(--primary);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 3;
}

.float-card-bottom-left {
    position: absolute;
    bottom: 45px;
    left: 110px;
    background: #ffffff;
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 0.8rem 1.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-dark);
    z-index: 3;
}

.float-card-left-calendar {
    position: absolute;
    top: 155px;
    left: 35px;
    width: 220px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    z-index: 3;
}

.cal-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.cal-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
    font-size: 0.65rem;
    color: #64748b;
}

.cal-day-num {
    padding: 2px 0;
    border-radius: 4px;
}
.cal-day-num.active {
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
}

/* Synchronized VS Plugin Logos Row - Perfectly Centered Flex */
.vs-logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.vs-plugin-card {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: #ffffff;
    border: 1.5px solid var(--border);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: var(--transition);
    overflow: hidden;
}

.vs-plugin-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.vs-plugin-card.mate-social-card {
    width: 66px;
    height: 66px;
    background: #ffffff;
    border: 2.5px solid var(--primary);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(87, 0, 250, 0.25);
    transform: scale(1.1);
    padding: 0;
}

.vs-plugin-card img, .vs-plugin-card svg {
    max-width: 40px;
    max-height: 40px;
    width: auto;
    height: auto;
    display: block;
    margin: auto;
}

.vs-badge-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary);
    padding: 0 0.25rem;
}

/* How It Works Timeline */
.how-it-works-timeline {
    padding: 6rem 0;
    background: var(--white);
}

.timeline-wrapper {
    max-width: 1000px;
    margin: 3.5rem auto 0 auto;
    position: relative;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 50px;
    bottom: 50px;
    left: 50%;
    width: 3px;
    background: #e2e8f0;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-row {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.timeline-row:last-child {
    margin-bottom: 0;
}

.timeline-col-img, .timeline-col-content {
    flex: 1;
    padding: 0 2.5rem;
}

.timeline-col-img img {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    border-radius: 16px;
}

.timeline-badge {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: #ffffff;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 14px rgba(87, 0, 250, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.timeline-col-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.timeline-col-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Asymmetric 3-Feature Cards Grid */
.asymmetric-features-section {
    padding: 6rem 0;
    background: var(--bg-body);
}

.asymmetric-features-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-tall-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(87, 0, 250, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-tall-card img {
    margin-bottom: 2rem;
    max-height: 220px;
    object-fit: contain;
}

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

.feature-tall-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
}

.feature-stacked-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-stacked-card {
    border-radius: 20px;
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.feature-stacked-card.pink {
    background: #fff5f8;
    border: 1px solid #fecdd3;
}

.feature-stacked-card.yellow {
    background: #fffdf0;
    border: 1px solid #fef08a;
}

.feature-stacked-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.feature-stacked-card img {
    width: 140px;
    height: auto;
    object-fit: contain;
}

.feature-stacked-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
}

.feature-stacked-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Comparison Banner Card */
.comparison-banner-section {
    padding: 5rem 0;
}

.comparison-banner-card {
    background: #f5f0ff;
    border: 2px solid var(--border);
    border-radius: 24px;
    padding: 4rem 3rem 3rem 3rem;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.comparison-banner-card h2 {
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

.comparison-banner-card h2 span {
    color: var(--primary);
}

.comparison-banner-card p {
    max-width: 780px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.comparison-banner-card img {
    max-width: 750px;
    width: 100%;
    margin: 3rem auto 0 auto;
}

/* Detailed Feature Cards */
.features-section {
    padding: 6rem 0;
    background: var(--white);
}

.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-rich-card {
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.feature-rich-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-img-wrapper {
    background: #ffffff;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-subtle);
    min-height: 200px;
}

.feature-img-wrapper img {
    max-height: 180px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.feature-rich-card:hover .feature-img-wrapper img {
    transform: scale(1.04);
}

.feature-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.feature-card-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.feature-card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* System Comparison Showcase */
.system-comparison-section {
    padding: 6rem 0;
    background: var(--bg-body);
}

.system-comparison-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.comparison-list-card {
    border-radius: 24px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(87, 0, 250, 0.04);
    transition: var(--transition);
}

.comparison-list-card.old-system {
    background: #ffffff;
    border: 1.5px solid #fee2e2;
}

.comparison-list-card.new-system {
    background: #ffffff;
    border: 1.5px solid #dcfce7;
    box-shadow: 0 12px 36px rgba(87, 0, 250, 0.08);
}

.comparison-list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(87, 0, 250, 0.1);
}

.comparison-list-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    color: var(--text-dark);
    line-height: 1.35;
}

.comparison-check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.comparison-check-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.96rem;
    color: var(--text-body);
    line-height: 1.5;
}

.check-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}

.check-badge.red {
    background: #ffe4e6;
    color: #e11d48;
}

.check-badge.green {
    background: #dcfce7;
    color: #16a34a;
}

.comparison-graphic {
    border-radius: 16px;
    overflow: hidden;
    margin-top: auto;
    text-align: center;
}

.comparison-graphic img {
    max-height: 220px;
    width: auto;
    margin: 0 auto;
    object-fit: contain;
}

/* Interactive Screenshots Gallery */
.gallery-section {
    padding: 6rem 0;
    background: var(--white);
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.gallery-tab-btn {
    padding: 0.6rem 1.4rem;
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-tab-btn:hover, .gallery-tab-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(87, 0, 250, 0.25);
}

.gallery-preview-container {
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-image-panel {
    display: none;
    animation: fadeIn 0.35s ease;
}

.gallery-image-panel.active {
    display: block;
}

/* Custom High-Fidelity App UI Window Mockup */
.app-mockup-window {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(22, 0, 47, 0.08);
    overflow: hidden;
    text-align: left;
}

.app-mockup-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-mockup-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.app-control-dot.red { background: #ef4444; }
.app-control-dot.yellow { background: #f59e0b; }
.app-control-dot.green { background: #10b981; }

.app-mockup-title {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}

.app-mockup-nav {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-mockup-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.app-mockup-brand img {
    height: 28px;
    width: auto;
}

.app-mockup-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #475569;
    font-weight: 500;
}

.app-mockup-menu span.active {
    color: var(--primary);
    font-weight: 700;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.25rem;
}

.app-mockup-body {
    padding: 2.5rem 2rem;
    background: #faf8ff;
    min-height: 380px;
}

.mockup-welcome-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    box-shadow: 0 4px 16px rgba(87, 0, 250, 0.04);
}

.mockup-avatar-cluster {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-center-avatar {
    width: 72px;
    height: 72px;
    background: var(--primary-light);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 2;
}

.floating-social-icon {
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.mockup-welcome-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.mockup-welcome-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.mockup-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.mockup-card-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.mockup-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
}
.mockup-badge.success { background: #d1fae5; color: #047857; }
.mockup-badge.purple { background: var(--primary-light); color: var(--primary); }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Comparison Table */
.comparison-section {
    padding: 6rem 0;
}

.comparison-table-wrapper {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th, .comparison-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
    background: var(--primary-light);
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.check-icon { color: #10b981; font-weight: bold; font-size: 1.2rem; }
.cross-icon { color: #ef4444; font-weight: bold; font-size: 1.2rem; }

/* Testimonials */
.testimonials-section {
    padding: 6rem 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-body);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.author-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Pricing Section */
.pricing-section {
    padding: 6rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}

.pricing-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 0.3rem 1.25rem;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 2.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--primary);
    margin: 1rem 0;
}

.price-amount span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.price-features {
    list-style: none;
    margin: 1.5rem 0 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.faq-answer {
    padding: 0 1.5rem 1.25rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: none;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-icon {
    transition: var(--transition);
}

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

/* Founder / Story Section */
.story-section {
    padding: 6rem 0;
}

.story-box {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    color: var(--white);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.story-box h2, .story-box h3 {
    color: var(--white);
}

.story-box p {
    color: rgba(255, 255, 255, 0.85);
    margin-top: 1rem;
    font-size: 1.05rem;
}

/* Footer Section */
.site-footer {
    background-color: var(--primary-light);
    border-top: 1px solid var(--border);
    padding: 3.5rem 0 2.5rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.footer-logo img {
    height: 38px;
    width: auto;
}

.footer-desc {
    color: var(--text-body);
    font-size: 1rem;
    max-width: 650px;
    line-height: 1.6;
}

.footer-company-info {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.footer-company-name {
    font-weight: 700;
}

.footer-copyright {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .steps-grid, .feature-cards-grid, .testimonials-grid, .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline-wrapper::before {
        left: 28px;
    }
    
    .timeline-row {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 70px;
    }

    .timeline-col-img, .timeline-col-content {
        padding: 0;
        width: 100%;
    }
    
    .timeline-badge {
        left: 28px;
    }

    .asymmetric-features-grid {
        grid-template-columns: 1fr;
    }

    .system-comparison-box {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .story-box {
        grid-template-columns: 1fr;
        padding: 2.5rem;
    }

    .exact-center-editor-window {
        width: 100%;
    }

    .float-card-top-left, .float-card-top-right, .float-card-mid-right, .float-card-bottom-right, .float-card-bottom-left, .float-card-left-calendar {
        position: static;
        width: 100%;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 4.5rem;
        left: 0;
        right: 0;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        padding: 1.5rem;
        flex-direction: column;
        gap: 1.25rem;
        box-shadow: var(--shadow-lg);
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .steps-grid, .feature-cards-grid, .testimonials-grid, .pricing-grid, .mockup-grid-2, .exact-editor-images-row {
        grid-template-columns: 1fr;
    }
    
    .feature-stacked-card {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        text-align: center;
        align-items: center;
    }
    
    .footer-company-info {
        align-items: center;
    }
}

@media (max-width: 430px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .gallery-tabs {
        flex-direction: column;
    }
    
    .gallery-tab-btn {
        width: 100%;
        text-align: center;
    }
    
    .app-mockup-menu {
        display: none;
    }
}
