/* Apple Vibe CSS */
@import url('https://fonts.cdnfonts.com/css/sf-pro-display');

:root {
    --apple-font: "SF Pro Display", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --text-color: #1d1d1f;
    --text-color-secondary: #86868b;
    --bg-color: #f5f5f7;
    --bg-white: #ffffff;
    --bg-black: #000000;
    --text-light: #f5f5f7;
    --accent-blue: #0071e3;
    --accent-blue-hover: #0077ed;
    --accent-orange: #f97316;
    --accent-terracotta: #B84F29;
    --accent-terracotta-hover: #9C4121;
    --nav-bg: rgba(0, 0, 0, 0.8);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--apple-font);
    color: var(--text-color);
    background-color: var(--bg-white);
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    letter-spacing: -0.015em;
    margin-bottom: 0.5em;
}

a {
    text-decoration: none;
    color: var(--accent-terracotta);
}

.btn {
    display: inline-block;
    background-color: var(--accent-terracotta);
    color: #fff;
    padding: 12px 24px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 400;
    text-align: center;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--accent-terracotta-hover);
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: #fff;
}

.btn-outline-light {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
}
.btn-outline-light:hover {
    background-color: #fff;
    color: #000;
}

.btn-terracotta {
    background-color: var(--accent-terracotta);
    color: #fff;
}

.btn-terracotta:hover {
    background-color: var(--accent-terracotta-hover);
    color: #fff;
}

.text-terracotta {
    color: var(--accent-terracotta);
}

.bg-terracotta {
    background-color: var(--accent-terracotta);
    color: #fff;
}
/* Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 48px;
    background: var(--nav-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.main-header .logo {
    color: #f5f5f7;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.header-left ul, .header-center ul, .header-right ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-header a {
    color: #f5f5f7;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.01em;
    opacity: 0.8;
    transition: opacity 0.3s, color 0.3s;
}

.main-header a:hover {
    opacity: 1;
    color: #fff;
}

.main-header a.active {
    opacity: 1;
    color: var(--accent-terracotta);
}

.btn-nav {
    background: var(--accent-terracotta);
    color: #fff !important;
    padding: 6px 16px;
    border-radius: 980px;
    font-weight: 600;
    opacity: 1 !important;
    transition: background-color 0.3s ease;
}

.btn-nav:hover {
    background: var(--accent-terracotta-hover) !important;
    color: #fff !important;
}

/* Sections */
.section-padding {
    padding: 100px 20px;
}

.container {
    max-width: 980px;
    margin: 0 auto;
}

/* Hero */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #000;
    color: #f5f5f7;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
} 

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content .sub-heading {
    font-size: 48px;
    font-weight: 300;
    color: #f5f5f7;
    margin-bottom: 10px;
}

.hero-content .main-heading {
    font-size: 80px;
    line-height: 1.05;
    font-weight: 200;
    letter-spacing: -0.015em;
    margin-bottom: 20px;
}

