:root {
    --bg-color: #ffffff;
    --bg-light: #f5f5f7;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --accent-color: #0071e3;
    --accent-hover: #0077ed;
    --nav-height: 44px;
    --max-width: 1200px;
    --transition-speed: 0.5s;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    -webkit-font-smoothing: antialiased;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 19px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
}

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

.nav-links a {
    font-size: 12px;
    color: var(--text-primary);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 1;
}

.btn-small {
    background-color: var(--accent-color);
    color: white !important;
    padding: 4px 12px;
    border-radius: 980px;
    opacity: 1 !important;
}

/* Hero Section */
.hero {
    padding-top: 180px;
    text-align: center;
    overflow: visible; /* Changed from hidden to visible to allow hover effects */
    padding-bottom: 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF4D6 100%);
}

.hero-title {
    font-size: 64px;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 30px;
}

.hero-subtitle {
    font-size: 28px;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: 0.009em;
    color: var(--text-secondary);
    margin-bottom: 50px;
}

.cta-group {
    margin-bottom: 80px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 16px 36px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    box-shadow: 0 4px 6px rgba(0, 113, 227, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    text-decoration: none;
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 113, 227, 0.4);
}

.hero-image-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    position: relative;
    height: auto;
    min-height: 600px;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 650px;
    overflow: visible; /* Changed from hidden to visible */
    padding-bottom: 50px;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align images to top */
    pointer-events: none; 
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-img-single {
    max-height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    /* Removed border-radius to prevent cropping of device frames */
    box-shadow: none;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s ease;
}

.hero-img-single:hover {
    transform: scale(1.03) translateY(-5px);
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

.iphone-img {
    height: 90%;
}

.ipad-img {
    width: 90%;
}

.carousel-indicators {
    position: absolute;
    bottom: 10px; /* Moved further down */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 10;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.2);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.indicator.active {
    background-color: rgba(0,0,0,0.6);
    transform: scale(1.2);
}

/* Mobile adjustments for carousel */
@media (max-width: 768px) {
    .hero-image-wrapper {
        min-height: 400px;
    }
    
    .carousel-container {
        height: 400px;
    }
    
    .iphone-img {
        height: 95%;
    }
    
    .ipad-img {
        width: 100%;
    }
}

/* Features */
.feature-section {
    padding: 100px 0;
    overflow: hidden;
}

.bg-light {
    background-color: var(--bg-light);
}

.feature-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.feature-container.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
    max-width: 500px;
}

.section-title {
    font-size: 48px;
    line-height: 1.08349;
    font-weight: 700;
    letter-spacing: -0.003em;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 19px;
    line-height: 1.4211;
    font-weight: 400;
    color: var(--text-secondary);
}

.feature-image-tall {
    flex: 1;
    display: flex;
    justify-content: center;
}

.feature-image-tall img {
    max-width: 400px;
    /* Removed border-radius and shadow as requested */
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.5s ease;
}
.feature-image-tall img:hover {
    transform: scale(1.02);
}

.feature-image-wide {
    flex: 1.5;
    display: flex;
    justify-content: center;
}

.feature-image-wide img {
    width: 100%;
    max-width: 800px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.5s ease;
}
.feature-image-wide img:hover {
    transform: scale(1.01);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 100px 0;
    background-color: var(--bg-color);
}

.cta-title {
    font-size: 40px;
    margin-bottom: 15px;
}

.cta-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Footer */
footer {
    background-color: var(--bg-light);
    padding: 40px 0;
    font-size: 12px;
    color: var(--text-secondary);
    border-top: 1px solid rgba(0,0,0,0.1);
    text-align: center;
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.footer-links {
    margin-top: 10px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

.mobile-break {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-break {
        display: block;
    }

    .hero {
        padding-top: 120px; /* Reduced from 180px */
    }

    .hero-title {
        font-size: 40px;
        margin-bottom: 15px; /* Reduced from 30px */
    }
    
    .hero-subtitle {
        margin-bottom: 30px; /* Reduced from 50px */
    }

    .cta-group {
        margin-bottom: 40px; /* Reduced from 80px */
    }

    .hero-image-wrapper {
        min-height: 400px;
        margin-top: 20px; /* Reduced from 40px */
    }
    
    .carousel-container {
        height: 400px;
    }
    
    .iphone-img {
        height: 95%;
    }
    
    .ipad-img {
        width: 100%;
    }
    
    .feature-container, .feature-container.reverse {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .feature-text {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .feature-image-wide img, .feature-image-tall img {
        max-width: 100%;
        height: auto;
    }
}
