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

:root {
    --primary-color: #0071e3;
    --secondary-color: #06c;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --background-light: #fbfbfd;
    --background-dark: #000000;
    --background-elevated: #f5f5f7;
    --border-color: #d2d2d7;
    --transition-smooth: cubic-bezier(0.28, 0.11, 0.32, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-primary);
    background: var(--background-light);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s var(--transition-smooth);
}

a:hover {
    opacity: 0.7;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    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.1);
    z-index: 1000;
    padding: 0 20px;
}

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

.logo {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    padding: 80px 20px 40px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3), transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(252, 203, 144, 0.3), transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 64px;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.08;
    color: #ffffff;
    margin-bottom: 16px;
    animation: fadeInUp 1s var(--transition-smooth);
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.004em;
    line-height: 1.14;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    animation: fadeInUp 1s var(--transition-smooth) 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s var(--transition-smooth) 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 32px;
    font-size: 17px;
    font-weight: 400;
    border-radius: 980px;
    transition: all 0.3s var(--transition-smooth);
    letter-spacing: -0.022em;
}

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

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.02);
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: scale(1.02);
    opacity: 1;
}

/* Section Styles */
.section {
    padding: 96px 20px;
    background: var(--background-light);
}

.section-dark {
    background: var(--background-elevated);
}

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

.section-title {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.003em;
    line-height: 1.08;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-description {
    font-size: 21px;
    font-weight: 400;
    letter-spacing: 0.011em;
    line-height: 1.38;
    text-align: center;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 64px;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 64px;
}

.feature-card {
    text-align: center;
    padding: 40px 24px;
    background: #ffffff;
    border-radius: 18px;
    transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

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

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

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 64px;
}

.product-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
}

.product-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.product-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-position: center;
}

.product-card h3 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 24px 24px 12px;
    color: var(--text-primary);
}

.product-card p {
    font-size: 17px;
    line-height: 1.47;
    color: var(--text-secondary);
    margin: 0 24px 24px;
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 64px;
}

.contact-item {
    text-align: center;
    padding: 32px 24px;
    background: #ffffff;
    border-radius: 18px;
}

.contact-item h3 {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.contact-item p, .contact-item a {
    font-size: 17px;
    line-height: 1.47;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--background-elevated);
    padding: 48px 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-section p, .footer-section a {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 16px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 21px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-description {
        font-size: 17px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 17px;
    }
}

