@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;900&display=swap');

:root {
    --primary: #FFDE00;
    --primary-dark: #E5C700;
    --text-main: #3d2b56;
    --text-light: #6a538c;
    --bg-light: transparent;
    --white: rgba(255, 255, 255, 0.3);
    --border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(142, 197, 252, 0.3);
}

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

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);
    background-attachment: fixed;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

#bubble-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Glassmorphism utility */
.glass {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: var(--glass-shadow) !important;
    border-radius: 30px !important;
}

/* Header */
header {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: #FFDE00;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    -webkit-text-stroke: 1px rgba(255,255,255,0.5);
}

/* Nav */
.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.main-nav a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Buttons */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #FFDE00, #FFB000);
    color: #555;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 900;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(255, 222, 0, 0.5), inset 0 -3px 5px rgba(200, 150, 0, 0.3), inset 0 3px 5px rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255,255,255,0.6);
}

.btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 222, 0, 0.6), inset 0 -3px 5px rgba(200, 150, 0, 0.3), inset 0 3px 5px rgba(255, 255, 255, 0.8);
}

.btn-large {
    padding: 18px 50px;
    font-size: 1.3rem;
    border-radius: 40px;
}

/* Hero */
.hero {
    padding: 120px 20px;
    overflow: hidden;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1.2;
    text-align: left;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.2;
    font-weight: 900;
    text-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 40px;
    font-weight: 700;
}

.hero-duck {
    flex: 0.8;
    display: flex;
    justify-content: center;
    animation: floatJelly 4s ease-in-out infinite;
    filter: drop-shadow(0 30px 30px rgba(0,0,0,0.1));
}

@keyframes floatJelly {
    0%, 100% { transform: translateY(0) scale(1, 1); }
    50% { transform: translateY(-30px) scale(0.95, 1.05); }
}

/* Cards (Grid) */
.grid-3, .grid-2 {
    display: grid;
    gap: 40px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.card h3 {
    margin: 20px 0 10px;
    font-size: 1.5rem;
    color: #fff;
    font-weight: 900;
}

.card p {
    color: var(--text-main);
    font-weight: 700;
}

.icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

/* Pricing - 3D Ring Effect */
.pricing .grid-3 {
    perspective: 1200px;
    transform-style: preserve-3d;
    align-items: center;
}

.price-card {
    padding: 50px 30px;
    text-align: center;
    /* Teardrop shape */
    border-radius: 50% 50% 50% 10% / 50% 50% 50% 10% !important;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

/* Water ripple on hover */
.price-card::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
    pointer-events: none;
}
.price-card:hover::after {
    width: 150%; height: 150%;
    opacity: 0;
    animation: ripplePop 0.8s ease-out;
}
@keyframes ripplePop {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 200%; height: 200%; opacity: 0; }
}

.pricing .price-card:nth-child(1) {
    transform: rotateY(20deg) translateZ(-40px) scale(0.9);
}
.pricing .price-card:nth-child(2) {
    transform: translateZ(60px) scale(1.05);
    z-index: 2;
    border: 2px solid #FFDE00 !important;
    box-shadow: 0 15px 40px rgba(255, 222, 0, 0.3) !important;
}
.pricing .price-card:nth-child(3) {
    transform: rotateY(-20deg) translateZ(-40px) scale(0.9);
}

.pricing .price-card:hover {
    transform: translateZ(100px) scale(1.1);
    z-index: 3;
}

.popular-tag {
    position: absolute;
    top: 10%;
    right: 15%;
    background: #FFDE00;
    color: #555;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 900;
    transform: rotate(15deg);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.price-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 900;
}

.price {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.price span {
    font-size: 1.2rem;
    color: var(--text-main);
}

.features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.features li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    font-weight: 700;
}

.features li::before {
    content: "🫧";
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Reviews Marquee Holographic */
.marquee-container {
    overflow: hidden;
    padding: 20px 0;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 20s linear infinite;
    gap: 40px;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 20px)); }
}

.review-card {
    width: 350px;
    flex-shrink: 0;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0.1)) !important;
}

.review-card::before {
    content: '';
    position: absolute;
    top: -100%; left: -100%;
    width: 300%; height: 300%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 192, 203, 0.4) 40%, 
        rgba(135, 206, 235, 0.4) 50%, 
        transparent 60%);
    animation: holoShine 4s linear infinite;
    pointer-events: none;
}

@keyframes holoShine {
    0% { transform: translateX(-50%) translateY(-50%) rotate(45deg); }
    100% { transform: translateX(50%) translateY(50%) rotate(45deg); }
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    font-weight: 700;
}

.reviewer {
    font-weight: 900;
    color: #fff;
}

/* FAQ */
.faq-item {
    margin-bottom: 20px;
    transition: all 0.3s;
}
.faq-item:hover {
    transform: scale(1.02);
}

.faq-item summary {
    padding: 25px;
    font-size: 1.2rem;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: #fff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "🫧";
    position: absolute;
    right: 25px;
    font-size: 1.5rem;
    transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: rotate(180deg) scale(1.2); }
.faq-item p {
    padding: 0 25px 25px;
    color: var(--text-main);
    font-weight: 700;
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.3);
    padding: 60px 0;
    text-align: center;
    color: var(--text-main);
    font-weight: 700;
}

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

.footer-links a {
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
    text-shadow: 0 0 5px rgba(255,255,255,0.5);
}

/* Simple Page Styles */
.page-header {
    padding: 100px 0 60px;
    text-align: center;
}
.page-header h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 900;
}
.page-content {
    padding: 60px;
    margin-top: -30px;
    margin-bottom: 80px;
}
.page-content h2 { margin: 30px 0 20px; color: #fff; font-weight: 900; }
.page-content p, .page-content ul { margin-bottom: 20px; font-weight: 700; }

/* Responsive */
@media (max-width: 900px) {
    .pricing .grid-3 {
        transform-style: flat;
        perspective: none;
        grid-template-columns: 1fr;
    }
    .pricing .price-card:nth-child(n) {
        transform: none !important;
    }
}
@media (max-width: 850px) {
    .main-nav { display: none; }
}

@media (max-width: 768px) {
    .hero-flex {
        flex-direction: column;
        text-align: center;
    }
    .hero-text { text-align: center; }
    .hero-duck { width: 250px; height: 250px; }
    
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
    
    .header-inner {
        flex-wrap: wrap; height: auto; padding: 15px 0; gap: 10px; justify-content: center;
    }
    .logo { width: 100%; text-align: center; }
    .main-nav { width: 100%; justify-content: center; gap: 15px; font-size: 0.95rem; order: 2; display: flex; }
    .header-inner .btn { order: 3; margin-top: 5px; width: 100%; }
}

/* SEO & Accessibility Updates */
.section-title, h1, h2, h3, [id] { scroll-margin-top: 100px; }
.skip-link { position: absolute; top: -40px; left: 0; background: var(--primary); color: #000; padding: 8px; z-index: 10000; transition: top 0.3s; }
.skip-link:focus { top: 0; }
