/* ============================================
   Floathing Landing Page Styles
   Premium dark theme with glassmorphism
   ============================================ */

/* CSS Variables */
:root {
    --primary: #0879a6;
    --primary-dark: #065a7a;
    --primary-light: #0a9bd4;
    --accent-yellow: #FFD60A;
    --accent-green: #32D74B;
    --accent-orange: #FF9F0A;

    --bg-primary: #000000;
    --bg-surface: #1C1C1E;
    --bg-surface-elevated: #2C2C2E;
    --bg-glass: rgba(28, 28, 30, 0.8);

    --text-primary: #FFFFFF;
    --text-secondary: #8E8E93;
    --text-tertiary: #636366;

    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(8, 121, 166, 0.5);

    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(8, 121, 166, 0.3);

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--primary), var(--accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(8, 121, 166, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(8, 121, 166, 0.5);
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    background: var(--bg-surface-elevated);
    border-color: var(--primary);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.nav-cta {
    padding: 10px 20px;
    background: var(--primary);
    color: var(--text-primary);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    background: var(--primary-light);
    transform: scale(1.02);
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(8, 121, 166, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(255, 214, 10, 0.08), transparent),
        var(--bg-primary);
    z-index: -1;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 1rem;
}

.hero h1 {
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Visual - Phone + PiP */
.hero-visual {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    display: none;
}

@media (min-width: 1024px) {
    .hero-visual {
        display: block;
    }

    .hero-content {
        text-align: left;
        margin-left: 8%;
        margin-right: auto;
        max-width: 550px;
    }

    .hero-buttons {
        justify-content: flex-start;
    }
}

.phone-mockup {
    width: 280px;
    height: 580px;
    background: var(--bg-surface);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-subtle);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    border-radius: 30px;
    overflow: hidden;
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.status-icons {
    display: flex;
    gap: 8px;
}

.phone-content {
    padding: 20px;
}

.content-block {
    height: 60px;
    background: var(--bg-surface);
    border-radius: 12px;
    margin-bottom: 12px;
}

.content-block.short {
    width: 70%;
    height: 40px;
}

/* Floating PiP Window */
.pip-window {
    position: absolute;
    top: 80px;
    right: -60px;
    width: 160px;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(8, 121, 166, 0.5);
    text-align: center;
}

.pip-window.floating {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

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

    50% {
        transform: translateY(-12px);
    }
}

.pip-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
    opacity: 0.9;
}

.pip-icon {
    font-size: 0.875rem;
}

.pip-time {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'SF Mono', 'Menlo', monospace;
    letter-spacing: -1px;
}

.pip-label {
    font-size: 0.7rem;
    opacity: 0.8;
    margin-top: 4px;
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: 120px 0;
    background: var(--bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 12px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.feature-category {
    background: var(--bg-surface);
    border-radius: 24px;
    padding: 28px;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-smooth);
}

.feature-category:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.category-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}

.category-icon svg {
    width: 24px;
    height: 24px;
}

.category-icon.time {
    background: rgba(8, 121, 166, 0.2);
    color: var(--primary);
}

.category-icon.utilities {
    background: rgba(255, 214, 10, 0.2);
    color: var(--accent-yellow);
}

.category-icon.system {
    background: rgba(50, 215, 75, 0.2);
    color: var(--accent-green);
}

.category-icon.safari {
    background: rgba(0, 122, 255, 0.2);
    color: #007AFF;
}

.new-badge {
    display: inline-block;
    padding: 3px 8px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
}

.category-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--bg-surface-elevated);
    border-radius: 14px;
    transition: all var(--transition-fast);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.feature-icon {
    font-size: 1.5rem;
    width: 36px;
    text-align: center;
}

.feature-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.premium-badge {
    display: inline-block;
    padding: 2px 8px;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-orange));
    color: #000;
    font-size: 0.6rem;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-surface) 100%);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.step {
    text-align: center;
    padding: 32px 24px;
}

.step-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 16px;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(8, 121, 166, 0.3);
}

.step h3 {
    margin-bottom: 12px;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============================================
   Download Section
   ============================================ */
.download {
    padding: 100px 0;
}

.download-card {
    position: relative;
    padding: 80px 40px;
    background: var(--bg-surface);
    border-radius: 32px;
    border: 1px solid var(--border-subtle);
    text-align: center;
    overflow: hidden;
}

.download-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(8, 121, 166, 0.3), transparent 70%);
    pointer-events: none;
}

.download-content {
    position: relative;
    z-index: 1;
}

.download-content h2 {
    margin-bottom: 16px;
}

.download-content>p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.download-note {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 60px 0 32px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 12px;
}

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

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

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

/* ============================================
   Legal Pages (Privacy & Terms)
   ============================================ */
