/* Modern Apple-inspired Design */
:root {
    --primary-color: #8A2BE2;
    --secondary-color: #A56EF7;
    --accent-color: #00D1B2;
    --text-color: #333;
    --light-text: #f9f9f9;
    --light-bg: #f5f5f7;
    --dark-bg: #1d1d1f;
    --card-bg: rgba(255, 255, 255, 0.85);
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --dark-color: #333;
    --light-color: #f4f7ff;
    --success-color: #28a745;
    --danger-color: #dc3545;
}

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

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    background-image: url('images/pattern.png');
    background-attachment: fixed;
    background-size: 400px;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - updated design with right-aligned menu */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100;
    padding: 12px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(138, 43, 226, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

/* Right aligned menu with no underlines */
.nav-links {
    display: flex;
    gap: 5px;
    margin-left: auto; /* Push navigation to the right */
}

.nav-links li {
    margin: 0;
    list-style: none;
}

.nav-links a {
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 15px;
    color: var(--dark-color);
    letter-spacing: 0.2px;
    text-decoration: none; /* Explicitly remove underlines */
}

.nav-links a:hover,
.nav-links a.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(138, 43, 226, 0.3);
}

/* Completely remove hamburger menu on all screen sizes */
.mobile-menu-btn {
    display: none !important;
}

/* Increase Kuki mascot sizes */
.kuki-main {
    right: 15%;
    top: 8%;
    width: 20% !important; /* Increased from 100px */
    animation: floatMain 6s ease-in-out infinite;
    z-index: 3;
}

.kuki-2 {
    left: 0%;
    top: 25%;
    width: 20% !important; /* Increased from 90px */
    animation: float 7s ease-in-out infinite 1s;
    z-index: 4;
}

.kuki-3 {
    left: 20%;
    bottom: 10%;
    width: 20% !important; /* Increased from 85px */
    animation: float 8s ease-in-out infinite 2s;
    z-index: 5;
}

.kuki-4 {
    right: 5%;
    bottom: 30%;
    width: 25% !important; /* Increased from 80px */
    animation: float 6s ease-in-out infinite 0.5s;
    z-index: 6;
}

.kuki-5 {
    left: 30%;
    top: 0%;
    width: 20% !important; /* Increased from 75px */
    animation: float 7s ease-in-out infinite 1.5s;
    z-index: 7;
}

@keyframes floatMain {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-25px) scale(1.05);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Feature bubbles - improved to ensure text fits properly */
.feature-bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 40px;
    padding: 10px 16px; /* Slightly increased padding */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    border: 2px solid rgba(138, 43, 226, 0.2);
    min-width: 140px; 
    max-width: 200px; /* Further increased max width */
    width: auto;
    z-index: 20;
    transition: opacity 0.8s ease, transform 0.8s ease;
    height: auto;
    opacity: 0;
    transform: scale(0.8);
}

.feature-bubble i {
    color: var(--primary-color);
    font-size: 1rem;
    background: rgba(138, 43, 226, 0.1);
    padding: 8px;
    border-radius: 50%;
    min-width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-bubble span {
    font-size: 12px;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word; /* Added to handle longer words */
    overflow-wrap: break-word; /* Added for better text fitting */
    color: var(--dark-color);
    line-height: 1.3;
    flex: 1; /* Added to ensure text takes available space */
}

.bubble-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0.5s;
}

.bubble-2 {
    top: 45%;
    left: 5%;
    animation-delay: 0.7s;
}

.bubble-3 {
    top: 75%;
    left: 12%;
    animation-delay: 0.9s;
}

.bubble-4 {
    top: 20%;
    right: 8%;
    animation-delay: 1.1s;
}

.bubble-5 {
    top: 55%;
    right: 5%;
    animation-delay: 1.3s;
}

.bubble-6 {
    top: 80%;
    right: 15%;
    animation-delay: 1.5s;
}

.bubble-7 {
    top: 90%;
    left: 40%;
    animation-delay: 1.7s;
}

.bubble-8 {
    top: 35%;
    left: 25%;
    animation-delay: 1.9s;
}

.bubble-9 {
    top: 60%;
    right: 25%;
    animation-delay: 2.1s;
}

.bubble-10 {
    top: 10%;
    right: 40%;
    animation-delay: 2.3s;
}

