/* Reset and Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #0071e3;
    --primary-hover: #0077ed;
    --text: #1d1d1f;
    --text-secondary: #86868b;
    --bg: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-tertiary: #fbfbfd;
    --border: #d2d2d7;
    --success: #34c759;
    --radius: 12px;
    --radius-lg: 18px;
    --radius-sm: 8px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.08);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    color: var(--text);
    background: var(--bg);
}

/* Typography */
h1, h2, h3 {
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    text-align: center;
    margin-bottom: 0.5rem;
}

h3 {
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

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

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

a:hover {
    text-decoration: underline;
}

/* Layout */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

nav {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
    height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.01em;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.88;
    transition: opacity 0.2s;
    letter-spacing: 0;
}

.nav-links a:hover {
    opacity: 1;
    text-decoration: none;
}

main {
    padding-top: 48px;
}

section {
    padding: 80px 22px;
    max-width: 980px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: var(--radius);
    font-weight: 400;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    text-decoration: none;
}

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

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

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

.btn-secondary:hover {
    background: rgba(0, 113, 227, 0.1);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: calc(100vh - 48px);
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero-content {
    max-width: 500px;
}

.hero h1 {
    color: var(--text);
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 113, 227, 0.08);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: -0.005em;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.5;
    margin: 20px 0 28px;
    color: var(--text-secondary);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.hero-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.hero-visual {
    display: flex;
    justify-content: center;
}

/* Mac Window */
.mac-window {
    background: var(--bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 380px;
    overflow: hidden;
}

.window-bar {
    background: var(--bg-secondary);
    padding: 12px 14px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.window-content {
    padding: 24px;
}

.backup-status {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.status-icon {
    width: 44px;
    height: 44px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
}

.status-text {
    display: flex;
    flex-direction: column;
}

.status-text strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.status-text span {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.backup-bar {
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.backup-progress {
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
}

.backup-info {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Problem */
.problem {
    padding: 80px 22px;
    max-width: none;
    margin: 0;
    text-align: center;
}

.problem-inner {
    max-width: 980px;
    margin: 0 auto;
}

.problem h2 {
    margin-bottom: 48px;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 56px;
}

.problem-item {
    padding: 0 8px;
}

.problem-icon {
    font-size: 2rem;
    margin-bottom: 14px;
}

.problem-item p {
    font-size: 1rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.problem-closer {
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.02em;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.35;
}

/* Features */
.features {
    background: var(--bg-secondary);
    padding: 80px 22px;
    max-width: none;
    margin: 0;
}

.features h2 {
    margin-bottom: 48px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 980px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.feature-card h3 {
    margin-bottom: 8px;
    color: var(--text);
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* How It Works */
.how-it-works {
    text-align: center;
}

.how-it-works h2 {
    margin-bottom: 48px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step {
    padding: 20px;
}

.step-number {
    width: 44px;
    height: 44px;
    background: var(--text);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 10px;
    color: var(--text);
}

.step p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Pricing */
.pricing {
    text-align: center;
    background: var(--bg-tertiary);
    padding: 80px 22px;
    max-width: none;
    margin: 0;
}

.pricing h2 {
    margin-bottom: 8px;
}

.pricing-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.pricing-calculator {
    max-width: 480px;
    margin: 0 auto 40px;
    background: var(--bg);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.storage-selector {
    margin-bottom: 28px;
}

.storage-selector label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.storage-options {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.storage-option {
    padding: 10px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.storage-option:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.storage-option.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.price-display {
    margin-bottom: 24px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 4px;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text);
}

.price .amount {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1;
}

.price .period {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-left: 4px;
}

.price-detail {
    font-size: 0.95rem;
}

.pricing-features-list {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-feature .check {
    color: var(--success);
    font-weight: 600;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    padding: 16px 22px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-content {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.75rem;
}

.footer-links a:hover {
    color: var(--text);
    text-decoration: none;
}

.footer-copy {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.footer-disclaimer {
    max-width: 980px;
    margin: 12px auto 0;
    color: var(--text-secondary);
    font-size: 0.7rem;
    line-height: 1.5;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 834px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
        padding: 60px 22px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta {
        align-items: center;
    }

    .hero-visual {
        order: -1;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .problem-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .storage-options {
        flex-wrap: wrap;
    }

    .pricing-features-list {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

@media (max-width: 640px) {
    section {
        padding: 60px 20px;
    }

    .nav-links a:not(.btn) {
        display: none;
    }

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