.hero-content .hero-description {
    font-size: 24px;
    font-weight: 400;
    color: #a1a1a6;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Marquee */
.logos-section {
    background: #fafafa;
    padding: 40px 0;
    border-bottom: 1px solid #e5e5ea;
    overflow: hidden;
}

.marquee {
    display: flex;
    white-space: nowrap;
}

.marquee-content {
    display: inline-flex;
    align-items: center;
    animation: marquee 40s linear infinite;
    gap: 60px;
}

.marquee-content img {
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.marquee-content img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Section Title */
.section-title {
    font-size: 56px;
    line-height: 1.07143;
    font-weight: 200;
    letter-spacing: -0.005em;
    text-align: center;
    margin-bottom: 20px;
}
.section-subtitle {
    font-size: 24px;
    line-height: 1.16667;
    font-weight: 400;
    letter-spacing: 0.009em;
    color: var(--text-color-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

/* Dividers */
.divider-terracotta {
    width: 80px;
    height: 5px;
    background: var(--accent-terracotta);
    margin: 20px auto 30px;
    border-radius: 3px;
}

.divider-terracotta-left {
    width: 80px;
    height: 5px;
    background: var(--accent-terracotta);
    margin: 16px 0 28px;
    border-radius: 3px;
}

/* Terracotta Section Backgrounds */
.bg-terracotta-wash {
    background-color: #fdf2ec;
}

.bg-terracotta-bold {
    background: linear-gradient(135deg, var(--accent-terracotta) 0%, #9C4121 100%);
    color: #fff;
}

/* Terracotta Left-Border Feature Card */
.tc-feature-border {
    border-left: 5px solid var(--accent-terracotta);
    padding-left: 24px;
}

/* Terracotta stat numbers */
.stat-number-terracotta {
    font-size: 64px;
    font-weight: 600;
    color: var(--accent-terracotta);
    margin-bottom: 10px;
    display: block;
}

/* High Stakes Change */
.high-stakes-section {
    background-color: var(--bg-color);
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    padding: 20px 0;
}
.carousel-container::-webkit-scrollbar {
    display: none;
}
.carousel-track {
    display: flex;
    gap: 30px;
    padding: 0 max(20px, calc((100vw - 980px) / 2));
}
.carousel-card {
    width: 420px;
    height: 560px;
    flex: 0 0 auto;
    scroll-snap-align: start;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    background: #000;
    display: block;
}
.carousel-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    z-index: 2;
}
.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.card-content h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fff;
    opacity: 0.9;
}
.card-content p {
    color: #fff;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 20px;
    max-width: 85%;
}
.plus-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.3s ease;
}
.plus-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Split Layout */
.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}
.split-layout.reverse {
    flex-direction: row-reverse;
}
.split-layout .content-side {
    flex: 1;
}
.split-layout .image-side {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    height: 600px;
    background: #f5f5f7;
}

.left-align {
    text-align: left;
}

/* Services */
.services-section {
    background-color: var(--bg-color);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 30px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    background: #1d1d1f;
}

.service-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.7s ease;
}

.service-card:hover .service-card-bg {
    transform: scale(1.05);
}

.service-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(to top, rgba(29, 29, 31, 0.95) 0%, rgba(29, 29, 31, 0.6) 40%, transparent 100%);
    z-index: 2;
}

.service-card-content {
    position: relative;
    z-index: 3;
    color: #fff;
}

.service-card-content h3 {
    font-size: 34px;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 300;
    letter-spacing: -0.01em;
}

.service-card-content p {
    font-size: 16px;
    color: #a1a1a6;
    margin-bottom: 30px;
    line-height: 1.5;
}

.btn-service-outline {
    display: inline-block;
    border: 1.5px solid rgba(184, 79, 41, 0.8);
    color: var(--accent-terracotta);
    padding: 10px 24px;
    border-radius: 980px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: rgba(184, 79, 41, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-service-outline:hover {
    background: var(--accent-terracotta);
    border-color: var(--accent-terracotta);
    color: #fff;
}

/* Testimonials */
.testimonials-section {
    background-color: #000;
    color: #fff;
}
.testimonial-card {
    min-width: 100%;
    text-align: center;
    padding: 0 20px;
}
.testimonial-card .quote {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 40px;
}
.testimonial-card .author-info h4 {
    font-size: 21px;
    margin-bottom: 5px;
}
.testimonial-card .author-info p {
    color: #86868b;
    font-size: 17px;
}

/* Book Section */
.book-section {
    background-color: #fff;
}
.book-section .split-layout .image-side {
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}
.book-placeholder {
    width: 300px;
    height: 450px;
    background: #e5e5ea;
    border-radius: 12px;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.15);
}

/* Podcasts Coverflow Placeholder */
.podcast-section {
    background-color: #000;
    color: #fff;
    text-align: center;
}
.coverflow-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}
.coverflow-item {
    width: 250px;
    height: 250px;
    background: #333;
    border-radius: 20px;
}

/* Footer */
.site-footer {
    background: #f5f5f7;
    padding: 60px 20px 20px;
    font-size: 12px;
    color: #86868b;
    border-top: 4px solid var(--accent-terracotta);
}
.footer-top {
    display: flex;
    gap: 40px;
    max-width: 980px;
    margin: 0 auto 40px;
}
.footer-col {
    flex: 1;
}
.footer-col h4 {
    color: #1d1d1f;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: #515154;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--accent-terracotta);
}
.footer-bottom {
    max-width: 980px;
    margin: 0 auto;
    border-top: 1px solid #d2d2d7;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
