@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
    --color-bg: #f8fafc;
    --color-surface: #ffffff;
    --color-text: #0f172a;
    --color-text-secondary: #64748b;
    --color-accent: #e67e22;
    --color-accent-hover: #d35400;
    --color-border: #e2e8f0;
    --max-width: 860px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.15s;
}

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--color-border);
    padding: 0.875rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

header .container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: -0.02em;
}

header .logo:hover {
    color: var(--color-accent);
    text-decoration: none;
}

header nav {
    display: flex;
    align-items: center;
    gap: 0.125rem;
}

header nav a {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}

header nav a:hover {
    color: var(--color-text);
    background: var(--color-bg);
    text-decoration: none;
}

/* Main content */
main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 3rem 0 4rem;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.875rem;
    line-height: 1.15;
    color: var(--color-text);
}

.hero p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Sections */
section {
    margin-bottom: 3.5rem;
}

section h2 {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-bottom: 1.25rem;
}

section h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 1.25rem 0 0.5rem;
    letter-spacing: -0.01em;
    color: var(--color-text);
}

section p {
    margin-bottom: 0.75rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* App card */
.app-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
    color: var(--color-text);
}

.app-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(230, 126, 34, 0.25);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--color-text);
}

.app-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--color-accent), #f39c12);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.app-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.app-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.app-card-arrow {
    margin-left: auto;
    color: var(--color-border);
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: color 0.15s, transform 0.2s;
    line-height: 1;
}

.app-card:hover .app-card-arrow {
    color: var(--color-accent);
    transform: translateX(3px);
}

/* Screenshots gallery */
.screenshots {
    display: flex;
    gap: 1.75rem;
    justify-content: center;
    align-items: flex-start;
    overflow-x: auto;
    padding: 0.5rem 0.25rem 1.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.screenshots::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.screenshot-caption {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    text-align: center;
    font-weight: 500;
}

/* iPhone frame */
.iphone-frame {
    position: relative;
    width: 210px;
    background: #1c1c1e;
    border-radius: 46px;
    padding: 12px;
    box-shadow:
        0 0 0 1px #3a3a3c,
        0 30px 70px rgba(0, 0, 0, 0.25),
        0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Side / power button */
.iphone-frame::before {
    content: '';
    position: absolute;
    right: -3px;
    top: 28%;
    width: 3px;
    height: 52px;
    background: #3a3a3c;
    border-radius: 0 2px 2px 0;
}

/* Volume buttons */
.iphone-frame::after {
    content: '';
    position: absolute;
    left: -3px;
    top: 20%;
    width: 3px;
    height: 30px;
    background: #3a3a3c;
    border-radius: 2px 0 0 2px;
    box-shadow: 0 44px 0 #3a3a3c, 0 76px 0 #3a3a3c;
}

.iphone-screen {
    border-radius: 36px;
    overflow: hidden;
    background: #000;
}

.iphone-screen img {
    width: 100%;
    height: auto;
    display: block;
}

.iphone-dynamic-island {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 10px;
    background: #000;
    border-radius: 10px;
    z-index: 10;
    pointer-events: none;
}

.iphone-home {
    height: 4px;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 10px;
    width: 38%;
    margin: 8px auto 2px;
}

/* Feature list */
.features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

.features li {
    padding: 0.875rem 1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 0.625rem;
    align-items: flex-start;
    line-height: 1.5;
}

.features li::before {
    content: '✓';
    color: var(--color-accent);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.features li strong {
    color: var(--color-text);
    font-weight: 600;
    display: block;
    margin-bottom: 0.1rem;
}

/* FAQ */
.faq-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    color: var(--color-text);
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.faq-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--color-text-secondary);
}

/* Contact box */
.contact-box {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.contact-box p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.contact-box a {
    display: inline-block;
    background: var(--color-accent);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    transition: background 0.15s, transform 0.15s;
}

.contact-box a:hover {
    background: var(--color-accent-hover);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Footer */
footer {
    border-top: 1px solid var(--color-border);
    padding: 2rem 1.5rem;
    text-align: center;
    font-size: 0.825rem;
    color: var(--color-text-secondary);
}

/* Responsive */
@media (max-width: 600px) {
    main {
        padding: 2.5rem 1.25rem;
    }

    .hero {
        padding: 2rem 0 3rem;
    }

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

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

    .app-card {
        flex-direction: column;
        text-align: center;
    }

    .app-card-arrow {
        display: none;
    }

    header .container {
        flex-direction: row;
    }

    header nav a {
        padding: 0.375rem 0.5rem;
    }

    .screenshots {
        justify-content: flex-start;
        padding-left: 0.25rem;
    }

    .iphone-frame {
        width: 180px;
    }
}
