:root {
    /* Modern Premium Palette */
    --primary: #059669;
    /* Rich Emerald */
    --primary-light: #34D399;
    --primary-dark: #064E3B;

    --accent: #F59E0B;
    /* Gold */
    --accent-light: #FCD34D;

    --bg-body: #F0FDF4;
    /* Very light mint tint */
    --bg-surface: #FFFFFF;

    --text-main: #1F2937;
    --text-muted: #6B7280;

    --font-heading: 'Amiri', serif;
    --font-body: 'Inter', sans-serif;

    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);

    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    --shadow-3d: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-body);
    /* Subtle geometric pattern */
    background-image: radial-gradient(#10B981 0.5px, transparent 0.5px);
    background-size: 24px 24px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    /*font-family: var(--font-heading);*/
    font-weight: 700;
    color: var(--text-main);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header --- */
header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    /* Switched to Inter */
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.logo i {
    color: var(--accent);
    font-size: 1.4rem;
}

.btn-download {
    background: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.39);
}

.btn-download:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    /* Full viewport height */
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
}

/* Abstract Background Blob */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #A7F3D0 0%, #34D399 100%);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Split layout */
    align-items: center;
    gap: 50px;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 450px;
}

.cta-group {
    display: flex;
    gap: 15px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--text-main);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: var(--shadow-3d);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.2);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Phone Frame */
.phone-frame {
    position: relative;
    background: #000;
    border-radius: 40px;
    padding: 10px;
    box-shadow:
        0 0 0 4px #1F2937,
        0 30px 60px -15px rgba(0, 0, 0, 0.4),
        0 10px 20px -5px rgba(0, 0, 0, 0.1);
    max-width: 250px;
    /* Reduced to requested size */
    transform: rotate(-5deg);
    /* Slight tilt for dynamism */
    transition: transform 0.5s ease;
}

.phone-frame:hover {
    transform: rotate(0) scale(1.02);
}

.phone-frame img {
    border-radius: 32px;
    display: block;
    width: 100%;
}

/* --- Features (Zig-Zag) --- */
.features {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 100px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.feature-row:nth-child(even) {
    flex-direction: row-reverse;
    /* Flip every other row */
}

.feature-text {
    flex: 1;
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    background: #D1FAE5;
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-text h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.feature-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.feature-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Decorative Circle behind image */
.feature-visual::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: #FEF3C7;
    /* Light Gold */
    border-radius: 50%;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.feature-visual img {
    border-radius: 24px;
    box-shadow: var(--shadow-3d);
    max-width: 240px;
    /* Consistent phone size */
    background: white;
    padding: 8px;
    /* White border effect */
    transition: transform 0.3s ease;
}

.feature-visual:hover img {
    transform: translateY(-10px);
}

/* --- Showcase Grid --- */
.showcase {
    background: #FFFFFF;
    padding: 100px 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.showcase-item {
    text-align: center;
}

.showcase-item img {
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    max-width: 200px;
    margin: 0 auto;
    transition: transform 0.3s;
}

.showcase-item:hover img {
    transform: translateY(-10px);
}

/* --- Footer --- */
footer {
    background: var(--primary-dark);
    padding: 60px 0;
    color: white;
    text-align: center;
}

.footer-content h4 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white;
}

.footer-content p {
    opacity: 0.7;
    margin-bottom: 20px;
}

.socials a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    opacity: 0.8;
}

.socials a:hover {
    opacity: 1;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .bg-shape {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-image {
        margin-top: 40px;
    }

    .hero-text p {
        margin: 0 auto 30px;
    }

    .cta-group {
        justify-content: center;
    }

    .feature-row {
        flex-direction: column !important;
        /* Stack vertically always */
        text-align: center;
        gap: 40px;
    }

    .feature-icon-box {
        margin: 0 auto 20px;
    }

    .feature-visual::after {
        width: 200px;
        height: 200px;
    }
}