:root {
    --bg-sky: #a3c9f1;
    --red-sticker: #ef3e23;
    --yellow-sticker: #ffcd4b;
    --pink-sticker: #ffd8df;
    --pink-light: #fbe6ed;
    --text-dark: #1a1a1a;
    --font-primary: 'DM Sans', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --font-fun: 'Caveat', cursive;
}

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

html, body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    overflow-x: hidden;
    width: 100%;
    background-color: transparent;
}

.sky-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-sky);
    background-image: url('sky_bg.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: -1;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.header-logo {
    height: 60px;
    width: auto;
    transform: scale(3);
    transform-origin: left center;
}

header nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1000;
    color: #1a1a1a !important;
    padding: 5px;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle i,
.menu-toggle svg {
    width: 35px !important;
    height: 35px !important;
    display: block;
    stroke-width: 2.5px;
}

@media (max-width: 1024px) {
    header {
        padding: 1.5rem 2rem;
    }
    
    .menu-toggle {
        display: block;
    }

    header nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: white;
        display: flex;
        flex-direction: column;
        padding-top: 100px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.15);
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 99;
    }

    header nav.active {
        right: 0;
    }

    header nav a {
        margin: 0 !important;
        padding: 1.5rem 2rem;
        border-bottom: 1px solid #f1f5f9;
        font-size: 1.2rem;
        font-weight: 700;
    }
}

/* Hero Canvas */
.hero-canvas {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-item {
    position: absolute;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Float Animations */
@keyframes float1 {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(0) rotate(-35deg);
    }

    50% {
        transform: translateY(-15px) rotate(-32deg);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translateY(0) rotate(5deg);
    }

    50% {
        transform: translateY(-25px) rotate(8deg);
    }
}

.float-1 {
    animation: float1 6s ease-in-out infinite;
}

.float-2 {
    animation: float2 7s ease-in-out infinite;
}

.float-3 {
    animation: float1 5s ease-in-out infinite reverse;
}

.float-4 {
    animation: float3 8s ease-in-out infinite;
}

.float-5 {
    animation: float2 6s ease-in-out infinite reverse;
}

.float-6 {
    animation: float1 7s ease-in-out infinite;
}

.float-7 {
    animation: float3 9s ease-in-out infinite reverse;
}

.float-8 {
    animation: float1 5.5s ease-in-out infinite;
}

.float-9 {
    animation: float1 8s ease-in-out infinite;
}

/* Stickers */
.logo-circle {
    top: 10%;
    left: 50%;
    margin-left: -100px;
    /* center it */
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: none;
    z-index: 10;
}

.center-logo {
    width: 100%;
    height: auto;
    transform: scale(2.5);
}

.stripe-bar {
    top: 30%;
    left: 20%;
    width: 250px;
    height: 60px;
    background: repeating-linear-gradient(-45deg,
            white,
            white 20px,
            var(--pink-sticker) 20px,
            var(--pink-sticker) 40px);
    border-radius: 10px;
    transform: rotate(-35deg);
}

.red-circle {
    top: 40%;
    left: 32%;
    width: 160px;
    height: 160px;
    background: var(--red-sticker);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--yellow-sticker);
}

.red-circle svg {
    width: 60px;
    height: 60px;
}

.exclamation {
    font-size: 4rem;
    font-weight: 800;
    margin-left: 5px;
    font-family: var(--font-heading);
}

.yellow-note {
    top: 45%;
    left: 45%;
    background: var(--yellow-sticker);
    padding: 2rem;
    width: 250px;
    height: 250px;
    transform: rotate(5deg);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.yellow-note h1 {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.yellow-note p {
    font-size: 0.9rem;
    font-weight: 500;
}

.pink-sticker {
    top: 65%;
    left: 28%;
    background: var(--pink-sticker);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-family: var(--font-fun);
    font-size: 1.5rem;
    line-height: 1;
    text-align: center;
    transform: rotate(-15deg);
}

.white-triangle {
    top: 50%;
    right: 25%;
    width: 100px;
    height: 100px;
    background: white;
    clip-path: polygon(100% 50%, 0 0, 0 100%);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 10px;
}

.white-triangle span {
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

.social-stack {
    top: 75%;
    left: 30%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: none;
}

.social-circle {
    width: 40px;
    height: 40px;
    background: black;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.social-circle:hover {
    transform: scale(1.1);
}

.social-circle i {
    width: 20px;
    height: 20px;
}

.yellow-warning {
    top: 85%;
    left: 25%;
    width: 60px;
    height: 60px;
    background: var(--yellow-sticker);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 10px;
}

.yellow-warning i {
    width: 24px;
    height: 24px;
}



.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Products Section */
.products-section {
    padding: 6rem 2rem;
    background: white;
    position: relative;
    z-index: 10;
    border-radius: 40px 40px 0 0;
    margin-top: -40px;
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.05);
}

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

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    padding: 2.5rem 2rem;
    border-radius: 20px;
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-10px);
}

.pastel-blue {
    background: #e0f2fe;
}

.pastel-pink {
    background: #fce7f3;
}

.pastel-yellow {
    background: #fef3c7;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #4a4a4a;
}

/* Features Section */
.features-section {
    padding: 8rem 2rem;
    background: #f8fafc;
    position: relative;
    z-index: 10;
}

.features-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.features-logo {
    height: 190px;
    width: auto;
    margin-bottom: 2rem;
    object-fit: contain;
}

.features-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #0f172a;
}

