:root {
    /* Color Palette */
    --bg-primary: #f9fafb; /* off-white/light gray */
    --bg-secondary: #ffffff; /* pure white for cards */
    --text-main: #111827; /* near black */
    --text-muted: #6b7280; /* soft neutral grays */
    --primary-action: #f97316; /* vibrant burnt orange */
    --primary-hover: #ea580c;
    
    --border-color: #e5e7eb;
    --card-hover-shadow: rgba(17, 24, 39, 0.08);

    /* Typography */
    --font-heading: 'Inter Tight', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-xl: 1240px;
    --section-gap: 120px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

p {
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: var(--section-gap) 0;
    position: relative;
}

/* Base Components & Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-action);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.2);
}
.btn-primary:hover {
    background-color: var(--text-main);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(17, 24, 39, 0.2);
}

.btn-action {
    background-color: var(--primary-action);
    color: #ffffff;
}
.btn-action:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.25);
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
    color: var(--primary-action);
    margin-bottom: 24px;
}

/* Header Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(249, 250, 251, 0.85); /* Frost effect */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
}
.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--primary-action);
}

.nav-links {
    display: none;
}
@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 2rem;
    }
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}
.nav-link:hover {
    color: var(--primary-action);
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 0px;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.hero-bg-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        radial-gradient(circle at 50% 20%, rgba(249, 115, 22, 0.05) 0%, transparent 60%),
        linear-gradient(rgba(229, 231, 235, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(229, 231, 235, 0.5) 1px, transparent 1px);
    background-size: 100% 100%, 80px 80px, 80px 80px;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.hero-box {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-main);
}
.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.app-store-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.app-btn {
    display: inline-flex;
    background: var(--text-main);
    border-radius: 12px;
    padding: 10px 20px;
    color: #fff;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}
.app-btn:hover {
    transform: translateY(-3px);
    background: var(--primary-action);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.2);
}
.app-btn svg {
    width: 24px;
    height: 24px;
}
.app-btn-text h6 {
    font-size: 0.65rem;
    font-weight: 400;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-body);
}
.app-btn-text span {
    font-size: 1rem;
    font-weight: 600;
    display: block;
    line-height: 1.1;
}

/* Hero Mockup with Floating Elements */
.hero-mockup-wrapper {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
}
.hero-mockup-img {
    position: relative;
    margin: 0 auto -100px; /* Push image slightly into next section */
    display: block;
    width: 100%;
    max-width: 594px;
    z-index: 10;
    image-rendering: high-quality;
}

/* Floating Avatars */
.float-icon {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 5;
    animation: floatAnim 4s ease-in-out infinite;
}
.float-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.float-1 { top: 10%; left: 15%; animation-delay: 0s; width: 56px; height: 56px; }
.float-2 { top: 50%; left: 10%; animation-delay: 1s; width: 44px; height: 44px; }
.float-3 { top: 15%; right: 20%; animation-delay: 0.5s; width: 50px; height: 50px; }
.float-4 { top: 55%; right: 12%; animation-delay: 1.5s; width: 60px; height: 60px; }

