/* 
   ReclaimHeight - Premium Dark Mode Theme 
   Modern, sleek, with glassmorphism and vibrant gradients
*/

:root {
    --bg-dark: #0a0e14;
    --bg-darker: #060a0f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --text-primary: #FFFFFF;
    --text-secondary: #8899A6;
    --accent-cyan: #00D9FF;
    --accent-pink: #FF0099;
    --accent-green: #00FF88;
    --accent-orange: #FF9500;
    --accent-red: #FF4444;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.15);
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --transition-speed: 0.3s;
    --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

a:hover {
    color: var(--accent-cyan);
}

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

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

.section {
    padding: 120px 0;
    position: relative;
}

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

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.15rem;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 14, 20, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

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

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 1.3rem;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}

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

.nav-cta {
    background: linear-gradient(135deg, var(--accent-cyan), #00b3d6);
    color: #000 !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600 !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

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

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.3), transparent 70%);
    top: -200px;
    right: -100px;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 0, 153, 0.2), transparent 70%);
    bottom: -100px;
    left: -100px;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
}

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

.subheadline {
    font-size: 1.25rem;
    max-width: 520px;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-cyan), #00b3d6);
    color: #000;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.3);
    transition: transform 0.2s var(--transition-bounce), box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(0, 217, 255, 0.5);
    color: #000;
}

.cta-button.large {
    padding: 20px 40px;
    font-size: 1.1rem;
}

.cta-secondary {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s;
}

.cta-secondary:hover {
    color: var(--accent-cyan);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--glass-border);
}

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

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Hero Visual */
.phone-showcase {
    position: relative;
    display: flex;
    justify-content: center;
}

.iphone-mockup {
    width: 280px;
    border-radius: 40px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    border: 4px solid #1c2128;
    background: #000;
}

.iphone-mockup.main-phone {
    width: 300px;
}

.iphone-mockup.small {
    width: 220px;
}

.iphone-mockup.cta-phone {
    width: 260px;
}

.screen {
    background: #000;
    width: 100%;
    display: flex;
}

.app-screenshot {
    width: 100%;
    height: auto;
    display: block;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(30, 35, 45, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    animation: float 3s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 20%;
    left: -60px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 25%;
    right: -50px;
    animation-delay: 1.5s;
}

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

.card-value {
    font-weight: 700;
}

.card-value.red {
    color: var(--accent-red);
}

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

@keyframes float {

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

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

/* Social Proof */
.social-proof {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.proof-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.proof-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
}

.proof-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

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

/* Features Section */
.features-section {
    background: radial-gradient(circle at 30% 50%, rgba(255, 0, 153, 0.03), transparent 50%);
}

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

.glass {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 32px;
    transition: transform 0.3s var(--transition-bounce), border-color 0.3s, background 0.3s;
}

.glass:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    background: var(--bg-card-hover);
}

.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card h3 {
    font-size: 1.25rem;
    color: #fff;
}

.feature-card p {
    font-size: 1rem;
    margin-bottom: 16px;
}

.feature-icon-wrap {
    margin-bottom: 20px;
}

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.3s var(--transition-bounce);
}

.feature-card:hover .icon-box {
    transform: scale(1.1);
}

.icon-box.cyan {
    color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.2);
}

.icon-box.pink {
    color: var(--accent-pink);
    box-shadow: 0 0 30px rgba(255, 0, 153, 0.2);
}

.icon-box.green {
    color: var(--accent-green);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
}

.icon-box.orange {
    color: var(--accent-orange);
    box-shadow: 0 0 30px rgba(255, 149, 0, 0.2);
}

.feature-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* App Showcase Section */
.app-showcase-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.showcase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

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

.showcase-row.reverse {
    direction: rtl;
}

.showcase-row.reverse>* {
    direction: ltr;
}

.showcase-text {
    max-width: 500px;
}

.showcase-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.showcase-badge.cyan {
    background: rgba(0, 217, 255, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 217, 255, 0.3);
}

.showcase-badge.pink {
    background: rgba(255, 0, 153, 0.1);
    color: var(--accent-pink);
    border: 1px solid rgba(255, 0, 153, 0.3);
}

