/* ==========================================
   Creoflow CSS Stylesheet
   Design Aesthetic: Cosmic-Tech & Glassmorphism
   ========================================== */

/* 1. Core Variables & Setup */
:root {
    /* Color Palette */
    --bg-dark: #05060b;
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-border: rgba(255, 255, 255, 0.06);
    --card-border-hover: rgba(138, 43, 226, 0.25);
    
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --primary-glow: rgba(138, 43, 226, 0.15);
    --secondary-glow: rgba(0, 242, 254, 0.12);
    
    /* Font Families */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, #8a2be2 0%, #a855f7 100%);
    --grad-secondary: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --grad-text: linear-gradient(135deg, #ffffff 30%, #a855f7 100%);
    --grad-text-alt: linear-gradient(135deg, #00f2fe 10%, #a855f7 90%);
    --grad-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    
    /* Layout Details */
    --header-height: 80px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(138, 43, 226, 0.4);
}

/* 2. Layout Elements & Background Glow */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Ambient Ambient Glow Backgrounds */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.45;
}

.glow-1 {
    top: 5%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #8a2be2 0%, transparent 70%);
    animation: pulse-ambient 12s infinite alternate ease-in-out;
}

.glow-2 {
    top: 35%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #00f2fe 0%, transparent 70%);
    animation: pulse-ambient 18s infinite alternate-reverse ease-in-out;
}

.glow-3 {
    bottom: 10%;
    right: -5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #a855f7 0%, transparent 70%);
    animation: pulse-ambient 15s infinite alternate ease-in-out;
}

@keyframes pulse-ambient {
    0% { transform: scale(1) translate(0, 0); opacity: 0.35; }
    50% { transform: scale(1.15) translate(20px, -20px); opacity: 0.5; }
    100% { transform: scale(0.9) translate(-10px, 15px); opacity: 0.3; }
}

/* 3. Header & Floating Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(5, 6, 11, 0.75);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    height: 70px;
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.5px;
}

.brand-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    /* CSS Filter Trick: Inverts white background to black and shifts cyan back to red,
       allowing the red logo to float borderless in the cosmic dark UI! */
    filter: invert(1) hue-rotate(180deg) brightness(1.2);
    mix-blend-mode: screen;
    border-radius: 50%;
}

.brand-name {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

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

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

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

.nav-btn {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.nav-btn:hover {
    background: var(--grad-primary);
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* 4. Glassmorphism Utilities & Buttons */
.glow-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(255, 255, 255, 0.06), transparent 40%);
    z-index: 0;
    pointer-events: none;
}

.glow-card:hover {
    border-color: var(--card-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.08);
}

/* Standard Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--grad-primary);
    color: var(--text-primary);
    border: none;
    box-shadow: 0 8px 30px rgba(138, 43, 226, 0.35);
}

.btn-primary:hover {
    box-shadow: 0 12px 40px rgba(138, 43, 226, 0.5);
    transform: translateY(-2px);
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: var(--transition);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

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

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.2);
    color: #c084fc;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gradient-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-alt {
    background: var(--grad-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 5. Hero Section */
.hero-section {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    position: relative;
}

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

.hero-container-centered .hero-title {
    font-size: 4.2rem;
    margin-bottom: 24px;
}

.hero-container-centered .hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-container-centered .typing-container {
    justify-content: center;
    margin-bottom: 40px;
}

.hero-container-centered .hero-actions {
    justify-content: center;
}


.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -2px;
    margin-bottom: 20px;
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 550px;
    line-height: 1.6;
}