.features-header p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-primary {
    display: inline-block;
    background: #00d285;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 210, 133, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 210, 133, 0.4);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.feature-category {
    grid-column: 1 / -1;
    margin-bottom: 1rem;
}

.feature-category h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.feature-category p {
    color: #64748b;
    font-size: 1.1rem;
}

.feature-card {
    background: transparent;
    perspective: 1000px;
    border: none;
    box-shadow: none;
    padding: 0;
    height: 300px;
    /* Fixed height for 3D flip */
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(var(--delay, 0) * 100ms);
}

.feature-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.feature-card:hover .feature-card-inner {
    transform: rotateY(180deg);
}

.feature-card-front,
.feature-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.feature-card-front {
    background: white;
    background-image: radial-gradient(#f1f5f9 1px, transparent 1px);
    background-size: 20px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.feature-card-front::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: #00d285;
    opacity: 0.05;
    border-radius: 50%;
    filter: blur(40px);
}


.feature-card-back {
    background: #00d285;
    color: white;
    transform: rotateY(180deg);
    box-shadow: 0 20px 40px rgba(0, 210, 133, 0.2);
}

.card-bg-icon {
    position: absolute;
    bottom: -30px;
    right: -20px;
    font-size: 10rem;
    color: #00d285;
    opacity: 0.08;
    /* Increased opacity */
    pointer-events: none;
    transition: transform 0.6s ease, opacity 0.6s ease;
    z-index: 0;
}

.card-bg-icon i {
    width: 150px;
    height: 150px;
}

.feature-card:hover .card-bg-icon {
    transform: scale(1.3) rotate(-15deg);
    opacity: 0.15;
}

/* Decorative 3D Bubbles */
.card-bubble {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(0, 210, 133, 0.1));
    border-radius: 50%;
    top: 20px;
    right: 20px;
    box-shadow: inset -2px -2px 6px rgba(0, 0, 0, 0.05), 5px 5px 15px rgba(0, 0, 0, 0.02);
    opacity: 0.6;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #f1f5f9;
    color: #00d285;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    width: 28px;
    height: 28px;
}

.feature-card-front h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0;
    color: #0f172a;
}

.feature-card-back h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: white;
}

.feature-card-back p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card.scroll-animate {
    transition-delay: calc(var(--delay, 0) * 100ms);
}

/* Feature Images */
.feature-image-container {
    max-width: 900px;
    margin: 4rem auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.feature-image-container:hover .feature-image {
    transform: scale(1.02);
}

/* FAQ Section Responsive */
@media (max-width: 900px) {
    .faq-section .container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .faq-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Footer Section */
.site-footer {
    background: #000;
    color: #999;
    padding: 6rem 0 2rem;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #fff;
}

.brand-col p {
    margin-top: 1.5rem;
    max-width: 250px;
    line-height: 1.5;
}

.footer-logo {
    height: 35px;
    width: auto;
    transform: scale(2);
    transform-origin: left center;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    font-size: 0.85rem;
}

.footer-social-links a {
    color: #999;
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s;
}

.footer-social-links a:hover {
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .floating-item {
        scale: 0.8;
    }

    .yellow-note {
        left: 35%;
        top: 40%;
    }

    .red-circle {
        left: 15%;
        top: 35%;
    }

    .stripe-bar {
        left: 5%;
        top: 25%;
    }

    .white-triangle {
        right: 5%;
        top: 45%;
    }
}

@media (max-width: 600px) {
    .floating-item {
        scale: 0.6;
    }

    .hero-canvas {
        min-height: 600px;
    }

    .yellow-note {
        left: 20%;
        top: 45%;
    }

    .red-circle {
        left: 5%;
        top: 35%;
    }


}

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

    .brand-col {
        grid-column: span 2;
        margin-bottom: 2rem;
    }
}

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

    .brand-col {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-social-links a {
        margin: 0 0.75rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

/* Feature Grid Spacing Fix */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Secondary Features 4-column layout */
.secondary-features {
    grid-template-columns: repeat(4, 1fr) !important;
}

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

@media (max-width: 768px) {
    .secondary-features {
        grid-template-columns: 1fr !important;
    }
}