@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Features Intro Section */
.features-intro {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
}
@media (min-width: 1024px) {
    .features-intro {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}
.features-intro-text {
    flex: 1;
    max-width: 400px;
    font-size: 1.1rem;
}
.features-intro-title {
    flex: 1;
    max-width: 500px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}
.features-intro-title h2 {
    font-size: 3rem;
}
.arrow-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--text-main);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Feature Cards Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    border-radius: 24px;
    padding: 40px 30px 0;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 480px;
}
.feature-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: right;
    width: 100%;
    position: relative;
    z-index: 10;
}
.feature-card-icon {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 28px;
    height: 28px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    color: white;
    display: flex;
    z-index: 10;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-gray { background: #f3f4f6; color: var(--text-main); }
.card-purple { background: #e0e7ff; color: var(--text-main); }
.card-dark { background: #374151; color: #fff; }

.feature-img-wrapper {
    flex: 1;
    position: unset; /* Revert position so absolute children can anchor to feature-card */
    width: 100%;
}
.feature-img-wrapper img {
    position: absolute;
    bottom: -20px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.card-1-img, .card-2-img, .card-3-img { 
    position: absolute !important;
    top: 0; left: 0;
    width: 100% !important; height: 100% !important; 
    object-fit: cover; 
    transform: none !important;
    border-radius: 24px !important;
    box-shadow: none !important;
    z-index: 0 !important;
}
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 60%);
    z-index: 1;
    border-radius: 24px;
}
.feature-card {
    color: #fff !important;
}

/* Steps Section */
.steps-section {
    padding: 120px 0;
}
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}
@media (min-width: 992px) {
    .steps-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.steps-content h2 {
    font-size: 3rem;
    margin-bottom: 40px;
}

.step-item {
    display: flex;
    gap: 20px;
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid rgba(229, 231, 235, 0.5);
    transition: all 0.3s ease;
}
.step-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-action);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.05);
}
.step-number {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-muted);
    background: #f3f4f6;
    height: 32px;
    padding: 0 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-item:hover .step-number {
    background: var(--primary-action);
    color: #fff;
}
.step-text h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}
.step-text p {
    font-size: 0.95rem;
    margin: 0;
}

.steps-visual {
    position: relative;
    text-align: center;
}
.steps-top-intro {
    text-align: left;
    max-width: 320px;
    margin-left: auto;
    margin-bottom: 40px;
}
.steps-mobile-frame {
    width: 360px;
    margin: 0 auto;
    position: relative;
}
.steps-mobile-frame img {
    border-radius: 36px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}


/* Reviews Section */
.reviews-section {
    background: #f3f4f6;
    padding: 80px 0;
    margin: 60px 0;
}
.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
@media (min-width: 1024px) {
    .reviews-container {
        flex-direction: row;
        align-items: center;
    }
}
.reviews-info {
    flex: 0 0 300px;
}
.reviews-info h2 {
    font-size: 2.25rem;
    margin-bottom: 24px;
}
.reviews-nav {
    display: flex;
    gap: 12px;
}
.review-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}
.review-nav-btn:hover {
    background: var(--primary-action);
    color: #fff;
}

.reviews-carousel {
    flex: 1;
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}
.reviews-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}
.review-card {
    background: #fff;
    padding: 32px;
    border-radius: 20px;
    min-width: 320px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-gray);
    overflow: hidden;
}
.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.reviewer-info h5 {
    font-size: 1rem;
    margin-bottom: 4px;
}
.rating {
    color: #fbbf24; /* yellow star */
    font-size: 0.85rem;
    letter-spacing: 2px;
}
.review-text {
    font-size: 0.95rem;
}

/* Bottom CTA Block */
.bottom-cta {
    padding: 0 24px 120px;
}
.cta-box {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 32px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    max-width: var(--container-xl);
    margin: 0 auto;
}
.cta-content {
    position: relative;
    z-index: 10;
    max-width: 400px;
}
.cta-content p {
    margin-bottom: 12px;
    font-weight: 500;
}
.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 32px;
}
.cta-image-wrapper {
    position: absolute;
    right: 0;
    bottom: -150px;
    width: 500px;
    transform: rotate(-15deg);
}

/* Footer */
footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-color);
}
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    margin-bottom: 60px;
}
.footer-links {
    display: flex;
    gap: 32px;
    font-weight: 500;
}
.footer-socials {
    display: flex;
    gap: 16px;
}
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--text-main);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.social-icon:hover {
    background: var(--primary-action);
    transform: translateY(-2px);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .features-intro-title h2 { font-size: 2.2rem; text-align: left; align-items: flex-start;}
    .feature-card { height: 400px; }
    .steps-content h2 { font-size: 2.2rem; }
    .cta-box { flex-direction: column; padding: 40px; }
    .cta-image-wrapper { position: relative; bottom: 0; transform: none; width: 100%; margin-top: 40px; }
    .hero-mockup-img { margin-bottom: -40px; max-width: 90%; }
}