:root {
    --circle-navy: #1B3168;
    --circle-coral: #FF7F5C;
    --circle-light-coral: #FFE4DC;
    --section-padding: clamp(30px, 6vh, 60px);
    --container-max-width: 1200px;
    --text-primary: #333;
    --text-secondary: #666;
    --text-light: #999;
}

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

body {
    font-family: 'Lexend Deca', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #ffffff;
    line-height: 1.6;
    color: var(--text-primary);
}

/* Container controls layout */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(20px, 4vh, 40px) 0;
}

.logo-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: clamp(30px, 6vh, 60px);
}

.logo {
    height: auto;
    width: clamp(200px, 50vw, 350px);
    margin-bottom: 20px;
    animation: logoAnimation 1s ease-out forwards;
    opacity: 0;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.08));
}

.app-title {
    font-family: 'Matemasie', sans-serif;
    font-size: clamp(55px, 10vw, 85px);
    color: var(--circle-navy);
    line-height: 1;
    animation: titleAnimation 1s ease-out 0.3s forwards;
    opacity: 0;
    text-shadow: 2px 2px 3px rgba(18, 23, 97, 0.15);
}

.hero-content {
    max-width: 600px;
    animation: fadeUpAnimation 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

.hero-headline {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(24px, 7vw, 36px);
    font-weight: 700;
    color: var(--circle-navy);
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subheadline {
    font-family: 'Lexend Deca', sans-serif;
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 400;
    color: var(--circle-coral);
    margin-bottom: 40px;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.hero-tagline {
    font-size: clamp(18px, 4vw, 22px);
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.4;
    font-weight: 400;
}

.hero-emotional-section {
    margin-bottom: 30px;
    padding: 20px 0;
}

.emotional-text {
    font-size: clamp(16px, 3.5vw, 18px);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 400;
    max-width: 500px;
    margin: 0 auto;
}

.emotional-text strong {
    font-weight: 600;
    color: var(--circle-navy);
}

.hero-subheadline {
    font-size: clamp(18px, 4vw, 24px);
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.4;
}

.trust-line {
    font-size: clamp(14px, 3vw, 16px);
    color: var(--text-light);
    margin-bottom: 40px;
    font-style: italic;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.app-button {
    transition: transform 0.2s ease;
    display: block;
}

.app-button:hover {
    transform: scale(1.05);
}

.app-button img {
    height: clamp(40px, 6vh, 50px);
    width: auto;
}

/* Features Section */
.features {
    padding: var(--section-padding) 0;
    background-color: #fafafa;
}

.section-title {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(28px, 5vw, 36px);
    font-weight: 600;
    color: var(--circle-navy);
    text-align: center;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.feature-item:hover {
    transform: translateY(-8px) scale(1.05) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
}

.feature-item:active {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
    transition: transform 0.1s ease, box-shadow 0.1s ease !important;
}

.feature-title {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(20px, 4vw, 24px);
    font-weight: 600;
    color: var(--circle-coral);
    margin-bottom: 15px;
}

.feature-description {
    font-size: clamp(16px, 3vw, 18px);
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Screenshots Section - Carousel */
.screenshots {
    padding: var(--section-padding) 0;
    overflow: visible; /* Allow shadows to extend beyond */
}

.screenshots-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 120px; /* Extra padding for shadows */
}

.carousel-container {
    position: relative;
    height: 800px;
    width: 100%;
    overflow: visible; /* Allow shadows to show */
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 40px 0; /* Vertical padding for shadows */
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    will-change: transform, opacity, filter;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    z-index: 10;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    filter: blur(0px);
}

.carousel-slide.prev,
.carousel-slide.next {
    z-index: 5;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.6;
    filter: blur(4px);
}

.screenshot-image {
    width: auto;
    max-width: 450px;
    max-height: 720px;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    display: block;
    transition: all 0.3s ease;
    object-fit: contain;
}

.carousel-slide.active .screenshot-image {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.screenshot-caption {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(16px, 3vw, 18px);
    font-weight: 500;
    color: var(--circle-navy);
    margin-top: 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.2s;
}

.carousel-slide.active .screenshot-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 18px;
    color: var(--circle-navy);
}

.carousel-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-nav::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
}

.carousel-prev::before {
    border-width: 8px 12px 8px 0;
    border-color: transparent var(--circle-navy) transparent transparent;
    margin-right: 2px;
}

.carousel-next::before {
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent var(--circle-navy);
    margin-left: 2px;
}

/* Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(27, 49, 104, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator:hover {
    background: rgba(27, 49, 104, 0.6);
    transform: scale(1.2);
}

.carousel-indicator.active {
    background: var(--circle-navy);
    transform: scale(1.3);
}

/* Large Desktop */
@media screen and (min-width: 1400px) {
    .carousel-container {
        height: 900px;
        padding: 50px 0; /* More vertical padding for larger shadows */
    }
    
    .screenshot-image {
        max-width: 500px;
        max-height: 800px;
    }
    
    .screenshots-carousel {
        max-width: 1400px;
        padding: 0 140px; /* More horizontal padding for shadows */
    }
}

/* Tablet Responsiveness */
@media screen and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        max-width: 900px;
    }
    
    .feature-item {
        padding: 25px 15px;
    }
    
    .privacy-bullets {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 800px;
    }
    
    .privacy-bullets li {
        padding: 20px 15px;
        font-size: 16px;
    }
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .screenshots-carousel {
        padding: 0 20px; /* Reduced padding to allow buttons to extend */
    }
    
    .carousel-container {
        height: 650px;
        padding: 30px 0; /* Vertical padding for shadows */
    }
    
    .screenshot-image {
        max-width: 380px;
        max-height: 600px;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .carousel-prev {
        left: -10px; /* Positioned nicely at the edge on mobile */
    }
    
    .carousel-next {
        right: -10px; /* Positioned nicely at the edge on mobile */
    }
    
    .carousel-prev::before {
        border-width: 6px 9px 6px 0;
    }
    
    .carousel-next::before {
        border-width: 6px 0 6px 9px;
    }
}

@media screen and (max-width: 480px) {
    :root {
        --section-padding: clamp(20px, 4vh, 40px);
    }
    
    .hero {
        padding: clamp(15px, 3vh, 30px) 0;
    }
    
    .screenshots-carousel {
        padding: 0 15px; /* Minimal padding to allow buttons to extend */
    }
    
    .carousel-container {
        height: 580px;
        padding: 25px 0; /* Vertical padding for shadows */
    }
    
    .screenshot-image {
        max-width: 320px;
        max-height: 520px;
    }
    
    .carousel-nav {
        width: 35px;
        height: 35px;
    }
    
    .carousel-prev {
        left: -15px; /* Nicely positioned at edge on small mobile */
    }
    
    .carousel-next {
        right: -15px; /* Nicely positioned at edge on small mobile */
    }
    
    .carousel-indicators {
        gap: 8px;
        margin-top: 20px;
    }
    
    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
}

/* Privacy Section */
.privacy {
    padding: var(--section-padding) 0;
    background-color: #fafafa;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.privacy-promise {
    font-size: clamp(18px, 4vw, 22px);
    color: var(--text-primary);
    margin-bottom: 30px;
    line-height: 1.4;
}

.privacy-bullets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    list-style: none;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.privacy-bullets li {
    font-size: clamp(16px, 3vw, 18px);
    color: var(--text-primary);
    padding: 25px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
    display: flex;
    align-items: center;
    font-weight: 500;
    border: 2px solid transparent;
}

.privacy-bullets li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 127, 92, 0.2);
}

.privacy-bullets li::before {
    content: "✓";
    color: white;
    background: linear-gradient(135deg, var(--circle-coral), #FF9A7D);
    font-weight: bold;
    margin-right: 15px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255, 127, 92, 0.3);
}

.privacy-link {
    display: inline-block;
    color: white;
    background: linear-gradient(135deg, var(--circle-coral), #FF9A7D);
    text-decoration: none;
    font-weight: 600;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 127, 92, 0.3);
    font-size: clamp(16px, 3vw, 18px);
}

.privacy-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 127, 92, 0.4);
    background: linear-gradient(135deg, #FF9A7D, var(--circle-coral));
}

/* Final CTA Section */
.final-cta {
    padding: var(--section-padding) 0;
    text-align: center;
    background-color: #fafafa;
}

.cta-headline {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(32px, 6vw, 42px);
    font-weight: 600;
    color: var(--circle-navy);
    margin-bottom: 20px;
}

.cta-reinforcement {
    font-size: clamp(18px, 4vw, 22px);
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.4;
}

/* Footer */
.footer {
    padding: 40px 0;
    background-color: var(--circle-navy);
    color: white;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--circle-coral);
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Animation keyframes */
@keyframes logoAnimation {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

@keyframes titleAnimation {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeUpAnimation {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .app-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .privacy-bullets {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }
    
    .features-grid,
    .screenshots-grid {
        gap: 20px;
    }
    
    .feature-item {
        padding: 20px 15px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mb-small {
    margin-bottom: 20px;
}

.mb-medium {
    margin-bottom: 40px;
}

.mb-large {
    margin-bottom: 60px;
}