/* Quick Access Section */
.quick-access {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 40px;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    padding: 15px 10px;
    border-radius: 12px;
}

.quick-link:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.quick-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary-color), #8773ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(74, 42, 192, 0.2);
}

.quick-link span {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #666;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 14px;
    font-weight: 500;
}

.scroll-indicator i {
    font-size: 20px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    gap: 10px;
    font-size: 16px;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(138, 43, 226, 0.4);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.download-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.store-badge {
    height: 45px;
    transition: transform 0.3s ease;
    margin: 0;
}

.store-badge[alt*="Google Play"] {
    height: 45px;
}

.store-badge:hover {
    transform: scale(1.05);
}

/* Features Section */
.features {
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    background-color: #f9f9fcdf;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-desc {
    font-size: 20px;
    line-height: 1.6;
    color: #666;
    margin-top: 30px;
}

.features-showcase {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.feature-highlight {
    margin-bottom: 60px;
    padding: 40px;
    border-radius: 20px;
    background-color: #f8f9fe;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    gap: 40px;
}

.feature-highlight:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-highlight:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.2;
}

.feature-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition);
}

.learn-more:hover {
    gap: 15px;
}

.feature-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-highlight .feature-visual img {
    max-width: 90%;
    transition: transform 0.5s ease;
}

.feature-highlight:hover .feature-visual img {
    transform: scale(1.05);
}

.feature-cards-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.features-subtitle {
    font-size: 32px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
    margin-top: 50px;
}

.feature-card {
    background: transparent;
    border-radius: 10px;
    box-shadow: none;
    padding: 10px 10px;
    text-align: center;
    transition: var(--transition);
    border: none;
}

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

.app-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.feature-card:hover .app-icon {
    transform: scale(1.1);
}

.app-icon img {
    width: 70px;
    height: 70px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.feature-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.features-cta {
    text-align: center;
    margin-top: 80px;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(74, 42, 192, 0.05), rgba(74, 42, 192, 0.1));
}

.features-cta h3 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.features-cta .cta-buttons {
    justify-content: center;
}

/* Animation for scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Staggered animation for feature cards */
.feature-grid .feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-grid .feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-grid .feature-card:nth-child(3) { transition-delay: 0.3s; }
.feature-grid .feature-card:nth-child(4) { transition-delay: 0.4s; }
.feature-grid .feature-card:nth-child(5) { transition-delay: 0.5s; }
.feature-grid .feature-card:nth-child(6) { transition-delay: 0.6s; }
.feature-grid .feature-card:nth-child(7) { transition-delay: 0.7s; }
.feature-grid .feature-card:nth-child(8) { transition-delay: 0.8s; }
.feature-grid .feature-card:nth-child(9) { transition-delay: 0.9s; }
.feature-grid .feature-card:nth-child(10) { transition-delay: 1.0s; }
.feature-grid .feature-card:nth-child(11) { transition-delay: 1.1s; }
.feature-grid .feature-card:nth-child(12) { transition-delay: 1.2s; }

/* Download Section */
.download {
    padding: 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), #8773ff);
    color: white;
}

.download-content {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
}

.download-text {
    flex: 1;
    padding: 100px 40px;
    max-width: 600px;
}

.overline {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: block;
    opacity: 0.9;
}

.download h2 {
    font-size: 42px;
    margin-bottom: 25px;
    line-height: 1.2;
    font-weight: 700;
}

.download p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.qr-code-container {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.qr-code img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    background: white;
    padding: 5px;
}

.qr-code span {
    font-size: 14px;
    font-weight: 500;
}

.qr-text {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.qr-text p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition);
}

.contact-info:hover {
    transform: translateX(5px);
}

.download-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.app-showcase {
    position: relative;
    max-width: 80%;
    margin: 0 auto;
}

