:root {
    --primary-color: #0d9488;
    /* Teal 600 */
    --primary-hover: #0f766e;
    /* Teal 700 */
    --secondary-color: #f0fdfa;
    /* Teal 50 */
    --text-color: #1f2937;
    /* Gray 800 */
    --text-light: #6b7280;
    /* Gray 500 */
    --background-color: #ffffff;
    --accent-color: #fbbf24;
    /* Amber 400 */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --border-radius: 12px;
    --container-width: 1200px;
    --spacing-unit: 1rem;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

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

/* Header */
header {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 3rem;
    font-weight: 500;
}

.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.2s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-app-store {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #000000;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-app-store:hover {
    background-color: #333333;
    transform: translateY(-1px);
}

.btn-app-store svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.btn-app-store .btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.btn-app-store .small-text {
    font-size: 0.65rem;
    font-weight: 400;
}

.btn-app-store .large-text {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding: 4rem 0 0;
    /* Remove bottom padding */
    display: flex;
    align-items: flex-end;
    /* Align items to bottom */
    gap: 4rem;
    min-height: 70vh;
    overflow: hidden;
    /* Ensure image doesn't overflow if negative margins used */
}

.hero-content {
    flex: 1;
    align-self: center;
    /* Center text vertically */
    padding-bottom: 4rem;
    /* Add some space at bottom so it's not too cramped */
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    /* border-radius: 24px; Removed to avoid clipping transparent parts if needed, or keep if image is rect */
    /* box-shadow: 0 20px 40px rgba(0,0,0,0.1); Removed box-shadow */
    /* border: 8px solid white; Removed white border */
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    /* Use drop-shadow for transparency */
    display: block;
    margin-bottom: -10px;
    /* Slight negative margin to ensure flush with bottom if needed, or just 0 */
}

.hero .container {
    display: flex;
    align-items: flex-end;
    gap: 4rem;
}

/* How it Works */
.how-it-works {
    padding: 6rem 0;
    background-color: var(--secondary-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--text-color);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.step-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.step-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.step-card p {
    color: var(--text-light);
}

/* Features */
.features {
    padding: 6rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.feature-list li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: 900;
}

/* Footer */
footer {
    padding: 4rem 0;
    background-color: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.875rem;
}

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

.copyright {
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 0;
    }

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

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        margin: 0 auto 2rem;
    }

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

    .feature-grid.reverse {
        display: flex;
        flex-direction: column-reverse;
    }

    .nav-links {
        display: none;
        /* Simple mobile menu hide for now */
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}