/* ============================================
   AGILIO.AI LANDING PAGE - NOTHING-INSPIRED DESIGN
   ============================================ */

/* CSS Variables */
:root {
    /* Colors - Mud/Earthy Theme */
    --bg-primary: #F5EBE0;
    --bg-dark: #3D2B1F;
    --bg-gray: #E6D5C3;
    --text-primary: #3D2B1F;
    --text-secondary: #8B7355;
    --text-light: #FAF6F0;
    --border: #D4C4B0;
    --border-dark: #5C4A3D;

    /* Accent - Terracotta/Burnt Sienna */
    --accent: #A0522D;
    /* Mud/Terracotta */
    --accent-green: #22C55E;
    /* Growth Green */
    --accent-green-glow: rgba(34, 197, 94, 0.2);
    --accent-glow: rgba(160, 82, 45, 0.2);
    --accent-light: rgba(160, 82, 45, 0.1);
    --success: #6B8E23;
    --warning: #CD853F;
    --error: #A52A2A;

    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 160px;
    --content-max-width: 1200px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    color: inherit;
    /* Inherit from section color settings */
    font-family: var(--font-display);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(245, 235, 224, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav.hidden {
    transform: translateY(-100%);
}

.nav-container {
    max-width: var(--content-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-cta {
    background: var(--text-primary) !important;
    color: var(--text-light) !important;
    padding: 10px 24px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-cta:hover {
    background: var(--accent) !important;
}

.nav-cta .arrow {
    transition: var(--transition);
}

.nav-cta:hover .arrow {
    transform: translateX(4px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    padding: 40px;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 24px;
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 80px;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 1000px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 10vw, 100px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -3px;
    margin-bottom: 60px;
}

.hero-title .line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.8s ease forwards;
}

.hero-title .line:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Platform Preview */
.hero-visual {
    margin-bottom: 60px;
    perspective: 1000px;
}

.platform-preview {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.preview-window {
    background: var(--bg-dark);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.window-header {
    padding: 16px 20px;
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #FF5F57;
}

.dot.yellow {
    background: #FFBD2E;
}

.dot.green {
    background: #28CA41;
}

.window-content {
    display: flex;
    min-height: 300px;
}

.sidebar {
    width: 60px;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-item {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.sidebar-item.active {
    background: var(--accent);
}

.main-area {
    flex: 1;
    padding: 30px;
    position: relative;
}

.workflow-canvas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.node {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    opacity: 0;
    transform: scale(0.8);
    animation: nodeAppear 0.5s ease forwards;
}

.node-start {
    background: var(--success);
    animation-delay: 0.5s;
}

.node-form {
    background: var(--accent);
    animation-delay: 0.8s;
}

.node-action {
    background: var(--warning);
    animation-delay: 1.1s;
}

.node-end {
    background: #6B7280;
    animation-delay: 1.4s;
}

@keyframes nodeAppear {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.connector {
    display: none;
}

/* Hero CTA */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--text-primary);
    color: var(--text-light);
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    opacity: 0;
    animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-cta:hover {
    background: var(--accent);
    transform: scale(1.02);
}

.hero-cta .arrow {
    transition: var(--transition);
}

.hero-cta:hover .arrow {
    transform: translateX(4px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    opacity: 0;
    animation: fadeUp 0.8s ease 1s forwards;
}

.scroll-arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(8px);
    }

    60% {
        transform: translateY(4px);
    }
}

/* ============================================
   SECTION STYLES
   ============================================ */
.feature-section {
    padding: var(--section-padding) 40px;
    color: var(--text-primary);
    /* Default for light sections */
}

.feature-section.dark {
    background: var(--bg-dark);
    color: var(--text-light) !important;
}

.feature-section.light {
    background: var(--bg-primary);
    color: var(--text-primary) !important;
}

.feature-section.gray-bg {
    background: var(--bg-gray);
    color: var(--text-primary) !important;
}

.feature-content {
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -2px;
    text-align: center;
    margin-bottom: 80px;
    line-height: 1.1;
    color: var(--text-primary);
    opacity: 1;
    /* Ensure base visibility */
}

.feature-section.dark .section-title {
    color: var(--text-light) !important;
}

.feature-section.light .section-title {
    color: var(--text-primary) !important;
}

/* Philosophy Section */
.philosophy-section {
    padding: 120px 40px;
    background: linear-gradient(to bottom, var(--bg-primary), var(--bg-gray));
    position: relative;
    overflow: hidden;
}

.philosophy-container {
    max-width: var(--content-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.poem-line {
    font-style: italic;
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 18px;
    opacity: 0.8;
}

.philosophy-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 32px;
    line-height: 1.2;
}

.philosophy-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 540px;
}

.philosophy-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    font-family: var(--font-display);
}

.stat-value.green {
    color: var(--accent-green);
}

.stat-arrow {
    font-size: 24px;
    color: var(--border);
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.philosophy-visual {
    position: relative;
    height: 400px;
}

.seed-animation {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
}

.earth-base {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    background: var(--bg-dark);
    border-radius: 50% 50% 0 0;
}

.sprout {
    position: absolute;
    bottom: 40px;
    left: 50%;
    width: 4px;
    height: 0;
    background: var(--accent-green);
    transform: translateX(-50%);
    animation: growSprout 4s ease infinite;
}

.sprout::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 20px;
    height: 10px;
    background: var(--accent-green);
    border-radius: 20px 0;
    transform: scale(0);
    animation: leafAppear 4s ease infinite;
}

@keyframes growSprout {

    0%,
    20% {
        height: 0;
    }

    50%,
    100% {
        height: 100px;
    }
}

@keyframes leafAppear {

    0%,
    45% {
        transform: scale(0);
    }

    60%,
    100% {
        transform: scale(1) rotate(-20deg);
    }
}

/* ============================================
   REAL APPLICATIONS SECTION
   ============================================ */
.real-apps-section {
    background: var(--bg-dark);
    padding: var(--section-padding) 40px;
    overflow: hidden;
}

.real-apps-container {
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.real-apps-header {
    text-align: center;
    margin-bottom: 80px;
}

.real-apps-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 600;
    letter-spacing: -2px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.real-apps-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Apps Showcase Grid */
.apps-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.app-showcase-card {
    position: relative;
}

.app-showcase-card:nth-child(4) {
    grid-column: 1;
    justify-self: center;
}

.app-showcase-card:nth-child(5) {
    grid-column: 3;
    justify-self: center;
}

/* App Frame (Browser Mockup) */
.app-frame {
    background: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.app-showcase-card:hover .app-frame {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(160, 82, 45, 0.3);
}

.app-frame.mobile {
    max-width: 280px;
    margin: 0 auto;
}

.app-frame-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-gray);
    border-bottom: 1px solid var(--border);
}

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

.frame-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
}

.frame-dots span:first-child {
    background: #FF5F57;
}

.frame-dots span:nth-child(2) {
    background: #FFBD2E;
}

.frame-dots span:last-child {
    background: #28CA41;
}

.frame-url {
    font-size: 12px;
    color: var(--text-secondary);
    font-family: monospace;
}

.app-frame-content {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.app-frame.mobile .app-frame-content {
    aspect-ratio: 9/16;
    max-height: 400px;
}

/* GIF Placeholder with Animations */
.gif-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-gray) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

/* App Overlay */
.app-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(61, 43, 31, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.app-showcase-card:hover .app-overlay {
    opacity: 1;
}

.app-overlay span {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
    padding: 12px 24px;
    border: 2px solid var(--accent);
    border-radius: 8px;
    transform: translateY(10px);
    transition: var(--transition);
}

.app-showcase-card:hover .app-overlay span {
    transform: translateY(0);
}

/* App Info */
.app-info {
    padding: 20px 8px 8px;
    text-align: center;
}

.app-info h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 6px;
}

.app-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* Placeholder Animations */
.placeholder-animation {
    width: 100%;
    height: 100%;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

/* Chatbot Animation */
.placeholder-animation.chatbot {
    gap: 12px;
    justify-content: flex-end;
    padding-bottom: 60px;
}

.chat-bubble {
    border-radius: 12px;
    animation: bubbleAppear 2s ease infinite;
}

.chat-bubble.user {
    width: 60%;
    height: 36px;
    background: var(--accent);
    align-self: flex-end;
    animation-delay: 0s;
}

.chat-bubble.ai {
    width: 70%;
    height: 48px;
    background: var(--bg-gray);
    align-self: flex-start;
    animation-delay: 0.5s;
}

.chat-bubble.short {
    width: 40%;
}

.chat-bubble.long {
    height: 60px;
    width: 75%;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px;
    background: var(--bg-gray);
    border-radius: 12px;
    width: fit-content;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: typing 1.4s ease infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    30% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

@keyframes bubbleAppear {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(0.98);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ERP Animation */
.placeholder-animation.erp {
    flex-direction: row;
    padding: 0;
    gap: 0;
}

.erp-sidebar {
    width: 50px;
    background: var(--bg-dark);
    height: 100%;
}

.erp-main {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.erp-header-bar {
    height: 24px;
    background: var(--bg-gray);
    border-radius: 4px;
    width: 60%;
}

.erp-cards {
    display: flex;
    gap: 8px;
}

.erp-card {
    flex: 1;
    height: 50px;
    background: var(--accent-light);
    border-radius: 6px;
    animation: cardPulse 2s ease infinite;
}

.erp-card:nth-child(2) {
    animation-delay: 0.3s;
}

.erp-card:nth-child(3) {
    animation-delay: 0.6s;
}

.erp-table {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.erp-row {
    height: 20px;
    background: var(--bg-gray);
    border-radius: 4px;
    animation: rowSlide 3s ease infinite;
}

.erp-row:nth-child(2) {
    animation-delay: 0.2s;
    width: 90%;
}

.erp-row:nth-child(3) {
    animation-delay: 0.4s;
    width: 95%;
}

@keyframes cardPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

@keyframes rowSlide {

    0%,
    100% {
        transform: translateX(0);
        opacity: 0.6;
    }

    50% {
        transform: translateX(4px);
        opacity: 1;
    }
}

/* Social Animation */
.placeholder-animation.social {
    gap: 10px;
    padding: 12px;
}

.social-post {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.social-post.small {
    opacity: 0.6;
}

.post-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.post-line {
    height: 10px;
    background: var(--bg-gray);
    border-radius: 4px;
}

.post-line.short {
    width: 60%;
}

.social-image {
    height: 100px;
    background: linear-gradient(135deg, var(--accent-light), var(--bg-gray));
    border-radius: 8px;
    animation: imageFade 3s ease infinite;
}

.social-actions {
    display: flex;
    gap: 20px;
    padding: 8px 0;
}

.social-actions span {
    width: 24px;
    height: 24px;
    background: var(--bg-gray);
    border-radius: 4px;
}

.social-actions .heart {
    animation: heartBeat 2s ease infinite;
}

@keyframes imageFade {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
        background: var(--accent);
    }
}

/* Dating Animation */
.placeholder-animation.dating {
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.profile-card {
    width: 100%;
    max-width: 200px;
    background: var(--bg-gray);
    border-radius: 16px;
    overflow: hidden;
    animation: cardSwipe 4s ease infinite;
}

.profile-image {
    height: 180px;
    background: linear-gradient(135deg, var(--accent), var(--warning));
}

.profile-info {
    padding: 16px;
}

.profile-name {
    height: 16px;
    width: 70%;
    background: var(--border);
    border-radius: 4px;
    margin-bottom: 8px;
}

.profile-detail {
    height: 12px;
    width: 50%;
    background: var(--border);
    border-radius: 4px;
    opacity: 0.6;
}

.match-actions {
    display: flex;
    gap: 24px;
}

.action-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-gray);
}

.action-btn.reject {
    background: var(--error);
    opacity: 0.7;
}

.action-btn.like {
    background: var(--success);
    animation: likeGlow 2s ease infinite;
}

@keyframes cardSwipe {

    0%,
    100% {
        transform: rotate(0);
    }

    25% {
        transform: rotate(-3deg) translateX(-10px);
    }

    75% {
        transform: rotate(3deg) translateX(10px);
    }
}

@keyframes likeGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(107, 142, 35, 0.4);
    }

    50% {
        box-shadow: 0 0 20px 8px rgba(107, 142, 35, 0.3);
    }
}

/* Admin Animation */
.placeholder-animation.admin {
    flex-direction: row;
    padding: 0;
    gap: 0;
}

.admin-nav {
    width: 45px;
    background: var(--bg-dark);
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item {
    width: 100%;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.nav-item.active {
    background: var(--accent);
}

.admin-content {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-stats {
    display: flex;
    gap: 8px;
}

.stat-box {
    flex: 1;
    height: 45px;
    background: var(--bg-gray);
    border-radius: 6px;
    animation: statFlash 3s ease infinite;
}

.stat-box:nth-child(2) {
    animation-delay: 0.5s;
}

.stat-box:nth-child(3) {
    animation-delay: 1s;
}

.admin-chart {
    height: 60px;
    background: linear-gradient(90deg, var(--accent-light) 30%, var(--bg-gray) 30%);
    border-radius: 6px;
    animation: chartGrow 4s ease infinite;
}

.admin-logs {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.log-row {
    height: 14px;
    background: var(--bg-gray);
    border-radius: 3px;
    animation: logAppear 2s ease infinite;
}

.log-row:nth-child(2) {
    animation-delay: 0.3s;
    width: 85%;
}

.log-row:nth-child(3) {
    animation-delay: 0.6s;
    width: 90%;
}

@keyframes statFlash {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
        background: var(--accent-light);
    }
}

@keyframes chartGrow {

    0%,
    100% {
        background: linear-gradient(90deg, var(--accent-light) 30%, var(--bg-gray) 30%);
    }

    50% {
        background: linear-gradient(90deg, var(--accent-light) 70%, var(--bg-gray) 70%);
    }
}

@keyframes logAppear {

    0%,
    100% {
        opacity: 0.5;
        transform: translateX(0);
    }

    50% {
        opacity: 1;
        transform: translateX(2px);
    }
}

/* Apps Tagline */
.apps-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
}

.tagline-icon {
    font-size: 24px;
}

.apps-tagline span:last-child {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .apps-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .app-showcase-card:nth-child(4),
    .app-showcase-card:nth-child(5) {
        grid-column: auto;
        justify-self: auto;
    }
}

@media (max-width: 768px) {
    .real-apps-section {
        padding: 100px 24px;
    }

    .apps-showcase-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 400px;
        margin: 0 auto 60px;
    }

    .app-frame.mobile {
        max-width: 100%;
    }

    .app-frame.mobile .app-frame-content {
        aspect-ratio: 16/10;
        max-height: none;
    }

    .apps-tagline {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* ============================================
   FEATURES SHOWCASE SECTION (Framer-style)
   ============================================ */
/* Showcase Scroll Sections (Pinned/Fixed Effect) */
.features-showcase {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 0;
    /* Remove padding as we strictly control height */
    position: relative;
    z-index: 10;
}

/* On Desktop: Enable Pinned Scroll Effect */
@media (min-width: 1024px) {
    .features-showcase {
        height: 400vh;
        /* 4 slides * 100vh approx */
    }

    .showcase-container {
        position: sticky;
        top: 0;
        height: 100vh;
        width: 100%;
        max-width: var(--content-max-width);
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        /* Start from top to prevent clipping */
        padding-top: 12vh;
        /* Removed overflow: hidden to prevent clipping headers */
    }

    .showcase-title {
        margin-bottom: 60px;
        position: relative;
        z-index: 10;
        color: var(--text-light) !important;
        font-size: clamp(40px, 6vw, 72px);
        font-weight: 700;
        text-align: center;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .showcase-content {
        display: grid;
        grid-template-columns: 450px 1fr;
        gap: 80px;
        align-items: center;
        height: auto;
        flex: 1;
        /* Take remaining space */
    }

    .showcase-tabs {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        position: relative;
        height: 450px;
        /* Increased height for text area */
        padding-bottom: 0;
        gap: 0;
    }

    .showcase-tab {
        grid-column: 1;
        grid-row: 1;
        padding: 0;
        min-height: auto;
        border: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
        opacity: 0;
        transform: translateY(60px);
        /* Enter from bottom */
        transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }

    .showcase-tab.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }

    .showcase-tab.scrolled-past {
        opacity: 0;
        transform: translateY(-60px);
        /* Exit to top */
    }

    /* Fallback: Ensure first child is visible by default if no active class is present (e.g. before JS runs) */
    .showcase-tab:first-child:not(.active):not(.scrolled-past) {
        opacity: 1;
        transform: translateY(0);
    }

    /* Content styling updates */
    .showcase-tab .tab-content h3 {
        font-size: 48px;
        margin-bottom: 24px;
        opacity: 1;
    }

    .showcase-tab .tab-content p {
        font-size: 20px;
        opacity: 0.9;
        max-width: 90%;
    }

    .showcase-tab .tab-link {
        margin-top: 10px;
        font-size: 18px;
    }

    /* Hide borders and structure from previous step */
    .showcase-tab:first-child,
    .showcase-tab:last-child {
        border: none;
    }

    /* Align Preview */
    .showcase-preview {
        height: 500px;
        position: relative;
        top: auto;
        /* Reset sticky from previous step */
    }

    .preview-container {
        height: 100%;
        aspect-ratio: auto;
    }
}

/* Fallback/Mobile Styles */
@media (max-width: 1023px) {
    .features-showcase {
        padding: var(--section-padding) 24px;
        height: auto;
    }

    .showcase-tab {
        padding: 40px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        min-height: auto;
        opacity: 1;
    }

    .showcase-tab.active {
        opacity: 1;
    }
}

/* Preview Area */
.showcase-preview {
    position: sticky;
    top: 120px;
}

.preview-container {
    position: relative;
    background: var(--bg-gray);
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.preview-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-image.active {
    opacity: 1;
}

.preview-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-gray) 0%, #E6D5C3 100%);
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    color: var(--accent);
    opacity: 0.6;
}

.placeholder-icon svg {
    width: 100%;
    height: 100%;
}

.placeholder-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    border: 2px dashed var(--border);
}

/* Responsive */
@media (max-width: 1024px) {
    .showcase-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .showcase-preview {
        position: relative;
        top: 0;
        order: -1;
    }

    .preview-container {
        aspect-ratio: 16/10;
    }
}

@media (max-width: 768px) {
    .features-showcase {
        padding: 100px 24px;
    }

    .showcase-title {
        margin-bottom: 50px;
    }

    .showcase-tab {
        padding: 24px 0;
    }

    .showcase-tab .tab-content h3 {
        font-size: 20px;
    }
}

/* ============================================
   OVERVIEW / PILLARS SECTION
   ============================================ */
.overview {
    padding: var(--section-padding) 40px;
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.pillar {
    text-align: center;
    padding: 40px 30px;
    border-radius: 16px;
    background: var(--bg-gray);
    transition: var(--transition);
}

.pillar:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.pillar-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--accent);
}

.pillar h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

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

/* ============================================
   WORKFLOW SECTION
   ============================================ */
.workflow-demo {
    margin-bottom: 60px;
}

.workflow-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid var(--border-dark);
}

.wf-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-slow);
}

.wf-node.visible {
    opacity: 1;
    transform: translateY(0);
}

.wf-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wf-start .wf-icon {
    background: var(--success);
    border-color: var(--success);
}

.wf-form .wf-icon {
    background: var(--accent);
    border-color: var(--accent);
}

.wf-condition .wf-icon {
    background: var(--warning);
    border-color: var(--warning);
    transform: rotate(45deg);
}

.wf-condition .wf-icon>* {
    transform: rotate(-45deg);
}

.wf-approve .wf-icon {
    background: var(--success);
    border-color: var(--success);
}

.wf-reject .wf-icon {
    background: var(--error);
    border-color: var(--error);
}

.wf-node span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.wf-line {
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.wf-line.visible {
    transform: scaleX(1);
}

.wf-branch {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wf-branch-line {
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
}

.wf-outcomes {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

.feature-icon {
    color: var(--accent);
}

/* ============================================
   COMPONENTS GRID
   ============================================ */
.components-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.component-card {
    background: var(--bg-gray);
    border-radius: 16px;
    padding: 24px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.component-card:hover {
    transform: translateY(-4px);
    border-color: var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.component-card.large {
    grid-column: span 2;
}

.component-preview {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    min-height: 120px;
}

.component-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Table Preview */
.table-preview {
    font-size: 12px;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 80px 60px;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-weight: 500;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 80px 60px;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.status {
    padding: 4px 8px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 500;
}

.status.active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.status.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

/* Form Preview */
.form-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mini-input label {
    font-size: 10px;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 4px;
}

.mini-input .input-box {
    height: 28px;
    border: 1px solid var(--border);
    border-radius: 6px;
}

.mini-btn {
    height: 28px;
    background: var(--text-primary);
    border-radius: 6px;
    width: 60px;
}

/* Gallery Preview */
.gallery-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.gallery-item {
    aspect-ratio: 1;
    background: var(--border);
    border-radius: 8px;
}

/* Calendar Preview */
.calendar-preview {
    font-size: 10px;
}

.cal-header {
    text-align: center;
    font-weight: 500;
    margin-bottom: 12px;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    text-align: center;
}

.cal-grid span {
    padding: 6px;
    border-radius: 4px;
}

.cal-grid .selected {
    background: var(--accent);
    color: white;
}

/* Timer Preview */
.timer-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-family: var(--font-display);
}

.timer-digit {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 24px;
    font-weight: 600;
}

.timer-sep {
    font-size: 24px;
    color: var(--text-secondary);
}

/* Widget Preview */
.widget-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.widget-item {
    background: var(--border);
    border-radius: 8px;
    height: 40px;
}

.widget-item.tall {
    grid-row: span 2;
    height: auto;
}

/* All Components List */
.all-components {
    text-align: center;
}

.all-components h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.components-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.components-list span {
    padding: 8px 16px;
    background: var(--bg-gray);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.components-list span:hover {
    background: var(--accent-light);
    color: var(--accent);
}

/* ============================================
   FORM PLAYGROUND
   ============================================ */
.form-playground {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    margin-bottom: 80px;
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--border);
}

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

.field-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.field-option:hover {
    background: var(--bg-gray);
}

.field-option.active {
    background: var(--accent-light);
    color: var(--accent);
}

.field-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gray);
    border-radius: 8px;
    font-size: 14px;
}

.field-option.active .field-icon {
    background: var(--accent);
    color: white;
}

.form-preview-area {
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-form {
    width: 100%;
    max-width: 400px;
}

.form-field label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-field input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
}

.form-field input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Rating Field */
.rating-field {
    display: flex;
    gap: 8px;
}

.rating-star {
    font-size: 32px;
    color: var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.rating-star.active,
.rating-star:hover {
    color: var(--warning);
}

/* Signature Field */
.signature-field {
    border: 2px dashed var(--border);
    border-radius: 8px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Voice Field */
.voice-field {
    display: flex;
    align-items: center;
    gap: 16px;
}

.voice-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.voice-btn:hover {
    transform: scale(1.05);
}

.voice-text {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Field Categories */
.field-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.field-category h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.field-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.field-list span {
    padding: 6px 12px;
    background: var(--bg-primary);
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

/* ============================================
   DATA SECTION
   ============================================ */
.data-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.data-feature-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.data-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(61, 43, 31, 0.1);
}

.data-feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: var(--bg-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.data-feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--text-secondary);
}

.data-feature-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .data-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .data-feature-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .data-features-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CODE DEMO / MACROS
   ============================================ */
.code-demo {
    max-width: 700px;
    margin: 0 auto;
}

.code-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 40px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 15px;
    margin-bottom: 40px;
}

.code-line {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.code-comment {
    color: rgba(255, 255, 255, 0.4);
}

.code-var {
    color: var(--accent);
}

.code-arrow {
    color: rgba(255, 255, 255, 0.4);
}

.code-value {
    color: var(--success);
}

.result {
    padding-left: 40px;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.result.visible {
    opacity: 1;
    transform: translateX(0);
}

.context-scopes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.scope {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 14px;
}

/* ============================================
   SECURITY SECTION
   ============================================ */
.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.security-card {
    background: var(--bg-gray);
    border-radius: 16px;
    padding: 32px;
}

.security-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.security-card ul {
    list-style: none;
}

.security-card li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.security-card li::before {
    content: '✓';
    color: var(--success);
    font-weight: 600;
}

/* ABAC Builder */
.abac-builder {
    grid-column: span 1;
}

.rule-builder {
    margin-top: 24px;
    background: rgba(255, 255, 255, 0.3);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.rule-row {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
}

.rule-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.5px;
}

.rule-fields {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rule-fields select,
.rule-fields input {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    background: var(--bg-primary);
    color: var(--text-primary);
    outline: none;
    transition: var(--transition);
}

.rule-fields select:focus,
.rule-fields input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.rule-operator {
    width: 60px;
    text-align: center;
}

.rule-fields input {
    flex: 1;
    min-width: 120px;
}

.rule-result {
    color: var(--success);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.generated-rule {
    margin-top: 16px;
    padding: 12px;
    background: var(--bg-primary);
    border-radius: 8px;
}

.generated-rule code {
    font-size: 11px;
    color: var(--text-secondary);
}

.compliance-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.compliance-badges span {
    padding: 12px 24px;
    background: var(--bg-gray);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

/* ============================================
   MULTI-TENANT SECTION
   ============================================ */
.tenant-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.platform-box {
    background: var(--text-primary);
    color: var(--text-light);
    padding: 20px 40px;
    border-radius: 12px;
    font-weight: 500;
}

.tenant-connector {
    width: 2px;
    height: 40px;
    background: var(--border);
    position: relative;
}

.tenant-connector::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 2px;
    background: var(--border);
}

.tenants-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 800px;
}

.tenant-box {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.tenant-box h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tenant-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.tenant-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.tenant-features span {
    padding: 10px 20px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 14px;
}

/* ============================================
   ADMIN DASHBOARD SECTION
   ============================================ */
.admin-dashboard {
    max-width: 1000px;
    margin: 0 auto 60px;
}

.browser-window {
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(61, 43, 31, 0.15), 0 0 0 1px var(--border);
    overflow: hidden;
}

.browser-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: var(--bg-gray);
    border-bottom: 1px solid var(--border);
}

.browser-dots {
    display: flex;
    gap: 8px;
}

.browser-url {
    font-size: 13px;
    color: var(--text-secondary);
}

.browser-content {
    display: flex;
    min-height: 400px;
}

.admin-sidebar {
    width: 200px;
    background: var(--bg-primary);
    border-right: 1px solid var(--border);
    padding: 20px 12px;
}

.admin-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 8px;
    margin-bottom: 24px;
}

.admin-avatar {
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.admin-name {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-primary);
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition);
}

.admin-nav-item:hover {
    background: var(--bg-gray);
}

.admin-nav-item.active {
    background: var(--accent);
    color: white;
}

.nav-icon {
    font-size: 14px;
    width: 18px;
    text-align: center;
}

.admin-main {
    flex: 1;
    padding: 24px;
    background: var(--bg-gray);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.admin-title h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

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

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

.search-box {
    width: 120px;
    height: 36px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.add-btn {
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: 8px;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.workflow-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.card-icon {
    width: 32px;
    height: 32px;
    background: var(--bg-gray);
    border-radius: 8px;
}

.card-title-placeholder {
    height: 14px;
    width: 80px;
    background: var(--bg-gray);
    border-radius: 4px;
}

.card-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.card-line {
    height: 10px;
    background: var(--bg-gray);
    border-radius: 4px;
}

.card-line.short {
    width: 60%;
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
}

.status-badge.active {
    background: rgba(107, 142, 35, 0.15);
    color: var(--success);
}

.status-badge.draft {
    background: rgba(160, 82, 45, 0.15);
    color: var(--accent);
}

/* Admin Views */
.admin-view {
    display: none;
}

.admin-view.active {
    display: block;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.admin-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.admin-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
}

.admin-card .card-icon {
    width: 32px;
    height: 32px;
    background: var(--bg-gray);
    border-radius: 8px;
    margin-bottom: 12px;
}

.admin-card.tenant {
    text-align: center;
}

.tenant-avatar {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    margin: 0 auto 12px;
}

/* Admin List View */
.admin-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-list-item {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.list-icon {
    width: 28px;
    height: 28px;
    background: var(--bg-gray);
    border-radius: 6px;
    flex-shrink: 0;
}

.list-icon.role {
    background: var(--accent);
    opacity: 0.2;
}

.list-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.list-code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 12px;
    padding: 4px 8px;
    background: var(--bg-gray);
    border-radius: 4px;
    color: var(--text-secondary);
}

.list-count {
    font-size: 12px;
    color: var(--text-secondary);
}

.list-badge {
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    background: var(--bg-gray);
    border-radius: 4px;
    color: var(--text-secondary);
}

.admin-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 15px;
}

.admin-features span {
    padding: 4px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .browser-content {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 16px;
    }

    .admin-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .admin-nav-item {
        padding: 8px 12px;
    }

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

@media (max-width: 480px) {
    .workflow-grid {
        grid-template-columns: 1fr;
    }

    .admin-header {
        flex-direction: column;
        gap: 16px;
    }
}

/* ============================================
   AI SECTION
   ============================================ */
.ai-demo {
    max-width: 600px;
    margin: 0 auto;
}

.chat-window {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 32px;
}

.chat-message {
    margin-bottom: 24px;
}

.chat-message.user span {
    display: inline-block;
    background: var(--accent);
    padding: 16px 20px;
    border-radius: 16px 16px 4px 16px;
    font-size: 15px;
}

.chat-message.ai {
    padding-left: 20px;
}

.ai-response {
    margin-bottom: 16px;
}

.ai-line {
    padding: 8px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: translateX(-10px);
    animation: slideIn 0.4s ease forwards;
}

.ai-line:nth-child(1) {
    animation-delay: 0.5s;
}

.ai-line:nth-child(2) {
    animation-delay: 0.8s;
}

.ai-line:nth-child(3) {
    animation-delay: 1.1s;
}

.ai-line:nth-child(4) {
    animation-delay: 1.4s;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ai-action {
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

/* ============================================
   RESPONSIVE DEVICES
   ============================================ */
.devices-showcase {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
}

.device {
    background: var(--bg-dark);
    border-radius: 16px;
    padding: 8px;
}

.device.desktop {
    width: 500px;
}

.device.tablet {
    width: 250px;
}

.device.phone {
    width: 120px;
}

.device-screen {
    background: var(--bg-gray);
    border-radius: 8px;
    overflow: hidden;
}

.device.desktop .device-screen {
    height: 280px;
}

.device.tablet .device-screen {
    height: 320px;
}

.device.phone .device-screen {
    height: 200px;
}

.device-content {
    height: 100%;
    background: linear-gradient(135deg, var(--accent-light), var(--bg-gray));
}

.breakpoints {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    font-family: monospace;
}

/* ============================================
   EXPLORE SECTION - Enterprise Applications
   ============================================ */
.explore-section {
    padding: var(--section-padding) 40px;
    background: var(--bg-gray);
}

.explore-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: -40px auto 60px;
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 60px;
}

.explore-card {
    border-radius: 16px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.explore-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(61, 43, 31, 0.15);
}

.explore-card.tall {
    grid-row: span 2;
}

.explore-card.wide {
    grid-column: span 2;
}

/* Card Backgrounds */
.explore-card.bg-terracotta {
    background: linear-gradient(135deg, #A0522D 0%, #CD853F 100%);
}

.explore-card.bg-cream {
    background: var(--bg-primary);
    border: 1px solid var(--border);
}

.explore-card.bg-olive {
    background: linear-gradient(135deg, #556B2F 0%, #6B8E23 100%);
}

.explore-card.bg-dark {
    background: linear-gradient(135deg, #3D2B1F 0%, #5C4A3D 100%);
}

.explore-card.bg-sand {
    background: linear-gradient(135deg, #D4C4B0 0%, #E6D5C3 100%);
}

.explore-card.bg-rust {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
}

.explore-card.bg-clay {
    background: linear-gradient(135deg, #BC8F8F 0%, #D4A574 100%);
}

/* Card Content */
.card-content {
    flex: 1;
}

.card-content.light {
    color: var(--text-light);
}

.card-content.light .card-tag {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.card-content.light h3 {
    color: var(--text-light);
}

.card-content.light p {
    color: rgba(255, 255, 255, 0.7);
}

.card-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(61, 43, 31, 0.1);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.explore-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.explore-card p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* Card Previews */
.card-preview {
    margin-top: auto;
    padding-top: 20px;
}

.card-preview.dark {
    background: rgba(0, 0, 0, 0.2);
    margin: 20px -28px -28px;
    padding: 20px 28px;
    border-radius: 0 0 16px 16px;
}

.preview-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-row {
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.form-row.short {
    width: 60%;
}

.preview-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.table-row-mini {
    height: 10px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.table-row-mini:nth-child(odd) {
    width: 85%;
}

/* Document Preview */
.preview-doc {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 16px;
}

.doc-header {
    height: 12px;
    width: 50%;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 3px;
    margin-bottom: 16px;
}

.doc-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    margin-bottom: 8px;
}

.doc-line.short {
    width: 70%;
}

.doc-signature {
    text-align: right;
    font-size: 24px;
    margin-top: 12px;
    opacity: 0.6;
}

/* Card Stats */
.card-stats {
    display: flex;
    gap: 24px;
    margin-top: auto;
    padding-top: 20px;
}

.stat-mini {
    font-size: 12px;
    color: var(--text-secondary);
}

.stat-mini span {
    display: block;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

/* Card Workflow */
.card-workflow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
}

.wf-step {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.wf-arrow {
    color: rgba(255, 255, 255, 0.4);
}

/* Explore Hover Label */
.explore-label {
    text-align: center;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.label-text {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -2px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.label-text.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Explore CTA */
.explore-cta {
    text-align: center;
}

.explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--text-primary);
    color: var(--text-light);
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.explore-btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.explore-btn .arrow {
    transition: var(--transition);
}

.explore-btn:hover .arrow {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1024px) {
    .explore-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .explore-card.wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .explore-section {
        padding: 100px 24px;
    }

    .explore-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
        gap: 16px;
    }

    .explore-card {
        padding: 20px;
    }

    .explore-card h3 {
        font-size: 18px;
    }

    .explore-card p {
        font-size: 13px;
    }

    .explore-card.wide {
        grid-column: span 2;
    }

    .card-stats {
        gap: 16px;
    }

    .stat-mini span {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .explore-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .explore-card.tall,
    .explore-card.wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .explore-card {
        min-height: 160px;
    }

    .card-preview {
        display: none;
    }
}

/* ============================================
   SOCIAL PROOF
   ============================================ */
.social-proof {
    padding: var(--section-padding) 40px;
    background: var(--bg-gray);
}

.testimonial {
    text-align: center;
    margin-bottom: 80px;
}

.testimonial p {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 600;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.testimonial cite {
    font-style: normal;
    color: var(--text-secondary);
    font-size: 16px;
}

.logo-cloud {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.logo-placeholder {
    width: 120px;
    height: 40px;
    background: var(--border);
    border-radius: 8px;
    opacity: 0.5;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
    padding: var(--section-padding) 40px;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
    font-size: 15px;
}

.pricing-toggle span {
    color: var(--text-secondary);
}

.pricing-toggle span.active {
    color: var(--text-primary);
    font-weight: 500;
}

.pricing-toggle em {
    font-style: normal;
    font-size: 12px;
    color: var(--accent);
    background: var(--accent-light);
    padding: 4px 8px;
    border-radius: 100px;
}

.toggle-switch {
    width: 48px;
    height: 28px;
    background: var(--border);
    border-radius: 100px;
    cursor: pointer;
    position: relative;
}

.toggle-slider {
    width: 24px;
    height: 24px;
    background: var(--text-primary);
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: var(--transition);
}

.toggle-switch.active .toggle-slider {
    left: 22px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-gray);
    border-radius: 16px;
    padding: 40px;
    position: relative;
}

.pricing-card.featured {
    background: var(--bg-dark);
    color: var(--text-light);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
}

.pricing-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

.price {
    margin-bottom: 32px;
}

.price .amount {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 600;
}

.price .period {
    color: var(--text-secondary);
    font-size: 14px;
}

.pricing-card.featured .price .period {
    color: rgba(255, 255, 255, 0.6);
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-card li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.pricing-card.featured li {
    color: rgba(255, 255, 255, 0.7);
    border-color: var(--border-dark);
}

.pricing-cta {
    display: block;
    text-align: center;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.pricing-cta.primary {
    background: var(--accent);
    color: white;
}

.pricing-cta.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
}

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

.pricing-cta.secondary:hover {
    border-color: var(--text-primary);
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
    background: var(--bg-dark);
    padding: 160px 40px;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: -2px;
    margin-bottom: 48px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    font-size: 32px;
    text-decoration: none;
    transition: var(--transition);
    margin-bottom: 24px;
}

.cta-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 60px rgba(124, 58, 237, 0.4);
}

.cta-note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-dark);
    padding: 80px 40px 40px;
    color: var(--text-light);
}

.footer-content {
    max-width: var(--content-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: var(--text-light);
    font-size: 24px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 0;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--text-light);
}

.footer-bottom {
    max-width: var(--content-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-dark);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.social-links {
    display: flex;
    gap: 24px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition);
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 100px;
    }

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

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

    .component-card.large {
        grid-column: span 2;
    }

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

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        letter-spacing: -1px;
    }

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

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

    .component-card.large {
        grid-column: span 1;
    }

    .form-playground {
        grid-template-columns: 1fr;
    }

    .field-selector {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .field-categories {
        grid-template-columns: 1fr;
    }

    .tenants-row {
        grid-template-columns: 1fr;
    }

    .devices-showcase {
        flex-direction: column;
        align-items: center;
    }

    .device.desktop {
        width: 100%;
        max-width: 400px;
    }

    .device.tablet {
        width: 100%;
        max-width: 250px;
    }

    .device.phone {
        width: 100%;
        max-width: 120px;
    }

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

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

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

@media (max-width: 480px) {
    .nav {
        padding: 16px 20px;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .feature-section {
        padding: var(--section-padding) 20px;
    }

    .preview-window {
        border-radius: 12px;
    }

    .workflow-canvas {
        gap: 12px;
    }

    .node {
        padding: 8px 16px;
        font-size: 12px;
    }

    .stat-number {
        font-size: 36px;
    }
}