@font-face {
    font-family: 'SF Pro Display';
    src: url("Fonts/sf-pro-display_regular.ttf");
    font-weight: 400;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url("Fonts/sf-pro-display_bold.ttf");
    font-weight: 700;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url("Fonts/sf-pro-text_regular.ttf");
    font-weight: 400;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url("Fonts/sf-pro-text_semibold.ttf");
    font-weight: 600;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    background-color: #000000;
    color: #ffffff;
    scroll-behavior: smooth;
}

#main {
    position: relative;
    width: 100%;
}

#page1 {
    position: relative;
    width: 100%;
}

/* ══════════════════════════════════════════════════════════════
   NAVBAR 1 (APPLE MAIN NAV)
   ══════════════════════════════════════════════════════════════ */
nav {
    height: 48px;
    background-color: rgba(22, 22, 23, 0.88);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -0.01em;
}

.nav-app-logo {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(175, 82, 222, 0.4);
}

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

.nav-links-desktop a {
    text-decoration: none;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

.nav-links-desktop a:hover {
    color: #ffffff;
}

.nav-right-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-cta-btn {
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 980px;
    transition: opacity 0.2s;
}

.nav-cta-btn:hover {
    opacity: 0.85;
}

.menu-toggle-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

/* ══════════════════════════════════════════════════════════════
   NAVBAR 2 (TOP RIBBON / PROMO BANNER)
   ══════════════════════════════════════════════════════════════ */
.nav2 {
    color: #a1a1a6;
    background-color: #1d1d1f;
    min-height: 44px;
    width: 100%;
    margin-top: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    text-align: center;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav2 a {
    color: #2997ff;
    padding-left: 6px;
    text-decoration: none;
    font-weight: 500;
}

.nav2 a:hover {
    text-decoration: underline;
}

/* ══════════════════════════════════════════════════════════════
   MOBILE SUBNAV
   ══════════════════════════════════════════════════════════════ */
.subnav {
    display: none;
    position: fixed;
    top: 48px;
    left: 0;
    width: 100%;
    background-color: #161617;
    padding: 24px 20px 32px;
    z-index: 998;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.subnav.active {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.subnav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ══════════════════════════════════════════════════════════════
   HERO SECTIONS (FULL-WIDTH IMMERSIVE APPLE STAGE)
   ══════════════════════════════════════════════════════════════ */
.hero-stage {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 20px 50px;
    margin-bottom: 12px;
    text-align: center;
    overflow: hidden;
}

/* Hero Stage 1: Dark Stage (Check Calo Hero 1) */
.hero-stage-dark {
    background-color: #000000;
    color: #ffffff;
}

/* Hero Stage 2: Light Stage (AI Camera) */
.hero-stage-light {
    background-color: #f5f5f7;
    color: #1d1d1f;
}

/* Stage Header Content */
.stage-header {
    max-width: 820px;
    margin: 0 auto;
    z-index: 2;
}

.stage-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px;
    border-radius: 980px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}

.stage-badge-purple {
    background: rgba(175, 82, 222, 0.2);
    color: #d896ff;
    border: 1px solid rgba(175, 82, 222, 0.3);
}

.stage-badge-blue {
    background: rgba(41, 151, 255, 0.12);
    color: #0071e3;
    border: 1px solid rgba(41, 151, 255, 0.2);
}

.stage-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.08;
    margin-bottom: 8px;
}

.stage-subtitle {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 500;
    letter-spacing: -0.015em;
    margin-bottom: 12px;
}

.hero-stage-dark .stage-subtitle {
    color: #d2d2d7;
}

.hero-stage-light .stage-subtitle {
    color: #424245;
}

.stage-desc {
    font-size: clamp(15px, 1.8vw, 17px);
    max-width: 620px;
    margin: 0 auto 20px;
    line-height: 1.5;
}

.hero-stage-dark .stage-desc {
    color: #86868b;
}

.hero-stage-light .stage-desc {
    color: #6e6e73;
}

/* Apple-style Links & Store Buttons */
.stage-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    font-size: 19px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.stage-links a {
    color: #2997ff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 18px;
    font-weight: 400;
}

.stage-links a:hover {
    text-decoration: underline;
}

/* Store Badge Buttons */
.store-btn-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.store-apple-btn,
.store-play-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #000000;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.store-apple-btn:hover,
.store-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.4);
}

.store-apple-btn img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.btn-caption {
    font-size: 10px;
    text-transform: uppercase;
    color: #a1a1a6;
    letter-spacing: 0.05em;
    display: block;
    line-height: 1;
}

