/* Global Styles & Variables */
:root {
    --bg-color: #f5f5f7;
    --text-color: #1d1d1f;
    --text-light: #86868b;
    --accent-color: #0066cc;
    --accent-hover: #0077ed;
    --nav-bg: rgba(255, 255, 255, 0.8);
    --border-color: #d2d2d7;
    --black: #000000;
    --white: #ffffff;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Replicated Nav */
.global-nav {
    position: relative; 
    width: 100%;
    background-color: #ffffff;
    height: 44px;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05); 
    display: flex;
    justify-content: center;
}

.global-nav-list {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
}

.global-nav-list li a {
    font-size: 12px;
    color: #1d1d1f;
    text-decoration: none;
    font-weight: 400;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.global-nav-list li a:hover {
    opacity: 1;
}

.global-nav-list .nav-icon {
    display: flex;
    align-items: center;
    height: 100%;
}

.global-nav-list .nav-icon svg {
    margin-top: 1px;
}

/* Ribbon */
.ribbon {
    background-color: #f5f5f7;
    text-align: center;
    padding: 14px 20px;
}

.ribbon p {
    font-size: 14px;
    color: #1d1d1f;
    margin: 0;
    font-weight: 400;
}

/* Hero Replicated */
.hero-replica {
    background-color: #ffffff;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100vh - 44px - 48px); 
    overflow: hidden;
}

.hero-replica-image {
    width: 100%;
    max-width: none;
    margin: 0 auto 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-replica-image img,
.hero-replica-image video {
    width: 100%; 
    height: auto;
    max-height: 85vh;
    object-fit: cover;
    transform: scale(1);
}

.hero-replica-text {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 40px 100px;
    margin: 0 auto;
}

.left-text h1 {
    font-size: 40px; 
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 5px 0;
    line-height: 1;
}

.magic-text {
    font-size: 80px; 
    font-weight: 700;
    background: linear-gradient(90deg, #A26EE8, #71B9E7, #66CD87, #EAC85A);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    line-height: 1;
    letter-spacing: -0.04em;
}

.right-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.right-cta p {
    font-size: 16px;
    color: #1d1d1f;
    margin: 0;
    font-weight: 600;
}

.buy-button {
    background-color: #0071e3;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

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

/* Animations on Load */
.load-fade-up {
    animation: loadFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(40px);
}

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

/* Common Section Styles */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 80px;
    color: var(--black);
}

.section-subtitle {
    text-align: center;
    font-size: 1.5rem;
    color: var(--text-light);
    margin-top: -60px;
    margin-bottom: 80px;
}

/* Features Section */
.features {
    background-color: var(--white);
    padding: 100px 0;
}

.features-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 100px;
    color: var(--black);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px 40px;
    justify-content: center;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease;
    cursor: default;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    background-color: #f5f5f7;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 24px;
    color: var(--black);
    opacity: 0.8;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--black);
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Split Layout Sections */
.alternating {
    background-color: var(--black);
    color: var(--white);
    padding: 160px 0;
    overflow: hidden;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto 160px;
    gap: 120px;
    padding: 0 5%;
}

.split-layout:last-child {
    margin-bottom: 0;
}

.split-layout.reverse .split-text {
    order: 2;
}

.split-layout.reverse .split-image {
    order: 1;
}

.split-text {
    max-width: 500px;
    margin: 0 auto;
}

.split-text h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 600;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.split-text p {
    font-size: 1.5rem;
    color: #a1a1a6;
    line-height: 1.4;
    font-weight: 400;
}

.split-image {
    width: 100%;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.split-image img {
    width: 100%;
    height: auto; 
    min-height: 500px; 
    object-fit: cover;
    display: block;
}

#chips .split-image {
    background-color: #000;
}

#chips .split-image img {
    transform: scale(1.5); /* Scale up to hide the white padding */
    object-position: center; /* Ensure the phone stays centered */
}

/* Fullscreen Showcase Section */
.fullscreen-showcase {
    height: 100vh;
    background-image: url('hero_startframe__fslo8k8lane6_large_2x.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--white);
    text-align: center;
}

.fullscreen-showcase::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.showcase-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.showcase-content h2 {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    text-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* Product Highlights Bento Section */
.highlights {
    background-color: var(--bg-color);
    padding: 80px 0 160px;
}

.highlights-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.highlight-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.highlight-card {
    background-color: var(--white);
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.highlight-card.large {
    min-height: 600px;
    flex-direction: row;
    align-items: center;
}

.highlight-card.large .highlight-content {
    flex: 1;
    padding: 80px;
}

.highlight-card.large .highlight-media {
    flex: 1.2;
    height: 100%;
}

.highlight-card.large .highlight-media img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.highlight-content {
    padding: 60px 60px 30px;
    z-index: 2;
    position: relative;
}

.highlight-content h3 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--black);
}

.highlight-content p {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--text-light);
    line-height: 1.4;
}

.highlight-media {
    width: 100%;
    position: relative;
    flex: 1;
    display: flex;
}

.highlight-media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .highlight-card.large {
        flex-direction: column;
        min-height: auto;
    }
    .highlight-card.large .highlight-content {
        padding: 60px 40px 30px;
    }
    .highlight-row {
        grid-template-columns: 1fr;
    }
    .highlights-grid {
        padding: 0 20px;
    }
}

/* Power Player Section */
.power-player-section {
    background-color: var(--white);
    border-radius: 40px;
    padding: 80px 40px;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
}

.power-header {
    text-align: center;
    margin-bottom: 60px;
}

.a19-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 16px;
}

.power-heading {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.purple-gradient {
    background: linear-gradient(90deg, #A26EE8, #71B9E7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.green-gradient {
    background: linear-gradient(90deg, #71B9E7, #66CD87);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.power-image-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 60px;
}

.power-image-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.power-footer {
    display: flex;
    justify-content: space-between;
    gap: 80px;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
}

.power-desc {
    flex: 2;
}

.power-desc p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
}

.power-desc strong {
    color: var(--text-color);
    font-weight: 600;
}

.power-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #A26EE8, #66CD87);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 10px 0;
}

.stat-sub {
    font-size: 0.9rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .power-footer {
        flex-direction: column;
        gap: 40px;
    }
    .power-player-section {
        padding: 40px 20px;
    }
}

/* Accessories Grid */
.accessories {
    background-color: var(--bg-color);
}

.accessory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.accessory-item {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accessory-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.accessory-item img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
}

.accessory-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.accessory-item p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Footer */
.footer {
    background-color: #f5f5f7;
    color: var(--text-color);
    padding: 60px 20px 40px;
    font-size: 0.75rem;
    border-top: 1px solid var(--border-color);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

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

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

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

.footer-column ul li a {
    color: #424245;
}

.footer-column ul li a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: #86868b;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.legal-links a {
    margin: 0 5px;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple mobile menu hiding for now */
    }
    
    .split-layout {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
        margin-bottom: 100px;
        padding: 0 20px;
    }
    
    .split-layout.reverse .split-text {
        order: 1;
    }
    
    .split-layout.reverse .split-image {
        order: 2;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
