/* ========================================
   LimeLift Landing Page - App-Matched Styles
   ======================================== */

:root {
    /* Exact app colors */
    --primary-rgb: 57, 255, 20;
    --color-primary: rgb(57, 255, 20);
    /* #39FF14 */
    --color-primary-light: rgb(132, 255, 105);
    --color-primary-dark: rgb(50, 217, 17);
    --color-bg: #000000;
    --color-surface: #0a0a0a;
    --color-surface-elevated: #141414;
    --color-text: #ffffff;
    --color-text-secondary: #71717a;
    --color-text-muted: #52525b;
    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-bright: rgba(255, 255, 255, 0.15);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-width: 1200px;
    --border-radius: 24px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Carbon Fiber Background */
.carbon-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        url('https://www.transparenttextures.com/patterns/carbon-fibre.png'),
        linear-gradient(180deg, rgba(57, 255, 20, 0.03) 0%, transparent 50%);
    opacity: 0.4;
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Navbar
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
    filter: drop-shadow(0 0 10px rgba(57, 255, 20, 0.5));
}

.logo-text {
    font-size: 22px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.02em;
    color: var(--color-text);
    text-transform: uppercase;
}

.logo-highlight {
    color: var(--color-primary);
}

.nav-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid rgba(57, 255, 20, 0.3);
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 100px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--color-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    font-style: italic;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.highlight {
    color: var(--color-primary);
}

.glow {
    text-shadow: 0 0 30px rgba(57, 255, 20, 0.4);
}

.hero-subtitle {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    max-width: 480px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding: 20px 24px;
    background: var(--color-surface-elevated);
    border: 1px solid var(--color-border);
    border-radius: 16px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-size: 24px;
    font-weight: 900;
    color: var(--color-primary);
}

.stat-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

.cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 14px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.btn-primary {
    background: var(--color-primary);
    color: #000;
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(57, 255, 20, 0.5);
}

.btn-secondary {
    background: var(--color-surface-elevated);
    color: var(--color-text);
    border: 1px solid var(--color-border-bright);
}

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

.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn.disabled:hover {
    transform: none;
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.3);
}

/* Phone Placeholder */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-placeholder {
    position: relative;
}

.phone-frame {
    width: 280px;
    height: 580px;
    background: var(--color-surface);
    border: 3px solid var(--color-border-bright);
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 0 60px rgba(57, 255, 20, 0.1),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--color-surface-elevated);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--color-border-bright);
    position: relative;
    overflow: hidden;
}

.phone-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.2;
}

.placeholder-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-align: center;
    z-index: 1;
}

/* ========================================
   Section Commons
   ======================================== */

.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--color-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    text-align: center;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    font-style: italic;
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

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

/* ========================================
   Features Section
   ======================================== */

.features {
    padding: 120px 0;
    background: var(--color-surface);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.15;
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.feature-card {
    padding: 32px;
    background: var(--color-surface-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.1;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(57, 255, 20, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid rgba(57, 255, 20, 0.2);
    border-radius: 12px;
    margin-bottom: 20px;
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.feature-title {
    font-size: 18px;
    font-weight: 800;
    font-style: italic;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.feature-description {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ========================================
   Screenshots Section
   ======================================== */

.screenshots {
    padding: 120px 0;
}

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

.screenshot-item {
    text-align: center;
}

.screenshot-placeholder {
    aspect-ratio: 9/16;
    background: var(--color-surface-elevated);
    border: 1px dashed var(--color-border-bright);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.screenshot-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.15;
}

.screenshot-placeholder span {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 1;
}

/* ========================================
   Why Section
   ======================================== */

.why-section {
    padding: 120px 0;
}

.why-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.why-card {
    display: grid;
    grid-template-columns: auto 1fr auto auto 1fr;
    gap: 16px;
    align-items: center;
    padding: 24px 32px;
    background: var(--color-surface-elevated);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.1;
    pointer-events: none;
}

.why-icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.why-icon.good {
    color: var(--color-primary);
}

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

.why-content h4 {
    font-size: 16px;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 4px;
}

.why-content p {
    font-size: 13px;
    color: var(--color-text-secondary);
}

.why-vs {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-muted);
    padding: 4px 12px;
    background: var(--color-surface);
    border-radius: 100px;
    position: relative;
    z-index: 1;
}

@media (max-width: 640px) {
    .why-card {
        grid-template-columns: auto 1fr;
        gap: 12px;
    }

    .why-vs {
        grid-column: span 2;
        justify-self: center;
    }
}

/* ========================================
   Tech Section
   ======================================== */

.tech-section {
    padding: 120px 0;
    background: var(--color-surface);
    position: relative;
}

.tech-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.15;
    pointer-events: none;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.tech-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--color-surface-elevated);
    border: 1px solid var(--color-border);
    border-radius: 16px;
}

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

.tech-text h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

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

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
    padding: 120px 0;
}

.cta-box {
    text-align: center;
    padding: 80px 40px;
    background: var(--color-surface-elevated);
    border: 1px solid var(--color-border);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        url('https://www.transparenttextures.com/patterns/carbon-fibre.png'),
        radial-gradient(ellipse at 50% 0%, rgba(57, 255, 20, 0.1) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

.cta-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--color-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.15;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.cta-section .cta-buttons {
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--color-border);
}

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

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-tagline {
    font-size: 13px;
    color: var(--color-text-muted);
}

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

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

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

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
}

.footer-copyright {
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: center;
}

/* ========================================
   Responsive
   ======================================== */

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

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

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

    .cta-buttons {
        justify-content: center;
    }

    /* Text BEFORE screenshot on mobile */
    .hero-text {
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    .phone-frame {
        width: 240px;
        height: 500px;
    }

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

    /* Center footer on mobile */
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }

    .footer-left {
        align-items: center;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 100px 0 60px;
    }

    .features,
    .screenshots,
    .cta-section,
    .tech-section,
    .why-section {
        padding: 60px 0;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }

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

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

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

    .footer-left {
        align-items: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    /* Center section titles on mobile */
    .section-label,
    .section-title,
    .section-subtitle {
        text-align: center;
    }

    .hero-label {
        text-align: center;
    }

    .phone-frame {
        width: 200px;
        height: 420px;
    }
}