.app-screen {
    max-width: 65%;
    height: auto;
    display: block;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

.kuki-floating {
    position: absolute;
    z-index: 30;
}

.kuki-play {
    width: 180px;
    left: 5%;
    bottom: 10%;
    animation: floatDownload 5s ease-in-out infinite;
}

.kuki-announcement {
    width: 180px;
    right: 8%;
    bottom: 20%;
    animation: floatDownload 5s ease-in-out infinite 1s;
}

@keyframes floatDownload {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Improved floating features container */
.floating-features {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 30;
}

/* Floating feature styling */
.floating-feature {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 40px;
    padding: 10px 16px; /* Slightly increased padding */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 30;
    font-weight: 600;
    border: 2px solid rgba(138, 43, 226, 0.2);
    min-width: 140px;
    max-width: 200px; /* Further increased max width */
    width: auto;
    opacity: 1;
    transition: opacity 0.8s ease, transform 0.8s ease;
    height: auto;
}

.floating-feature i {
    color: var(--primary-color);
    font-size: 1rem;
    background: rgba(138, 43, 226, 0.1);
    padding: 8px;
    border-radius: 50%;
    min-width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.floating-feature span {
    font-size: 12px;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word; /* Added to handle longer words */
    overflow-wrap: break-word; /* Added for better text fitting */
    color: var(--dark-color);
    line-height: 1.3;
    flex: 1; /* Added to ensure text takes available space */
}

.feature-1 {
    top: 12%;
    right: 8%;
    z-index: 31;
}

.feature-2 {
    top: 32%;
    left: 10%;
    z-index: 32;
}

.feature-3 {
    top: 52%;
    right: 10%;
    z-index: 33;
}

.feature-4 {
    top: 72%;
    left: 12%;
    z-index: 34;
}

.feature-5 {
    top: 22%;
    left: 18%;
    z-index: 35;
}

.feature-6 {
    top: 42%;
    right: 15%;
    z-index: 36;
}

.feature-7 {
    top: 62%;
    right: 12%;
    z-index: 37;
}

/* Parallax effect */
.download {
    position: relative;
}

.download::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    top: -250px;
    left: -250px;
    z-index: 1;
    animation: pulse 10s infinite;
}

.download::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    bottom: -150px;
    right: -150px;
    z-index: 1;
    animation: pulse 8s infinite 2s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

/* Contact Form */
.contact {
    padding: 120px 0 100px;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.contact .section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.contact h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #666;
    font-size: 18px;
}

.contact-content {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
    padding: 0 20px;
}

.contact-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-highlight {
    display: flex;
    gap: 20px;
    padding: 25px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.contact-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.highlight-text h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.highlight-text p {
    font-size: 16px;
    color: #666;
    margin: 0;
    text-align: left;
}

.contact-cta {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(74, 42, 192, 0.05), rgba(74, 42, 192, 0.1));
    padding: 25px;
    border-radius: 20px;
}

.contact-mascot {
    width: 100px;
    animation: mascotWave 3s ease-in-out infinite;
}

@keyframes mascotWave {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

.cta-text h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.cta-text p {
    font-size: 16px;
    color: #666;
    margin: 0;
    text-align: left;
}

.contact-form {
    flex: 1;
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, var(--primary-color), #8773ff);
    border-radius: 20px 20px 0 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #444;
    font-size: 15px;
}

input, select, textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 16px;
    transition: var(--transition);
    background-color: #f9f9fc;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 5px 15px rgba(74, 42, 192, 0.1);
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(74, 42, 192, 0.3);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    background-color: #3e22a8;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 42, 192, 0.4);
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 60px 40px 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

.footer-section p, .footer-section a {
    color: #999;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #777;
    font-size: 14px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    margin: 10% auto;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalOpen 0.3s ease-out;
    text-align: center;
}

@keyframes modalOpen {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    margin-top: -20px;
    margin-right: -15px;
}

.close:hover {
    color: var(--primary-color);
}

.modal h2 {
    margin-bottom: 30px;
    color: var(--primary-color);
}

.school-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.school-button {
    background-color: #f5f5f7;
    padding: 15px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    text-align: left;
}

.school-button:hover {
    background-color: #eaeaec;
    transform: translateY(-3px);
}

#accessCode {
    margin: 20px 0;
    font-size: 18px;
    padding: 15px;
    text-align: center;
    letter-spacing: 2px;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
    z-index: 999;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* Screenshots Section */
.screenshots {
    padding: 120px 0 100px;
    background-color: #f8f9fc;
    position: relative;
    overflow: hidden;
}

.screenshots::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 42, 192, 0.05) 0%, rgba(74, 42, 192, 0) 70%);
    top: -200px;
    right: -200px;
    z-index: 1;
}

.screenshots-slider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    padding: 30px 0;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: calc(33.333% - 20px);
    padding: 0 10px;
    box-sizing: border-box;
}