/* Dynamic Typing Text */
.typing-container {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 36px;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.typing-static {
    opacity: 0.85;
}

.typing-dynamic {
    color: #00f2fe;
    font-family: var(--font-heading);
    border-right: 2px solid #00f2fe;
    padding-right: 4px;
    animation: caret 0.8s infinite step-end;
}

@keyframes caret {
    from, to { border-color: transparent; }
    50% { border-color: #00f2fe; }
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Hero Graphic / Dashboard Mockup */
.hero-graphic {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.hero-card-wrapper::after {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(0, 242, 254, 0.2));
    border-radius: var(--radius-lg);
    filter: blur(40px);
    z-index: -1;
}

.dashboard-preview {
    background: rgba(10, 11, 18, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.preview-header {
    background: rgba(255, 255, 255, 0.02);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

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

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.preview-title {
    margin-left: 20px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.preview-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.metric-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.metric-box {
    padding: 20px;
    border-radius: var(--radius-md);
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.metric-val {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.metric-trend {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.metric-trend.up {
    color: #10b981;
}

.trend-icon {
    width: 12px;
    height: 12px;
}

.chart-box {
    padding: 20px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.chart-pill {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.chart-lines {
    height: 120px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: flex-end;
}

.chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.chart-line.line-standard {
    background: linear-gradient(180deg, transparent 90%, rgba(255, 255, 255, 0.03) 90%),
                radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    clip-path: polygon(0 90%, 20% 80%, 40% 85%, 60% 70%, 80% 75%, 100% 60%, 100% 100%, 0 100%);
    background-color: rgba(255, 255, 255, 0.05);
}

.chart-line.line-creoflow {
    background: linear-gradient(180deg, transparent 80%, rgba(138, 43, 226, 0.1) 80%),
                radial-gradient(ellipse at 50% 100%, rgba(0, 242, 254, 0.15) 0%, transparent 70%);
    clip-path: polygon(0 80%, 20% 60%, 40% 45%, 60% 25%, 80% 15%, 100% 5%, 100% 100%, 0 100%);
    background-color: rgba(138, 43, 226, 0.12);
    border-top: 2px solid #00f2fe;
}

.line-label {
    position: absolute;
    font-size: 0.7rem;
    font-weight: 500;
}

.line-label.standard {
    bottom: 45px;
    left: 10px;
    color: var(--text-muted);
}

.line-label.creoflow {
    bottom: 100px;
    right: 10px;
    color: #00f2fe;
    font-weight: 700;
}

/* 6. Stats Ribbon */
.stats-ribbon {
    padding: 40px 0;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.01);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 20px;
}

.stat-item.border-left {
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

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

/* 7. Section Layouts */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.15);
    color: #22d3ee;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* 8. Solutions / Services Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.solution-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.solution-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
}

.solution-icon svg {
    width: 26px;
    height: 26px;
    color: var(--text-primary);
}

.solution-icon.icon-purple {
    background: rgba(138, 43, 226, 0.15);
    border: 1px solid rgba(138, 43, 226, 0.3);
}
.solution-icon.icon-purple svg { color: #c084fc; }

.solution-icon.icon-cyan {
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.25);
}
.solution-icon.icon-cyan svg { color: #22d3ee; }

.solution-icon.icon-magenta {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
}
.solution-icon.icon-magenta svg { color: #e879f9; }

.solution-title-card {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.solution-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

.solution-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.check-icon {
    width: 14px;
    height: 14px;
    color: #10b981;
}

/* 9. Apps Showcase Section */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--text-primary);
    color: var(--bg-dark);
    border-color: var(--text-primary);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.apps-grid-single {
    max-width: 600px;
    margin: 0 auto;
}


.app-card {
    display: flex;
    flex-direction: column;
    padding: 0; /* Clear default padding for clean box layout */
    height: 100%;
}

.app-image-placeholder {
    height: 180px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* App Background Themes */
.app-linkflow {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, rgba(138, 43, 226, 0.25) 100%);
    border-bottom: 1px solid rgba(138, 43, 226, 0.15);
}
.app-pulse {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.08) 0%, rgba(0, 242, 254, 0.22) 100%);
    border-bottom: 1px solid rgba(0, 242, 254, 0.12);
}
.app-pitch {
    background: linear-gradient(135deg, rgba(232, 121, 249, 0.08) 0%, rgba(232, 121, 249, 0.22) 100%);
    border-bottom: 1px solid rgba(232, 121, 249, 0.12);
}
.app-audio {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(168, 85, 247, 0.22) 100%);
    border-bottom: 1px solid rgba(168, 85, 247, 0.12);
}

.app-preview-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(5, 6, 11, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    color: var(--text-primary);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-icon {
    width: 50px;
    height: 50px;
    color: var(--text-primary);
    opacity: 0.85;
    transition: var(--transition);
}

.app-card:hover .app-icon {
    transform: scale(1.15) rotate(5deg);
    opacity: 1;
}

.app-content-box {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.app-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.app-card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

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

.app-status {
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.active-pulse {
    color: #10b981;
}

.active-pulse::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: pulse-dot 1.5s infinite;
}

.beta-badge {
    color: #f59e0b;
}

.beta-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #f59e0b;
    border-radius: 50%;
}

@keyframes pulse-dot {
    0% { transform: scale(0.95); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.6; }
}

.app-launch-link {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.app-launch-link svg {
    width: 14px;
    height: 14px;
    transition: var(--transition);
}

.app-launch-link:hover {
    color: #00f2fe;
}

.app-launch-link:hover svg {
    transform: translate(2px, -2px);
}

/* Hide animations for filtering */
.app-card.hidden {
    display: none;
}

/* 10. Interactive ROI Calculator */
.calculator-section {
    position: relative;
    overflow: hidden;
}

.calculator-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
    align-items: center;
}

.calc-text {
    display: flex;
    flex-direction: column;
}

.benefit-points {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.benefit-item {
    display: flex;
    gap: 16px;
}

.benefit-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-top: 4px;
    flex-shrink: 0;
}

.benefit-dot.icon-purple {
    background: #a855f7;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

.benefit-dot.icon-cyan {
    background: #00f2fe;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.benefit-item h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.benefit-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Calc Card Details */
.calc-card {
    padding: 36px;
    background: rgba(10, 11, 18, 0.55);
}

.calc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
    margin-bottom: 24px;
}

.calc-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

.version-tag {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.2);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
}

.calc-input-group {
    margin-bottom: 20px;
}

.calc-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.platform-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.platform-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 10px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.platform-btn i {
    font-size: 1rem;
}

.platform-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.platform-btn.active {
    background: rgba(138, 43, 226, 0.12);
    border-color: rgba(138, 43, 226, 0.5);
    color: var(--text-primary);
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-val {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #00f2fe;
}

/* Custom Styled Range Sliders */
.calc-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    margin: 10px 0;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #00f2fe;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
    transition: var(--transition);
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: #ffffff;
}

/* Calc Outputs Group */
.calc-outputs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 28px;
    margin-bottom: 24px;
}

.output-box {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 16px;
}

.output-title {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.output-number {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
}

.highlight-box {
    background: rgba(251, 191, 36, 0.02);
    border: 1px solid rgba(251, 191, 36, 0.15);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.03);
}

.output-disclaimer {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.output-disclaimer span {
    text-decoration: line-through;
}

.calc-cta-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: var(--grad-primary);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    padding: 14px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 4px 20px rgba(138, 43, 226, 0.25);
    transition: var(--transition);
}

.calc-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(138, 43, 226, 0.4);
}

/* 13. Footer Styling */
.footer-section {
    background: #020306;
    border-top: 1px solid var(--card-border);
    padding: 80px 0 30px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    font-size: 1.5rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 340px;
    line-height: 1.6;
}

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

.footer-socials a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 1.15rem;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-socials a:hover {
    color: var(--text-primary);
    background: var(--grad-primary);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

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

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.footer-col a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: #00f2fe;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

.footer-bottom-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--text-secondary);
}

/* 14. Responsive Queries */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-container, 
    .calculator-container, 
    .apply-container {
        gap: 36px;
    }
    
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    /* Header Menu Drawer for Mobile */
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: rgba(5, 6, 11, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 24px;
        gap: 28px;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .typing-container {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-graphic {
        order: -1; /* Display graphic above content on mobile */
        margin-bottom: 20px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .stat-item.border-left {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        padding-top: 24px;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-container, 
    .apply-container {
        grid-template-columns: 1fr;
    }
    
    .calc-outputs {
        grid-template-columns: 1fr;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}
