/* Apple Style CSS - Modern, Clean, Elegant */

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

:root {
    --apple-blue: #0071e3;
    --apple-blue-hover: #0077ed;
    --apple-dark: #1d1d1f;
    --apple-gray: #86868b;
    --apple-light-gray: #f5f5f7;
    --apple-white: #ffffff;
    --apple-black: #000000;
    --nav-height: 44px;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--apple-white);
    color: var(--apple-dark);
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 9999;
    transition: background 0.3s var(--transition-smooth);
}

.nav-container {
    max-width: 1024px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
}

.logo {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.logo:hover {
    color: var(--apple-white);
}

.logo svg {
    width: 14px;
    height: 14px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--apple-white);
}

.nav-icons {
    display: flex;
    gap: 24px;
}

.nav-icons a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.nav-icons a:hover {
    color: var(--apple-white);
}

.nav-icons svg {
    width: 15px;
    height: 15px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(180deg, #000 0%, #1a1a1a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    animation: fadeInUp 1s var(--transition-smooth);
}

.hero-title {
    font-size: 56px;
    font-weight: 600;
    color: var(--apple-white);
    margin-bottom: 8px;
    letter-spacing: -0.005em;
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 400;
    color: var(--apple-white);
    margin-bottom: 20px;
    letter-spacing: 0.007em;
}

.hero-links {
    display: flex;
    gap: 28px;
    justify-content: center;
}

.link-primary {
    color: var(--apple-blue);
    text-decoration: none;
    font-size: 21px;
    font-weight: 400;
    transition: all 0.3s;
}

.link-primary:hover {
    text-decoration: underline;
}

.link-secondary {
    color: var(--apple-blue);
    text-decoration: none;
    font-size: 21px;
    font-weight: 400;
    transition: all 0.3s;
}

.link-secondary:hover {
    text-decoration: underline;
}

.hero-image {
    margin-top: 60px;
    z-index: 1;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 40px;
    position: relative;
    box-shadow: 
        0 0 0 3px #3a3a3a,
        0 50px 100px rgba(0, 0, 0, 0.5),
        inset 0 0 60px rgba(255, 255, 255, 0.05);
    animation: float 6s ease-in-out infinite;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #000;
    border-radius: 14px;
}

.phone-mockup::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    height: 560px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 30px;
    opacity: 0.8;
}

/* Feature Sections */
.feature-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}

.feature-section.dark {
    background: var(--apple-black);
    color: var(--apple-white);
}

.feature-section.light {
    background: var(--apple-light-gray);
    color: var(--apple-dark);
}

.feature-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.003em;
}

.feature-subtitle {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
    opacity: 0.9;
}

.feature-links {
    display: flex;
    gap: 28px;
    justify-content: center;
}

/* Grid Section */
.grid-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 12px;
    background: var(--apple-white);
}

.grid-item {
    min-height: 580px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    padding-top: 60px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--transition-smooth);
}

.grid-item:hover {
    transform: scale(1.02);
}

.grid-item.watch {
    background: linear-gradient(180deg, #1a1a1a 0%, #000 100%);
    color: var(--apple-white);
}

.grid-item.vision {
    background: linear-gradient(180deg, #f5f5f7 0%, #fff 100%);
    color: var(--apple-dark);
}

.grid-item.airpods {
    background: linear-gradient(180deg, #1a1a1a 0%, #000 100%);
    color: var(--apple-white);
}

.grid-item.card {
    background: linear-gradient(180deg, #f5f5f7 0%, #fff 100%);
    color: var(--apple-dark);
}

.grid-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.021em;
}

.logo-icon {
    font-size: 28px;
    margin-right: 4px;
}

.grid-subtitle {
    font-size: 19px;
    font-weight: 400;
    margin-bottom: 16px;
}

.grid-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.grid-links .link-primary,
.grid-links .link-secondary {
    font-size: 17px;
}

/* Footer */
.footer {
    background: var(--apple-light-gray);
    padding: 40px 0 20px;
    font-size: 12px;
    color: var(--apple-gray);
}

.footer-content {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 22px;
}

.footer-disclaimer {
    border-bottom: 1px solid #d2d2d7;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.footer-disclaimer p {
    margin-bottom: 8px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

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

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

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

.footer-column a {
    color: var(--apple-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--apple-dark);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #d2d2d7;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

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

.footer-legal a {
    color: var(--apple-gray);
    text-decoration: none;
}

.footer-legal a:hover {
    text-decoration: underline;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .feature-title {
        font-size: 40px;
    }
    
    .grid-section {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 21px;
    }
    
    .link-primary,
    .link-secondary {
        font-size: 19px;
    }
    
    .feature-title {
        font-size: 32px;
    }
    
    .feature-subtitle {
        font-size: 19px;
    }
    
    .grid-title {
        font-size: 28px;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
    
    .phone-mockup::after {
        width: 200px;
        height: 440px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Scroll animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s var(--transition-smooth);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