.screenshot-card {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: scale(0.95);
    transition: var(--transition);
}

.screenshot-card:hover {
    transform: scale(1) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.screenshot-image {
    width: 100%;
    overflow: hidden;
}

.screenshot-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px 15px 0 0;
}

.screenshot-info {
    padding: 20px;
    text-align: left;
}

.screenshot-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.screenshot-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.prev-btn,
.next-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.prev-btn:hover,
.next-btn:hover {
    background-color: #3e22a8;
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* SEO for schema.org */
.schema-data {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .slide {
        min-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .slide {
        min-width: calc(100% - 20px);
    }
    
    .screenshot-card {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .store-badge,
    .store-badge[alt*="Google Play"] {
        height: 48px;
    }
}

/* Sayfa yüklenirken progressive loading animasyonu */
.progressive-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    z-index: 1000;
    animation: progressiveLoading 2s ease-out forwards;
}

@keyframes progressiveLoading {
    0% {
        width: 0;
    }
    50% {
        width: 60%;
    }
    80% {
        width: 80%;
    }
    100% {
        width: 100%;
        opacity: 0;
    }
}

/* Demo butonu */
.demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: var(--primary-color);
    color: white !important;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(138, 43, 226, 0.2);
    border: none;
}

.demo-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(138, 43, 226, 0.3);
}

.demo-btn i {
    font-size: 14px;
}

