:root {
    --primary: #10B981;
    /* Emerald 500 */
    --primary-dark: #059669;
    /* Emerald 600 */
    --text: #1F2937;
    /* Gray 800 */
    --text-light: #6B7280;
    /* Gray 500 */
    --bg: #F9FAFB;
    /* Gray 50 */
    --white: #FFFFFF;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 24px 0;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 20px;
    color: var(--text);
}

.logo-icon {
    font-size: 24px;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 0;
    gap: 40px;
}

@media (min-width: 768px) {
    .hero {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
        padding: 100px 0;
    }

    .hero-content {
        max-width: 500px;
        align-items: flex-start;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-content {
        align-items: flex-start;
    }
}

.badge {
    background-color: #ECFDF5;
    color: var(--primary-dark);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid #D1FAE5;
}

h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(to right, var(--primary-dark), var(--primary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
    h1 {
        font-size: 64px;
    }
}

.subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
}

/* Signup Form */
.signup-form {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-bottom: 12px;
    flex-direction: column;
}

@media (min-width: 480px) {
    .signup-form {
        flex-direction: row;
    }
}

input[type="email"] {
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    font-size: 16px;
    flex: 1;
    outline: none;
    transition: box-shadow 0.2s;
}

input[type="email"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

button, .download-btn {
    padding: 12px 24px;
    background-color: var(--text);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

button:active, .download-btn:active {
    transform: scale(0.98);
}

.download-btn {
    background-color: #000;
    padding: 14px 28px;
    font-size: 18px;
    margin-top: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.download-btn:hover {
    color: var(--white);
}

.download-icon {
    font-size: 20px;
    margin-right: 8px;
}

.small-text {
    font-size: 12px;
    color: var(--text-light);
}

/* Phone Mockup */
.hero-image {
    position: relative;
    padding: 20px;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background-color: #1F2937;
    /* Dark frame */
    border-radius: 48px;
    padding: 12px;
    box-shadow:
        0 0 0 2px #374151,
        /* Outer rim */
        0 20px 40px -10px rgba(0, 0, 0, 0.4);
    /* Deep shadow */
    position: relative;
    border: 4px solid #111827;
    /* Inner frame bezel */
}

/* Dynamic Island / Notch area */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 24px;
    background-color: #000;
    border-radius: 12px;
    z-index: 10;
}

.screen {
    width: 100%;
    height: 100%;
    background-color: #F3F4F6;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Mock App Content */
.app-content {
    background-color: #F9FAFB;
    height: 100%;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
}

.app-header {
    background-color: var(--primary-dark);
    padding-top: 60px;
    /* Space for status bar */
    padding-bottom: 20px;
    text-align: center;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.app-title {
    font-size: 17px;
    font-weight: 600;
}

.app-card {
    background: linear-gradient(135deg, var(--primary-dark), #047857);
    margin: 20px 16px;
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
}

.app-label {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 8px;
}

.app-value {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.app-sub {
    font-size: 13px;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
}

.app-list {
    padding: 0 16px;
    flex: 1;
}

.app-item {
    background: white;
    padding: 16px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #F3F4F6;
}

.green {
    color: var(--primary-dark);
    font-weight: 600;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 60px;
}

@media (min-width: 768px) {
    .features {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.icon {
    font-size: 32px;
    margin-bottom: 16px;
}

h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

p {
    color: var(--text-light);
    font-size: 14px;
}

/* Footer */
footer {
    border-top: 1px solid #E5E7EB;
    padding: 40px 0;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

.footer-links {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    gap: 24px;
}

a {
    color: var(--text-light);
    text-decoration: none;
}

a:hover {
    color: var(--text);
}