.btn-label {
    font-size: 16px;
    font-weight: 600;
    font-family: 'SF Pro Display', sans-serif;
    color: #ffffff;
    display: block;
    line-height: 1.2;
}

/* Stage Product Visuals */
.stage-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

/* Banner Frame for Section 1 */
.banner-frame-container {
    max-width: 980px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.12);
    background: #111113;
}

.banner-frame-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Realistic Phone Mockup for Full Sections */
.hero-phone-mockup {
    width: 270px;
    height: 550px;
    max-width: 85vw;
    border-radius: 44px;
    border: 8px solid #2d2d30;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    background: #000000;
}

.hero-phone-mockup img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ══════════════════════════════════════════════════════════════
   2-COLUMN BENTO GRID SECTIONS (Apple .hero-section4)
   ══════════════════════════════════════════════════════════════ */
.hero-section4 {
    max-width: 1200px;
    margin: 0 auto 12px;
    display: flex;
    gap: 12px;
    padding: 0 12px;
}

.grid-card {
    flex: 1;
    min-height: 660px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 48px 24px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.grid-card:hover {
    transform: translateY(-2px);
}

.grid-card-dark {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.grid-card-light {
    background-color: #f5f5f7;
    color: #1d1d1f;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.grid-card-header h3 {
    font-family: 'SF Pro Display', sans-serif;
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 8px;
}

.grid-card-header p {
    font-size: 17px;
    line-height: 1.4;
    margin-bottom: 14px;
}

.grid-card-dark .grid-card-header p {
    color: #86868b;
}

.grid-card-light .grid-card-header p {
    color: #6e6e73;
}

.grid-card .stage-links {
    margin-bottom: 24px;
}

.grid-card-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
}

.card-phone-mockup {
    width: 230px;
    height: 470px;
    max-width: 80vw;
    border-radius: 38px;
    border: 7px solid #2d2d30;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    background: #000000;
}

.card-phone-mockup img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ══════════════════════════════════════════════════════════════
   SWIPER SLIDER SECTION (APPLE MOVIE / GALLERY CAROUSEL)
   ══════════════════════════════════════════════════════════════ */
.slider-section {
    width: 100%;
    padding: 60px 0 80px;
    background-color: #000000;
    text-align: center;
}

.slider-heading {
    margin-bottom: 36px;
    padding: 0 20px;
}

.slider-heading h2 {
    font-family: 'SF Pro Display', sans-serif;
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: #ffffff;
}

.slider-heading p {
    font-size: 17px;
    color: #86868b;
}

.swiper {
    width: 100%;
    padding-bottom: 50px !important;
}

.swiper-slide {
    width: 270px;
    opacity: 0.45;
    transform: scale(0.92);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.swiper-slide-active {
    opacity: 1;
    transform: scale(1.02);
}

.slide-phone-mockup {
    width: 230px;
    height: 470px;
    border-radius: 38px;
    border: 6px solid #2d2d30;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
    background: #000000;
    margin-bottom: 14px;
}

.slide-phone-mockup img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.slide-title {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

.slide-subtitle {
    font-size: 12px;
    color: #86868b;
}

.swiper-button-next,
.swiper-button-prev {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15);
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.3);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px !important;
}

.swiper-pagination-bullet {
    background: #ffffff !important;
    opacity: 0.3 !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: #2997ff !important;
    width: 20px !important;
    border-radius: 6px !important;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER (APPLE 5-COLUMN FOOTER)
   ══════════════════════════════════════════════════════════════ */
footer {
    width: 100%;
    background-color: #161617;
    color: #86868b;
    font-size: 12px;
    padding: 30px 20px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-disclaimer {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1.6;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 2;
}

.footer-col h4 {
    color: #f5f5f7;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-col a {
    color: #86868b;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-bar a {
    color: #2997ff;
    text-decoration: none;
}

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

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

.footer-legal-links a {
    color: #86868b;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
    .hero-section4 {
        flex-direction: column;
    }

    .grid-card {
        width: 100%;
        min-height: 500px;
    }

    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 680px) {
    .nav-links-desktop {
        display: none;
    }

    .menu-toggle-btn {
        display: block;
    }

    .hero-stage {
        padding: 40px 16px 20px;
        min-height: 75vh;
    }

    .store-btn-group {
        flex-direction: column;
        width: 100%;
    }

    .store-apple-btn,
    .store-play-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-phone-mockup {
        width: 230px;
    }

    .card-phone-mockup {
        width: 210px;
    }

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

    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}