/* Apple Vision Pro Exact Layout and Typography */

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

/* Apple's System Font Stack (SF Pro) */
body {
    font-family: var(--apple-font, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, system-ui, sans-serif);
    background-color: #ffffff;
    color: var(--apple-black, #1d1d1f);
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -.022em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Global Navigation (Apple's very thin header bar) */
.global-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    /* Removed border-bottom to eliminate divider between headers */
    height: 44px; /* Apple's exact header height */
}

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

.global-nav-logo {
    display: flex;
    align-items: center;
    gap: 18px; /* Increased space between logo and text */
}

.global-nav-logo a {
    display: flex;
    align-items: center;
    gap: 18px; /* Space between logo and text inside the link */
    text-decoration: none; /* Remove underline */
    color: inherit;
}

.global-nav-logo .logo {
    height: 18px; /* Smaller logo to match Apple's proportion */
    width: auto;
    filter: brightness(0) saturate(100%); /* Renders logo in black */
}

.global-nav-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--apple-black, #1d1d1f);
    letter-spacing: -.022em;
    text-decoration: none;
}

.global-nav-menu {
    display: flex;
    gap: 40px;
}

.global-nav-link {
    color: var(--apple-black, #1d1d1f);
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -.01em;
    transition: opacity 0.3s ease;
}

.global-nav-link:hover {
    opacity: 0.8;
}

/* Local Navigation (used only on home page) */
.local-nav {
    position: sticky;
    top: 44px; /* Sits right below global nav */
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    height: 52px;
}

.local-nav-content {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Title left, actions right */
    height: 100%;
}

.local-nav-title {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: .011em;
    color: var(--apple-black, #1d1d1f);
}

.local-nav-actions {
    display: flex;
    gap: 30px;
    align-items: center;
}

.local-nav-cta,
.local-nav-demo {
    color: #0066cc;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -.01em;
    transition: opacity 0.3s ease;
}

.local-nav-cta:hover,
.local-nav-demo:hover {
    opacity: 0.8;
}

/* Hero Section (adjusted for Windows taskbar) */
.hero-section {
    padding-top: 44px; /* Account for single header (44px) */
    height: 96vh; /* Slightly smaller to account for Windows taskbar */
    width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}

.hero-content {
    position: absolute;
    bottom: 60px; /* Moved lower for better positioning */
    left: 42%; /* Moved 10% to the left (from 52% to 42%) */
    transform: translateX(-50%); /* Center horizontally only */
    text-align: center; /* Center the text */
    z-index: 10;
    color: var(--apple-black, #1d1d1f); /* Black text */
    width: 100%; /* Allow full width for centering */
}

.hero-title {
    font-size: clamp(32px, 6vw, 64px); /* Increased size since it's the only text */
    font-weight: 500; /* Thinner weight like Apple's */
    letter-spacing: -.009em; /* More letter spacing like Apple's */
    line-height: 1.05;
    color: var(--apple-black, #1d1d1f); /* Black text */
    margin-bottom: 30px; /* Space for call to action links */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Space between logo and text */
}

.hero-logo {
    height: clamp(28px, 5vw, 56px); /* Scale with title size */
    width: auto;
    filter: brightness(0) saturate(100%); /* Black logo */
    transform: translate(-70px, -30px); /* Move 70px left and 30px up */
}

.hero-actions {
    display: flex;
    flex-direction: column; /* Stack vertically */
    gap: 12px; /* Space between action buttons */
    justify-content: center;
    align-items: center;
    transform: translate(52px, -2px); /* Move 52px right and 2px up */
}

.hero-cta {
    color: #f56500; /* Apple's signature orange for Vision Pro CTAs */
    text-decoration: none;
    font-size: 26px; /* Increased from 17px to 26px (50% larger) */
    font-weight: 500; /* Slightly bolder for visibility */
    letter-spacing: -.022em;
    transition: all 0.3s ease;
    font-family: var(--apple-font);
    display: inline-block;
    position: relative;
    cursor: pointer;
    text-shadow: 0 1px 3px rgba(245, 101, 0, 0.3); /* Subtle orange glow */
}

.hero-cta:hover {
    color: #ff6b35; /* Brighter orange on hover */
    text-shadow: 0 2px 6px rgba(245, 101, 0, 0.5); /* Enhanced glow on hover */
    transform: translateY(-1px); /* Subtle lift effect */
}

/* Removed subtitle, description, and tagline styles since they're no longer used */

/* Hero Visual */
.hero-visual {
    width: 100%;
    height: 100%; /* Fill the entire hero section */
    position: relative; /* For absolute positioning of text overlay */
    max-width: 1024px; /* Match header width constraint */
    margin: 0 auto; /* Center the hero visual */
    padding: 0 22px; /* Match header padding */
}

.hero-image-container {
    position: relative; /* For absolute positioning of overlaid text */
    width: 100%;
    height: 100%; /* Fill the full hero visual */
}

.hero-image-placeholder {
    width: 100%;
    height: 100%; /* Full height instead of aspect ratio */
    background-image: url('../images/hero-image.png');
    background-size: 85% auto;
    background-position: 120% bottom;
    background-repeat: no-repeat;
    border-radius: 0; /* No border radius for full screen */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Content Sections */
.content-section {
    padding: 100px 22px;
    max-width: 1024px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 600;
    letter-spacing: -.003em;
    line-height: 1.08333;
    color: var(--apple-black, #1d1d1f);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: clamp(19px, 3.5vw, 28px);
    font-weight: 600;
    letter-spacing: .007em;
    line-height: 1.14286;
    color: var(--apple-black, #1d1d1f);
    margin-bottom: 25px;
}

.section-description {
    font-size: clamp(17px, 2.5vw, 21px);
    font-weight: 400;
    letter-spacing: .011em;
    line-height: 1.381;
    color: var(--apple-gray, #86868b);
    max-width: 700px;
    margin: 0 auto;
}

/* Philosophy Section - Full Screen */
.philosophy-section {
    height: 100vh; /* Exactly one screen height */
    padding: 0 22px;
    max-width: 1024px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

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

.philosophy-quote {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 500;
    letter-spacing: -.009em;
    line-height: 1.08333;
    color: var(--apple-black, #1d1d1f);
    margin-bottom: 60px;
    font-family: var(--apple-font);
}

.philosophy-interactions {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.philosophy-interaction {
    width: 100%;
    max-width: 600px;
}

.philosophy-button {
    background: none;
    border: none;
    color: #f56500;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -.022em;
    font-family: var(--apple-font);
    cursor: pointer;
    padding: 12px 0;
    margin-bottom: 20px;
    transition: opacity 0.3s ease, transform 0.2s ease;
    text-decoration: underline;
    text-underline-offset: 4px;
    width: 100%;
    text-align: center;
}

.philosophy-button:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.philosophy-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease, padding 0.5s ease;
    padding: 0 20px;
}

.philosophy-content.revealed {
    max-height: 200px;
    opacity: 1;
    padding: 20px;
}

.philosophy-content p {
    font-size: clamp(17px, 2.5vw, 21px);
    font-weight: 400;
    letter-spacing: .011em;
    line-height: 1.381;
    color: var(--apple-black, #1d1d1f);
    margin: 0;
    font-family: var(--apple-font);
}

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

/* Features Section */
.features-section {
    padding: 100px 22px;
    background-color: var(--apple-light-gray, #f5f5f7);
}

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

.feature-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    text-align: center;
}

.feature {
    padding: 0;
}

.feature-title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: .009em;
    line-height: 1.16667;
    color: var(--apple-black, #1d1d1f);
    margin-bottom: 15px;
}

.feature-description {
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -.022em;
    line-height: 1.47059;
    color: var(--apple-gray, #86868b);
}

/* Footer */
.global-footer {
    background-color: var(--apple-light-gray, #f5f5f7);
    padding: 60px 22px 40px;
    border-top: 1px solid var(--apple-border, rgba(0, 0, 0, 0.12));
}

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

.footer-legal p {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -.01em;
    line-height: 1.33337;
    color: var(--apple-gray, #86868b);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .global-nav-content,
    .local-nav-content {
        padding: 0 16px;
    }
    
    .hero-visual {
        padding: 0 16px; /* Match header padding on tablets */
    }
    
    .hero-section,
    .content-section {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .features-section {
        padding: 80px 16px;
    }
}

@media (max-width: 768px) {
    .global-nav-menu {
        gap: 25px;
    }
    
    .global-nav-link {
        font-size: 11px;
    }
    
    .local-nav-actions {
        gap: 20px;
    }
    
    .hero-section {
        padding-top: 96px; /* Header heights: 44px + 52px on home page */
        height: 96vh; /* Consistent with desktop, accounting for mobile bars */
    }
    
    .hero-content {
        bottom: 80px; /* Adjusted for new container height */
    }
    
    .hero-actions {
        gap: 10px; /* Smaller gap on mobile */
    }
    
    .hero-cta {
        font-size: 15px; /* Smaller text on mobile */
    }
    
    .feature-group {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .philosophy-section {
        height: 100vh; /* Full screen on tablet too */
        padding: 0 16px;
    }
    
    .philosophy-interactions {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .global-nav {
        height: 48px;
    }
    
    .local-nav {
        top: 48px;
        height: 48px;
    }
    
    .local-nav-content {
        flex-direction: column;
        gap: 10px;
        padding: 8px 16px;
    }
    
    .local-nav-title {
        font-size: 18px;
    }
    
    .local-nav-actions {
        gap: 15px;
    }
    
    .hero-section {
        padding-top: 96px; /* 48px + 48px for mobile headers */
        height: 96vh; /* Consistent height accounting for system UI */
    }
    
    .hero-visual {
        padding: 0 16px; /* Match mobile header padding */
    }
    
    .hero-content {
        bottom: 60px; /* Adjusted for new container height on small screens */
    }
    
    .hero-title {
        gap: 15px; /* Smaller gap between logo and text on small screens */
    }
    
    .hero-actions {
        gap: 8px; /* Even smaller gap on very small screens */
    }
    
    .hero-cta {
        font-size: 14px; /* Even smaller text on very small screens */
    }
    
    .content-section {
        padding: 80px 16px;
    }
    
    .features-section {
        padding: 60px 16px;
    }
    
    .philosophy-section {
        height: 100vh; /* Full screen on mobile too */
        padding: 0 16px;
    }
    
    .philosophy-quote {
        margin-bottom: 40px;
    }
    
    .philosophy-interactions {
        gap: 25px;
    }
} 