/* ccNote Styles */

body {
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.gradient-bg {
    background: linear-gradient(135deg, #5ec2bc 0%, #151553 100%);
}

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.nav-link {
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #5ec2bc;
}

.beta-form {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.scroll-smooth {
    scroll-behavior: smooth;
}

.btn-primary {
    background-color: #151553;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(21, 21, 83, 0.2), 0 2px 4px -1px rgba(21, 21, 83, 0.1);
    letter-spacing: 0.025em;
}

.btn-primary:hover {
    background-color: #5ec2bc;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(94, 194, 188, 0.4), 0 10px 10px -5px rgba(94, 194, 188, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    border: 2px solid white;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    letter-spacing: 0.025em;
}

.btn-secondary:hover {
    background-color: white;
    color: #151553;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(255, 255, 255, 0.3);
}

.btn-secondary:active {
    transform: translateY(0);
}

.section-title {
    color: #151553;
    margin-bottom: 1rem;
}

.brand-accent {
    color: #5ec2bc;
}

.brand-primary {
    color: #151553;
}

.shadow-brand {
    box-shadow: 0 4px 6px -1px rgba(21, 21, 83, 0.1), 0 2px 4px -1px rgba(21, 21, 83, 0.06);
}

.shadow-brand-lg {
    box-shadow: 0 10px 15px -3px rgba(21, 21, 83, 0.1), 0 4px 6px -2px rgba(21, 21, 83, 0.05);
}

.footer-logo {
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
}

/* Mobile responsive improvements */
@media (max-width: 640px) {
    .text-4xl { font-size: 2rem; }
    .text-5xl { font-size: 2.5rem; }
}

/* Smooth scroll for all browsers */
html {
    scroll-behavior: smooth;
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
    body {
        -webkit-font-smoothing: antialiased;
    }
}

/* Browser compatibility for backdrop blur */
.backdrop-blur-md {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #5ec2bc;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(94, 194, 188, 0.4);
    z-index: 1000;
}

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

.scroll-to-top:hover {
    background-color: #151553;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(21, 21, 83, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Cookie consent banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    z-index: 9999;
    border-top: 3px solid #5ec2bc;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-consent-text {
    flex: 1;
    color: #374151;
}

.cookie-consent-text a {
    color: #5ec2bc;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-consent-text a:hover {
    color: #151553;
}

.cookie-consent-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.875rem;
    white-space: nowrap;
}

.cookie-btn-accept {
    background-color: #5ec2bc;
    color: white;
}

.cookie-btn-accept:hover {
    background-color: #151553;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21, 21, 83, 0.3);
}

.cookie-btn-decline {
    background-color: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.cookie-btn-decline:hover {
    background-color: #e5e7eb;
}

@media (max-width: 768px) {
    .cookie-consent {
        padding: 1rem;
    }

    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .cookie-consent-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
    }

    .cookie-consent-text {
        font-size: 0.875rem;
    }
}