/* Testimonials bölümü */
.testimonials {
    padding: 100px 0;
    background-color: #f9f9ff;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: white;
    clip-path: ellipse(70% 70% at 50% 100%);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 120px;
    color: rgba(74, 107, 255, 0.05);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rating {
    color: #FFD700;
    font-size: 18px;
    margin-bottom: 15px;
}

.rating i {
    margin: 0 2px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
    flex: 1;
    line-height: 1.6;
}

.testimonial-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.testimonial-role {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
}

/* FAQ Bölümü */
.faq {
    padding: 100px 0;
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.faq-question {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
}

.faq-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-toggle i {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-question:hover h3 {
    color: var(--primary-color);
}

.faq-question:hover .faq-toggle {
    background-color: var(--primary-color);
}

.faq-question:hover .faq-toggle i {
    color: white;
}

.faq-answer {
    padding: 0 0 20px;
    display: none;
}

.faq-answer p {
    line-height: 1.6;
    color: #555;
}

.faq-item.active .faq-toggle {
    background-color: var(--primary-color);
    transform: rotate(45deg);
}

.faq-item.active .faq-toggle i {
    color: white;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Cookie consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-content p {
    margin-right: 20px;
    flex: 1;
    min-width: 300px;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons .btn {
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Language selector */
.language-selector {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-selector span {
    color: #aaa;
}

.language-selector select {
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #444;
    background-color: #333;
    color: #fff;
    cursor: pointer;
}

/* Mobile düzenlemeler */
@media (max-width: 991px) {
    .nav-links {
        position: static;
        opacity: 1;
        transform: none;
        display: flex;
        flex-direction: row;
        background: transparent;
        box-shadow: none;
        padding: 0;
        z-index: auto;
    }
}

/* Improved visibility for feature bubbles */
.bubble-1, .bubble-2, .bubble-3, .bubble-4, .bubble-5, 
.bubble-6, .bubble-7, .bubble-8, .bubble-9, .bubble-10 {
    z-index: 20;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 100px 40px 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #f5f5f7 70%, rgba(138, 43, 226, 0.05) 100%);
}

.hero-content {
    flex: 1;
    max-width: 550px;
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(to right, var(--primary-color), #A56EF7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 35px;
    color: #4d4d4d;
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    min-height: 500px;
}

.phone-mockup {
    max-width: 70%;
    height: auto;
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
    box-shadow: none;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 5;
}

.kuki-mascot {
    position: absolute;
    z-index: 4;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.15));
}

/* Mobile responsiveness for right-aligned nav */
@media (max-width: 991px) {
    .nav-links {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 8px;
    }
    
    .nav-links li {
        margin-bottom: 5px;
    }
    
    .nav-links a {
        padding: 8px 12px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 20px 60px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        padding-bottom: 40px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero-image {
        min-height: 300px;
    }
    
    .hero .container {
        flex-direction: column;
    }
}

/* Demo Modal için özel stiller */
.demo-modal {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.demo-modal-content {
    width: 95%;
    max-width: 1200px;
    height: 90vh;
    max-height: 800px;
    padding: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.95);
    background-image: url('images/pattern.png');
    background-size: 400px;
    opacity: 1;
    border-radius: 25px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.demo-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: -1;
}

.demo-modal .close {
    position: absolute;
    top: 15px;
    right: 20px;
    margin: 0;
    z-index: 10;
    font-size: 30px;
    color: var(--primary-color);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.demo-modal h2 {
    margin-bottom: 15px;
    color: var(--primary-color);
    text-align: center;
    font-size: 28px;
    font-weight: 700;
}

.demo-controls {
    display: none;
}

.demo-container {
    width: 100%;
    height: calc(100% - 50px);
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.demo-action-buttons {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 20;
}

.demo-action-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.demo-action-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.demo-action-btn i {
    font-size: 16px;
}

.demo-container::before,
.demo-container::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 150px;
    z-index: 1;
    pointer-events: none;
}

.demo-container::before {
    left: 0;
}

.demo-container::after {
    right: 0;
}

.phone-frame {
    width: 480px;
    height: 760px;
    background-color: #111;
    border-radius: 40px;
    padding: 15px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                0 0 0 6px #333,
                inset 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    z-index: 5;
    margin-bottom: 80px;
}

.phone-header {
    height: 30px;
    position: relative;
    display: flex;
    justify-content: center;
    background-color: #000;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.phone-notch {
    width: 150px;
    height: 25px;
    background-color: #111;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    position: absolute;
    top: 0;
}

.phone-footer {
    height: 40px;
    background-color: #000;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-button {
    width: 100px;
    height: 5px;
    background-color: #666;
    border-radius: 3px;
}

#demoFrame {
    flex: 1;
    width: 100%;
    border: none;
    background-color: white;
}

.demo-kuki-mascot {
    position: absolute;
    width: 150px;
    z-index: 2;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.mascot-left-1 {
    left: 5%;
    top: 20%;
    animation: floatMascot 5s ease-in-out infinite;
}

.mascot-left-2 {
    left: 10%;
    bottom: 15%;
    animation: floatMascot 4s ease-in-out infinite 1s;
}

.mascot-right-1 {
    right: 5%;
    top: 25%;
    animation: floatMascot 6s ease-in-out infinite 0.5s;
}

.mascot-right-2 {
    right: 8%;
    bottom: 20%;
    animation: floatMascot 5s ease-in-out infinite 1.5s;
}

@keyframes floatMascot {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Responsive adjustments for the demo modal */
@media (max-height: 800px) {
    .demo-modal-content {
        height: 95vh;
        padding: 15px;
    }
    
    .phone-frame {
        width: 400px;
        height: 700px;
        margin-bottom: 70px;
    }
    
    .demo-kuki-mascot {
        width: 120px;
    }
}

@media (max-height: 700px) {
    .phone-frame {
        width: 360px;
        height: 650px;
        margin-bottom: 60px;
    }
    
    .demo-kuki-mascot {
        width: 100px;
    }
    
    .demo-action-buttons {
        bottom: 15px;
    }
    
    .demo-action-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 1200px) {
    .mascot-left-1,
    .mascot-left-2 {
        left: 2%;
    }
    
    .mascot-right-1,
    .mascot-right-2 {
        right: 2%;
    }
    
    .demo-kuki-mascot {
        width: 120px;
    }
}

@media (max-width: 992px) {
    .demo-kuki-mascot {
        width: 100px;
    }
    
    .phone-frame {
        width: 380px;
        height: 680px;
    }
}

@media (max-width: 768px) {
    .demo-modal-content {
        width: 95%;
        height: 90vh;
        padding: 15px;
    }
    
    .demo-container {
        height: calc(100% - 50px);
        overflow-y: auto;
    }
    
    .phone-frame {
        width: 340px;
        height: 640px;
        border-radius: 30px;
        padding: 10px;
        margin: 0 auto 60px;
    }
    
    .phone-header {
        height: 25px;
        border-top-left-radius: 25px;
        border-top-right-radius: 25px;
    }
    
    .phone-notch {
        width: 120px;
        height: 20px;
    }
    
    .phone-footer {
        height: 30px;
        border-bottom-left-radius: 25px;
        border-bottom-right-radius: 25px;
    }
    
    .home-button {
        width: 80px;
        height: 4px;
    }
    
    .mascot-left-1,
    .mascot-left-2,
    .mascot-right-1,
    .mascot-right-2 {
        display: none;
    }
}

@media (max-width: 480px) {
    .demo-action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        bottom: 10px;
    }
    
    .demo-action-btn {
        width: 90%;
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .demo-modal-content {
        padding: 10px;
    }
    
    .phone-frame {
        width: 280px;
        height: 560px;
        margin-bottom: 100px;
    }
    
    .demo-action-buttons {
        bottom: 5px;
    }
}

.demo-notification {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: pulseNotification 2s infinite alternate;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.demo-notification.hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
    pointer-events: none;
}

.demo-notification i {
    font-size: 16px;
}

.demo-notification-text {
    flex: 1;
}

.close-notification {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    margin-left: 10px;
    color: white;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.close-notification:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

@keyframes pulseNotification {
    0% {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        transform: translateX(-50%) scale(1);
    }
    100% {
        box-shadow: 0 8px 20px rgba(138, 43, 226, 0.3);
        transform: translateX(-50%) scale(1.03);
    }
}

@media (max-width: 768px) {
    .demo-notification {
        width: 90%;
        max-width: 320px;
        text-align: center;
        padding: 8px 15px;
        font-size: 13px;
        top: 60px;
    }
}

@media (max-width: 480px) {
    .demo-notification {
        width: 95%;
        font-size: 12px;
        padding: 6px 12px;
        top: 55px;
    }
}

/* ===========================================
   LEGAL PAGE STYLES
   =========================================== */

/* Legal page specific styles */
.legal-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding-top: 100px;
}

.legal-page .container {
    max-width: 900px;
}

.content-section {
    padding: 40px 0 80px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    margin: 20px auto;
}

.content-section h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.policy-intro {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.05), rgba(165, 110, 247, 0.05));
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 40px;
    border-left: 4px solid var(--primary-color);
}

.policy-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin: 0;
    font-weight: 500;
}

.policy-content {
    padding: 0 20px;
}

.policy-content > p {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.policy-section {
    margin-bottom: 35px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(138, 43, 226, 0.1);
    transition: var(--transition);
}

.policy-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.15);
    background: rgba(255, 255, 255, 0.8);
}

.policy-section h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(138, 43, 226, 0.2);
    position: relative;
}

.policy-section h2::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.policy-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 15px;
    text-align: justify;
}

.policy-section p:last-child {
    margin-bottom: 0;
}

.policy-section strong {
    color: var(--primary-color);
    font-weight: 600;
}

.policy-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.policy-section li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: var(--text-color);
}

.policy-section li::marker {
    color: var(--primary-color);
}

.policy-section em {
    color: #666;
    font-style: italic;
}

/* Special styling for the last update and conclusion */
.policy-section p em {
    display: block;
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: rgba(138, 43, 226, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(138, 43, 226, 0.1);
}

/* Navigation styles for legal page */
.legal-page nav {
    background: rgba(255, 255, 255, 0.98);
}

.legal-page .nav-links a {
    color: var(--text-color);
}

.legal-page .nav-links a:hover {
    background: rgba(138, 43, 226, 0.1);
    color: var(--primary-color);
}

/* Footer adjustments for legal page */
.legal-page footer {
    background: var(--dark-bg);
    margin-top: 0;
}

/* Responsive design for legal page */
@media (max-width: 768px) {
    .legal-page {
        padding-top: 80px;
    }
    
    .content-section {
        margin: 10px;
        padding: 30px 0 60px;
    }
    
    .content-section h1 {
        font-size: 2.2rem;
        margin-bottom: 25px;
    }
    
    .policy-intro {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .policy-intro p {
        font-size: 1rem;
    }
    
    .policy-section {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .policy-section h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .policy-section p {
        font-size: 0.95rem;
        line-height: 1.6;
        text-align: left;
    }
    
    .policy-content {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .content-section h1 {
        font-size: 1.8rem;
    }
    
    .policy-section {
        padding: 15px;
    }
    
    .policy-section h2 {
        font-size: 1.2rem;
    }
    
    .policy-section p {
        font-size: 0.9rem;
    }
    
    .policy-intro p {
        font-size: 0.95rem;
    }
}