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

:root {
    --primary-color: #0071e3;
    --primary-hover: #0077ed;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --border-color: #d2d2d7;
    --card-bg: #fbfbfd;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 48px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-logo svg {
    width: 24px;
    height: 24px;
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Hero Section */
.hero {
    margin-top: 48px;
    padding: 100px 20px 80px;
    background-color: var(--bg-primary);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-title {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.05;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero-description {
    font-size: 21px;
    line-height: 1.4;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 400;
}

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

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    display: inline-block;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    display: inline-block;
    border: 2px solid var(--primary-color);
    transition: all 0.2s;
    cursor: pointer;
}

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

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-preview {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 450px;
}

.preview-header {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px 12px 0 0;
    padding: 12px 16px;
    margin-bottom: 2px;
}

.preview-dots {
    display: flex;
    gap: 8px;
}

.preview-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #e0e0e0;
}

.preview-content {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 0 0 12px 12px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.skill-card-preview {
    background-color: white;
    border-radius: 12px;
    padding: 16px;
    display: grid;
    grid-template-columns: 64px 1fr auto;
    grid-template-rows: auto auto auto;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 400px;
}

.skill-icon {
    font-size: 48px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f7;
    border-radius: 12px;
    grid-row: 1 / 4;
    grid-column: 1;
}

.skill-card-preview h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
    grid-row: 1;
    grid-column: 2;
    text-align: left;
}

.skill-rating {
    color: #ff9500;
    font-size: 12px;
    margin-bottom: 0;
    grid-row: 2;
    grid-column: 2;
    text-align: left;
}

.skill-category {
    font-size: 12px;
    color: var(--text-secondary);
    grid-row: 3;
    grid-column: 2;
    text-align: left;
}

.btn-get {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 6px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    grid-row: 1 / 4;
    grid-column: 3;
    align-self: center;
}

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

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

.section-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.015em;
    text-align: center;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 24px;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
    font-weight: 400;
}

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

.feature-card {
    background-color: white;
    border-radius: 18px;
    padding: 48px 32px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    color: var(--primary-color);
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 17px;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* How It Works */
.how-it-works {
    padding: 100px 20px;
    background-color: var(--bg-primary);
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    max-width: 1200px;
    margin: 60px auto 0;
}

.step {
    flex: 1;
    text-align: center;
    max-width: 300px;
}

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

.step h3 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.step-arrow {
    font-size: 32px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

/* Categories */
.categories {
    padding: 100px 20px;
    background-color: var(--bg-secondary);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 60px auto 0;
}

.category-item {
    background-color: white;
    border-radius: 16px;
    padding: 32px 16px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.category-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.category-item span {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Supported Robots Section */
.supported-robots {
    padding: 100px 20px;
    background-color: var(--bg-secondary);
}

.robots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 60px auto 40px;
}

.robot-card {
    background-color: white;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.robot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

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

.robot-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.robot-type {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

.robots-cta {
    text-align: center;
    margin-top: 40px;
}

.robots-cta p {
    font-size: 17px;
    color: var(--text-secondary);
}

.robots-cta a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.robots-cta a:hover {
    text-decoration: underline;
}

/* Developers Section */
.developers {
    padding: 100px 20px;
    background: #0071e3;
    color: white;
}

.developers-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.developers h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.developers p {
    font-size: 21px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.developers-benefits {
    list-style: none;
    text-align: left;
    margin: 32px auto;
    max-width: 400px;
}

.developers-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    margin-bottom: 16px;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.developers-benefits svg {
    flex-shrink: 0;
}

.developers .btn-secondary {
    border-color: white;
    color: white;
}

.developers .btn-secondary:hover {
    background-color: white;
    color: #0071e3;
}

/* Newsletter Section */
.newsletter {
    padding: 100px 20px;
    background-color: var(--bg-secondary);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.newsletter-content > p {
    font-size: 21px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 16px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: 980px;
    font-size: 17px;
    outline: none;
    transition: border-color 0.2s;
    background-color: white;
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
}

.newsletter-form button {
    padding: 14px 28px;
}

.newsletter-note {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Waitlist Section */
.waitlist {
    padding: 100px 20px;
    background-color: var(--bg-primary);
}

.waitlist-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.waitlist h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.waitlist-content > p {
    font-size: 21px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.waitlist-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 16px;
}

.waitlist-form input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: 980px;
    font-size: 17px;
    outline: none;
    transition: border-color 0.2s;
}

.waitlist-form input:focus {
    border-color: var(--primary-color);
}

.waitlist-form button {
    padding: 14px 28px;
}

.waitlist-note {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    padding: 60px 20px 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 80px 20px 60px;
    }

    .hero-content {
        text-align: center;
    }

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

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

    .steps {
        flex-direction: column;
        gap: 40px;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .hero-description {
        font-size: 17px;
    }

    .section-title {
        font-size: 36px;
    }

    .section-subtitle {
        font-size: 19px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-form,
    .waitlist-form {
        flex-direction: column;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 21px;
    }

    .app-preview {
        padding: 12px;
    }

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