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

:root {
    --primary: #ffaa44;
    --primary-dark: #e6952e;
    --secondary: #1a1a2e;
    --accent: #ff6b6b;
    --text: #333;
    --text-light: #666;
    --text-lighter: #999;
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --bg-dark: #1a1a2e;
    --border: #e0e0e0;
    --red: #ff3b30;
    --orange: #ff9500;
    --blue: #007aff;
    --green: #34c759;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
}

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

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

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

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

a:hover {
    text-decoration: underline;
}

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

.btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

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

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

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

.btn-secondary:hover {
    background: #2a2a4e;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    color: white;
}

/* Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo {
    font-size: 2rem;
}

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

.nav-links a {
    color: var(--text);
    font-weight: 500;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #fff9f0 0%, #fff 100%);
    min-height: 100vh;
    padding-bottom: 80px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
}

.hero-text {
    flex: 1;
    max-width: 550px;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--secondary) 0%, #4a4a6a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-buttons {
    display: flex;
    gap: 16px;
}

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

/* Watch Mockup */
.watch-mockup {
    width: 220px;
    height: 270px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 50px;
    padding: 20px;
    box-shadow: var(--shadow-lg), inset 0 2px 4px rgba(255,255,255,0.1);
    position: relative;
}

.watch-mockup::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 40px;
    background: #3a3a3a;
    border-radius: 3px;
}

.watch-mockup.small {
    width: 160px;
    height: 195px;
    padding: 15px;
    border-radius: 36px;
}

.watch-mockup.small::before {
    width: 4px;
    height: 30px;
    right: -6px;
}

.watch-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 32px;
    padding: 16px;
    overflow: hidden;
}

.watch-mockup.small .watch-screen {
    border-radius: 24px;
    padding: 12px;
}

.goal-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    margin-bottom: 8px;
}

.goal-item.urgent {
    background: rgba(255, 59, 48, 0.2);
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.indicator.red, .dot.red { background: var(--red); }
.indicator.orange, .dot.orange { background: var(--orange); }
.indicator.blue, .dot.blue { background: var(--blue); }
.indicator.green, .dot.green { background: var(--green); }

.goal-info {
    display: flex;
    flex-direction: column;
}

.goal-name {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.goal-time {
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
}

/* Small watch screen elements */
.screen-title {
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 10px;
    text-align: center;
}

.goal-list-mini {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.goal-mini {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.7rem;
    padding: 6px 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
}

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

.quick-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 15px 0;
}

.qb {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--secondary);
    font-weight: 700;
    border-radius: 10px;
    font-size: 0.9rem;
}

.custom-btn {
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 0.65rem;
    padding: 6px;
    border-radius: 8px;
    text-align: center;
}

.watch-screen.complication {
    display: flex;
    align-items: center;
    justify-content: center;
}

.comp-circular {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.comp-number {
    color: var(--orange);
    font-size: 1.5rem;
    font-weight: 700;
}

.comp-label {
    color: rgba(255,255,255,0.5);
    font-size: 0.6rem;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg);
}

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

.feature-card {
    padding: 32px;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

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

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
    background: var(--bg-alt);
}

.screenshot-grid {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.screenshot-item {
    text-align: center;
}

.screenshot-caption {
    margin-top: 16px;
    color: var(--text-light);
    font-weight: 500;
}

/* Setup Section */
.setup {
    padding: 100px 0;
    background: var(--bg);
}

.setup-steps {
    max-width: 700px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-light);
    margin-bottom: 12px;
}

.step-content code {
    display: block;
    background: var(--bg-dark);
    color: #e0e0e0;
    padding: 16px;
    border-radius: var(--radius);
    font-size: 0.875rem;
    overflow-x: auto;
}

/* Requirements Section */
.requirements {
    padding: 80px 0;
    background: var(--bg-alt);
}

.req-grid {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.req-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.req-icon {
    font-size: 1.5rem;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--bg);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.faq-item summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--text-light);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    margin-top: 12px;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 600;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
    color: white;
}

.footer-note {
    color: rgba(255,255,255,0.4);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .nav {
        padding: 16px 24px;
    }

    .nav-links {
        display: none;
    }

    h2 {
        font-size: 2rem;
    }

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

@media (max-width: 600px) {
    .hero-text h1 {
        font-size: 2rem;
    }

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

    .screenshot-grid {
        gap: 32px;
    }

    .req-grid {
        flex-direction: column;
        align-items: center;
    }
}