.legal-page {
    padding: 120px 0 80px;
    min-height: calc(100vh - 200px);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.legal-content .last-updated {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    margin-bottom: 48px;
}

.legal-content section {
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.legal-content h3 {
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.8;
}

.legal-content ul {
    margin: 12px 0;
    padding-left: 24px;
    color: var(--text-secondary);
}

.legal-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.legal-content a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.legal-content a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
    .nav {
        padding: 12px 16px;
    }

    .nav-links {
        gap: 10px;
    }

    .nav-link {
        font-size: 0.75rem;
    }

    .nav-cta {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .logo span {
        font-size: 1rem;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

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

    .download-card {
        padding: 60px 24px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
}

/* ============================================
   MECreative Homepage Styles
   ============================================ */

/* Navigation - Back Link */
.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.back-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    padding: 6px 12px;
    border-radius: 8px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
}

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

/* MECreative Logo */
.mecreative-logo svg text {
    font-family: var(--font-family);
}

/* MECreative Hero */
.mecreative-hero {
    min-height: 80vh;
}

.mecreative-hero-content {
    max-width: 700px;
}

.hero-decoration {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Animated Gradient Orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    will-change: transform, opacity;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(8, 121, 166, 0.8) 0%, rgba(8, 121, 166, 0) 70%);
    top: 10%;
    right: 5%;
    animation: orbFloat1 12s ease-in-out infinite, orbPulse 4s ease-in-out infinite;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(236, 208, 74, 0.6) 0%, rgba(236, 208, 74, 0) 70%);
    bottom: 15%;
    left: 5%;
    animation: orbFloat2 15s ease-in-out infinite, orbPulse 5s ease-in-out infinite 1s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(119, 207, 161, 0.5) 0%, rgba(119, 207, 161, 0) 70%);
    top: 50%;
    right: 25%;
    animation: orbFloat3 18s ease-in-out infinite, orbPulse 6s ease-in-out infinite 2s;
}

@keyframes orbFloat1 {

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

    25% {
        transform: translate(-30px, 40px) scale(1.1);
    }

    50% {
        transform: translate(-60px, 20px) scale(0.95);
    }

    75% {
        transform: translate(-20px, -30px) scale(1.05);
    }
}

@keyframes orbFloat2 {

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

    33% {
        transform: translate(50px, -40px) scale(1.15);
    }

    66% {
        transform: translate(30px, 30px) scale(0.9);
    }
}

@keyframes orbFloat3 {

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

    20% {
        transform: translate(-40px, -30px) scale(1.1);
    }

    40% {
        transform: translate(-20px, 50px) scale(0.95);
    }

    60% {
        transform: translate(30px, 20px) scale(1.05);
    }

    80% {
        transform: translate(20px, -40px) scale(1);
    }
}

@keyframes orbPulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.7;
    }
}

/* Floating Particles */
.particles-container {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s ease-in-out infinite;
}

.particle-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
    background: var(--primary);
}

.particle-2 {
    top: 30%;
    left: 85%;
    animation-delay: 1s;
    background: var(--accent-yellow);
}

.particle-3 {
    top: 60%;
    left: 10%;
    animation-delay: 2s;
    background: var(--accent-green);
}

.particle-4 {
    top: 70%;
    left: 90%;
    animation-delay: 3s;
    background: var(--primary-light);
}

.particle-5 {
    top: 15%;
    left: 50%;
    animation-delay: 4s;
    background: var(--primary);
}

.particle-6 {
    top: 80%;
    left: 40%;
    animation-delay: 5s;
    background: var(--accent-yellow);
}

.particle-7 {
    top: 40%;
    left: 75%;
    animation-delay: 6s;
    background: var(--accent-green);
}

.particle-8 {
    top: 55%;
    left: 25%;
    animation-delay: 7s;
    background: var(--primary-light);
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0);
    }

    10% {
        opacity: 0.8;
        transform: translateY(0) scale(1);
    }

    50% {
        opacity: 0.6;
        transform: translateY(-20px) scale(1.2);
    }

    90% {
        opacity: 0.8;
        transform: translateY(-40px) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-50px) scale(0);
    }
}

/* Geometric Mesh Lines */
.mesh-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

.mesh-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 8s ease-in-out infinite;
}

.line-1 {
    animation-delay: 0s;
}

.line-2 {
    animation-delay: 2s;
}

.line-3 {
    animation-delay: 4s;
}

@keyframes drawLine {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        stroke-dashoffset: -1000;
        opacity: 0;
    }
}

/* Sparkle Stars */
.sparkle {
    position: absolute;
    font-size: 20px;
    color: var(--accent-yellow);
    opacity: 0;
    animation: sparkleAnim 3s ease-in-out infinite;
    text-shadow: 0 0 10px var(--accent-yellow), 0 0 20px var(--accent-yellow);
}

.sparkle-1 {
    top: 25%;
    right: 20%;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 15%;
    left: 30%;
    animation-delay: 0.5s;
    font-size: 14px;
}

