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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    line-height: 1.47059;
    color: #1d1d1f;
    background: #fff;
    font-size: 17px;
    letter-spacing: -0.022em;
}

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

.container-wide {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 22px;
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    height: 44px;
}

.logo {
    font-size: 21px;
    font-weight: 600;
    color: #1d1d1f;
    text-decoration: none;
    letter-spacing: -0.022em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #424245;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
    letter-spacing: -0.016em;
}

.nav-links a:hover {
    color: #0066cc;
}

main {
    margin-top: 44px;
}

.hero {
    text-align: center;
    padding: 120px 0 100px;
    background: #f5f5f7;
}

.hero h1 {
    font-size: 80px;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.015em;
    color: #1d1d1f;
    margin-bottom: 20px;
}

.hero .subtitle {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.14286;
    letter-spacing: 0.007em;
    color: #86868b;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: #0071e3;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 400;
    transition: all 0.3s ease;
    letter-spacing: -0.022em;
}

.cta-button:hover {
    background: #0077ed;
}

.section {
    padding: 120px 0;
}

.section-alternate {
    background: #f5f5f7;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section h2 {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.07143;
    letter-spacing: -0.005em;
    color: #1d1d1f;
    margin-bottom: 20px;
}

.section .lead {
    font-size: 21px;
    font-weight: 400;
    line-height: 1.38095;
    letter-spacing: 0.011em;
    color: #86868b;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
    margin-top: 80px;
}

.service-card {
    text-align: center;
}

.service-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.16667;
    letter-spacing: 0.009em;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.47059;
    letter-spacing: -0.022em;
    color: #86868b;
}

.highlight-section {
    background: #000;
    color: #f5f5f7;
    text-align: center;
    padding: 120px 0;
}

.highlight-section h2 {
    color: #f5f5f7;
    margin-bottom: 20px;
}

.highlight-section .lead {
    color: #a1a1a6;
}

.contact-section {
    background: #f5f5f7;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.contact-card {
    background: #fff;
    padding: 40px;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-card h3 {
    font-size: 21px;
    font-weight: 600;
    line-height: 1.19048;
    letter-spacing: 0.011em;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    margin: 16px 0;
}

.contact-item strong {
    font-size: 14px;
    font-weight: 600;
    color: #86868b;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-item a, .contact-item span {
    color: #0066cc;
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
}

.contact-item span {
    color: #1d1d1f;
}

.contact-item a:hover {
    text-decoration: underline;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.legal-card {
    background: #fff;
    padding: 40px;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.legal-card h3 {
    font-size: 21px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 20px;
}

.legal-card h4 {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 20px 0 8px 0;
}

.legal-card p {
    font-size: 15px;
    line-height: 1.46667;
    color: #86868b;
    margin-bottom: 12px;
}

.legal-card ul {
    margin: 16px 0;
    padding-left: 20px;
}

.legal-card li {
    font-size: 15px;
    line-height: 1.46667;
    color: #86868b;
    margin-bottom: 8px;
}

.app-store-note {
    background: linear-gradient(135deg, #007aff 0%, #0051d2 100%);
    color: #fff;
    padding: 40px;
    border-radius: 18px;
    text-align: center;
    margin: 40px 0;
}

.app-store-note h3 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 12px;
}

footer {
    background: #f5f5f7;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #424245;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0066cc;
}

.footer-text {
    font-size: 12px;
    color: #86868b;
    line-height: 1.33337;
}

.footer-text + .footer-text {
    margin-top: 8px;
}

/* Responsive Design */
@media (max-width: 1068px) {
    .container {
        padding: 0 40px;
    }
    
    .container-wide {
        padding: 0 40px;
    }
}

@media (max-width: 834px) {
    .container {
        padding: 0 20px;
    }
    
    .container-wide {
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .hero .subtitle {
        font-size: 21px;
    }
    
    .section h2 {
        font-size: 32px;
    }
    
    .nav-links {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 20px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 40px;
    }
    
    .hero .subtitle {
        font-size: 19px;
    }
    
    .section h2 {
        font-size: 28px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.cta-button:focus,
.nav-links a:focus,
.contact-item a:focus {
    outline: 2px solid #0077ed;
    outline-offset: 2px;
}