.showcase-badge.green {
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.showcase-badge.orange {
    background: rgba(255, 149, 0, 0.1);
    color: var(--accent-orange);
    border: 1px solid rgba(255, 149, 0, 0.3);
}

.showcase-text h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.showcase-text p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.showcase-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.showcase-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 1rem;
}

.showcase-list .check {
    color: var(--accent-green);
    font-weight: 600;
}

.showcase-phone {
    display: flex;
    justify-content: center;
}

/* How It Works */
.how-it-works-section {
    background: radial-gradient(circle at 70% 50%, rgba(0, 217, 255, 0.03), transparent 50%);
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step {
    text-align: center;
    padding: 40px 30px;
    position: relative;
    flex: 1;
    max-width: 280px;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: transform 0.3s var(--transition-bounce), box-shadow 0.3s;
}

.step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.2);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.step h3 {
    color: var(--accent-cyan);
    margin-bottom: 12px;
    font-size: 1.35rem;
}

.step p {
    font-size: 1rem;
    margin-bottom: 0;
}

.step-connector {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin-top: 60px;
    flex-shrink: 0;
}

/* Impact Section */
.impact-section {
    padding: 80px 0;
}

.impact-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px;
    background: linear-gradient(135deg, rgba(255, 0, 153, 0.05), rgba(0, 217, 255, 0.05));
}

.impact-content {
    text-align: left;
}

.impact-emoji {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 16px;
}

.impact-content h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.impact-content p {
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.impact-stats {
    display: flex;
    gap: 48px;
}

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

.impact-value {
    font-size: 2.5rem;
    font-weight: 800;
}

.impact-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.impact-phone {
    display: flex;
    justify-content: center;
}

/* Testimonials */
.testimonials-section {
    background: var(--bg-darker);
}

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

.testimonial-card {
    padding: 32px;
}

.testimonial-stars {
    color: #FFD700;
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: #e0e0e0;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-result {
    font-size: 0.85rem;
    color: var(--accent-green);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: radial-gradient(circle at 50% 100%, rgba(0, 217, 255, 0.1), transparent 50%);
}

.cta-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.08), rgba(255, 0, 153, 0.05));
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-pink), transparent);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 32px;
    max-width: 500px;
}

.cta-phones {
    display: flex;
    justify-content: center;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-darker);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 1rem;
    margin-bottom: 0;
}

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

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

.footer-col h4 {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--accent-cyan);
}

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

.copyright {
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.7;
    margin-bottom: 0;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

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

    .subheadline {
        margin: 0 auto 1.5rem;
    }

    .hero-cta-group {
        justify-content: center;
    }

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

    .floating-card {
        display: none;
    }

    .showcase-row,
    .showcase-row.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }

    .showcase-text {
        text-align: center;
        max-width: 100%;
        order: 2;
    }

    .showcase-phone {
        order: 1;
    }

    .impact-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 24px;
    }

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

    .cta-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 48px 24px;
    }

    .cta-content {
        order: 2;
    }

    .cta-phones {
        order: 1;
    }

    .cta-content p {
        margin: 0 auto 32px;
    }
}

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

    .nav-links {
        display: none;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .proof-content {
        flex-direction: column;
        gap: 30px;
    }

    .proof-divider {
        width: 60px;
        height: 1px;
    }

    .steps-container {
        flex-direction: column;
        gap: 20px;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0 auto;
    }

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

    .footer-brand {
        text-align: center;
    }

    .footer-links-group {
        gap: 40px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .iphone-mockup,
    .iphone-mockup.main-phone {
        width: 260px;
    }

    .iphone-mockup.small {
        width: 200px;
    }

    .showcase-text h3 {
        font-size: 1.5rem;
    }
}

/* Policy Table Styles */
.policy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
}

.policy-table th,
.policy-table td {
    padding: 16px 20px;
    text-align: left;
}

.policy-table th {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--glass-border);
}

.policy-table td {
    color: var(--text-secondary);
    border-bottom: 1px solid var(--glass-border);
}

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

.policy-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}