.sparkle-3 {
    top: 65%;
    right: 15%;
    animation-delay: 1s;
    font-size: 16px;
}

.sparkle-4 {
    top: 75%;
    left: 20%;
    animation-delay: 1.5s;
    font-size: 12px;
    color: var(--primary-light);
    text-shadow: 0 0 10px var(--primary-light);
}

.sparkle-5 {
    top: 35%;
    left: 70%;
    animation-delay: 2s;
    font-size: 18px;
    color: var(--primary-light);
    text-shadow: 0 0 10px var(--primary-light);
}

@keyframes sparkleAnim {

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

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

/* Rotating Ring */
.rotating-ring {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translate(50%, -50%);
    width: 500px;
    height: 500px;
    border: 1px solid transparent;
    border-top-color: rgba(8, 121, 166, 0.3);
    border-right-color: rgba(8, 121, 166, 0.15);
    border-radius: 50%;
    animation: ringRotate 20s linear infinite;
}

.rotating-ring::before {
    content: '';
    position: absolute;
    inset: 30px;
    border: 1px solid transparent;
    border-bottom-color: rgba(236, 208, 74, 0.2);
    border-left-color: rgba(236, 208, 74, 0.1);
    border-radius: 50%;
    animation: ringRotate 15s linear infinite reverse;
}

.rotating-ring::after {
    content: '';
    position: absolute;
    inset: 70px;
    border: 1px solid transparent;
    border-top-color: rgba(119, 207, 161, 0.15);
    border-radius: 50%;
    animation: ringRotate 25s linear infinite;
}

@keyframes ringRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* About Section */
.about-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 48px;
}

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 32px 16px;
    background: var(--bg-surface);
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-smooth);
}

.stat-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

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

/* Apps Section */
.apps-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-surface) 100%);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.app-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px;
    background: var(--bg-surface);
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-smooth);
    overflow: hidden;
}

.app-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(8, 121, 166, 0.3);
}

.app-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(8, 121, 166, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    pointer-events: none;
}

.app-card:hover .app-card-glow {
    opacity: 1;
}

.app-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 18px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(8, 121, 166, 0.3);
}

.app-icon svg {
    width: 36px;
    height: 36px;
    color: white;
}

.app-icon.app-icon-img {
    background: transparent;
    box-shadow: none;
    padding: 0;
    overflow: hidden;
}

.app-icon.app-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.app-icon.placeholder {
    background: var(--bg-surface-elevated);
    box-shadow: none;
}

.app-icon.placeholder svg {
    color: var(--text-tertiary);
}

.app-icon.ease-icon {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.app-icon.parallel-icon {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.app-icon.sleepeace-icon {
    background: linear-gradient(135deg, #6366F1, #4338CA);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.app-icon.more-apps-icon {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.more-apps-card {
    border-style: dashed;
}

.app-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.app-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.app-cta {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.app-badge {
    position: absolute;
    top: 24px;
    right: 24px;
}

.app-badge span {
    padding: 6px 12px;
    background: var(--bg-surface-elevated);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.app-card.coming-soon {
    opacity: 0.6;
    cursor: default;
}

.app-card.coming-soon:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border-subtle);
}

/* Services Section */
.services-section {
    padding: 120px 0;
    background: var(--bg-surface);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.service-card {
    padding: 32px;
    background: var(--bg-surface-elevated);
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-smooth);
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 121, 166, 0.15);
    border-radius: 14px;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.services-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: var(--bg-primary);
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
}

.services-cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

.contact-card {
    position: relative;
    padding: 80px 40px;
    background: var(--bg-surface);
    border-radius: 32px;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
}

.contact-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(8, 121, 166, 0.2), transparent 70%);
    pointer-events: none;
}

.contact-content {
    position: relative;
    z-index: 1;
}

/* Contact Form */
.contact-form {
    max-width: 500px;
    margin: 40px auto 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 1rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(8, 121, 166, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-send {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 32px;
    background: var(--bg-surface-elevated);
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-smooth);
    min-width: 280px;
}

.contact-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.contact-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 121, 166, 0.15);
    border-radius: 14px;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.contact-icon.facebook {
    background: rgba(24, 119, 242, 0.15);
}

.contact-icon.facebook svg {
    color: #1877F2;
}

.contact-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

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

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

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

@media (max-width: 768px) {
    .nav-left {
        gap: 12px;
    }

    .back-link {
        padding: 4px 8px;
        font-size: 0.75rem;
    }

    .mecreative-hero {
        min-height: auto;
        padding-bottom: 80px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .stat-item {
        padding: 20px 12px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

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

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

    .contact-card {
        padding: 60px 24px;
    }

    .contact-methods {
        flex-direction: column;
        align-items: center;
    }

    .contact-item {
        width: 100%;
        min-width: auto;
    }
}

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

    .stat-item {
        padding: 24px;
    }

    .stat-number {
        font-size: 2.2rem;
    }
}