/* Base Styles and Variables */
:root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --accent-color: #4cc9f0;
    --text-color: #333;
    --light-text: #fff;
    --light-gray: #f5f7fa;
    --gray: #e9ecef;
    --dark-gray: #6c757d;
    --success: #2ecc71;
    --warning: #f39c12;
    --danger: #e74c3c;
    --border-radius: 8px;
    --box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 15px 35px -15px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --gradient-1: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-2: linear-gradient(135deg, #4cc9f0, #4361ee);
    --gradient-3: linear-gradient(135deg, #3a86ff, #0466c8); /* Changed from pink to blue */
    --font-family: 'Poppins', sans-serif;
    --gradient-hero: linear-gradient(135deg, #0f172a, #1e3a8a);
    --gradient-accent: linear-gradient(135deg, #10b981, #3b82f6);
    --glow-shadow: 0 0 25px rgba(76, 201, 240, 0.6);
    --glass-background: rgba(255, 255, 255, 0.1);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --glass-blur: blur(10px);
    --neon-blue: #4cc9f0;
    --neon-purple: #7b2cbf;
    --font-futuristic: 'Poppins', sans-serif;
    /* navbar & color palette */
    --navbar-height:    80px;
    --navbar-bg:        rgba(15, 23, 42, 0.9);
    --navbar-blur:      blur(12px);
    --navbar-border:    1px solid rgba(255,255,255,0.1);
    --nav-link-color:   rgba(255,255,255,0.8);
    --nav-link-hover:   #FFFFFF;
    --nav-link-active:  var(--accent-color);
    --accent-color:     #4CC9F0;
    --light-text:       #FFF;
    --gradient-accent:  linear-gradient(135deg, #10B981, #3B82F6);
    --neon-blue:        #4CC9F0;
    --neon-purple:      #7B2CBF;
    --transition:       all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #fff;
    position: relative;
    padding-top: 38px; /* Add padding to body equal to banner height */
}

/* Add grain texture to the entire page */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJO0ttC6IBD3kM0ve0tJwMdSfjZo+EEISaeTr9P3wYrGjXqyC1krcKdhMpxEnt5JetoulscpyzhXN5FRpuPHvbeQaKxFAEB6EN+cYN6xD7RYGpXpNndMmZgM5Dcs3YSNFDHUo2LGfZuukSWyUYirJAdYbF3MfqEKmjM+I2EfhA94iG3L7uKrR+GdWD73ydlIB+6hgref1QTlmgmbM3/LeX5GI1Ux1RWpgxpLuZ2+I+IjzZ8wqE4nilvQdkUdfhzI5QDWy+kw5Wgg2pGpeEVeCCA7b85BO3F9DzxB3cdqvBzWcmzbyMiqhzuYqtHRVG2y4x+KOlnyqla8AoWWpuBoYRxzXrfKuILl6SfiWCbjxoZJUaCBj1CjH7GIaDbc9kqBY3W/Rgjda1iqQcOJu2WW+76pZC9QG7M00dffe9hNnseupFL53r8F7YHSwJWUKP2q+k7RdsxyOB11n0xtOvnW4irMMFNV4H0uqwS5ExsmP9AxbDTc9JwgneAT5vTiUSm1E7BSflSt3bfa1tv8Di3R8n3Af7MNWzs49hmauE2wP+ttrq+AsWpFG2awvsuOqbipWHgtuvuaAE+A1Z/7gC9hesnr+7wqCwG8c5yAg3AL1fm8T9AZtp/bbJGwl1pNrE7RuOX7PeMRUERVaPpEs+yqeoSmuOlokqw49pgomjLeh7icHNlG19yjs6XXOMedYm5xH2YxpV2tc0Ro2jJfxC50ApuxGob7lMsxfTbeUv07TyYxpeLucEH1gNd4IKH2LAg5TdVhlCafZvpskfncCfx8pOhJzd76bJWeYFnFciwcYfubRc12Ip/ppIhA1/mSZ/RxjFDrJC5xifFjJpY2Xl5zXdguFqYyTR1zSp1Y9p+tktDYYSNflcxI0iyO4TPBdlRcpeqjK/piF5bklq77VSEaA+z8qmJTFzIWiitbnzR794USKBUaT0NTEsVjZqLaFVqJoPN9ODG70IPbfBHKK+/q/AWR0tJzYHRULOa4MP+W/HfGadZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==');
    opacity: 0.05;
    pointer-events: none;
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style-position: inside;
}

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

section {
    padding: 5rem 0;
    position: relative;
}

section:nth-child(odd) {
    background-color: var(--light-gray);
}

.section-subtitle {
    text-align: center;
    color: var(--dark-gray);
    margin-top: -1.5rem;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.bg-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    pointer-events: none;
}

/* Custom Mouse Cursor */
.custom-cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    pointer-events: none;
    background-image: url('assets/money-tree.gif');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 1;
    transition: opacity 0.2s ease;
    mix-blend-mode: difference;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--light-text);
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 2rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: var(--border-radius); /* Match parent border radius */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.3);
    color: var(--light-text);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-full {
    display: block;
    width: 100%;
    margin-top: 1rem;
    background: var(--gradient-1);
    color: var(--light-text);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start; /* Change from center to flex-start to align left */
    margin-top: 2rem;
}

.btn-glow {
    position: relative;
    z-index: 1;
    box-shadow: var(--glow-shadow);
    overflow: visible;
    border-radius: var(--border-radius) !important;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-accent);
    z-index: -1;
    filter: blur(15px);
    opacity: 0.6;
    border-radius: inherit;
    transition: opacity 0.3s ease;
    border-radius: var(--border-radius) !important;
}

.btn-glow:hover::after {
    opacity: 0.8;
    border-radius: var(--border-radius) !important;
}

.btn-glow::before {
    border-radius: var(--border-radius) !important;
}

.btn-glow:hover {
    box-shadow: 0 0 20px rgba(67, 97, 238, 0.4), 0 8px 25px rgba(67, 97, 238, 0.3);
    transition: box-shadow 0.3s ease; 
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex; /* Changed from inline-block to inline-flex */
    align-items: center; /* Centers text vertically */
    justify-content: center; /* Centers text horizontally */
    transition: all 0.3s ease;
    line-height: 1; /* Reset line-height for perfect centering */
    min-height: 56px; /* Ensure consistent height with primary button */
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: var(--light-text);
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.cta-small {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.price-tag {
    font-weight: 700;
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    padding: 10rem 0 8rem;
    background: var(--gradient-hero);
    color: var(--light-text);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%239C92AC" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.3;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(circle, var(--neon-blue) 1px, transparent 1px),
        radial-gradient(circle, var(--neon-purple) 1px, transparent 1px);
    background-size: 40px 40px, 30px 30px;
    background-position: 0 0, 20px 20px;
    opacity: 0.2;
    animation: particleAnimation 15s linear infinite;
}

@keyframes particleAnimation {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
    }
}

.hero-blob {
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(76, 201, 240, 0.3) 0%, rgba(67, 97, 238, 0.1) 50%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: blobFloat 15s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    50% {
        transform: translate(50px, 20px) rotate(180deg) scale(1.1);
    }
    100% {
        transform: translate(-30px, -10px) rotate(360deg) scale(0.9);
    }
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 650px;
    animation: fadeInLeft 1s ease-out forwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge {
    display: inline-block;
    background: var(--glass-background);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeIn 0.5s ease-out 0.5s forwards;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: 4rem;
    line-height: 1.2; /* Increased from 1.1 to give more space for descenders */
    font-weight: 800;
    background: linear-gradient(to right, #fff, #a5f3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    padding-bottom: 5px; /* Added padding to ensure descenders aren't cut off */
}

.glitch-text {
    position: relative;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #fff, #a5f3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 5px; /* Match the padding of the parent */
}

.glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: 2px 0 #00fff9;
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip-path: inset(20% 0 80% 0);
    }
    20% {
        clip-path: inset(60% 0 40% 0);
    }
    40% {
        clip-path: inset(40% 0 60% 0);
    }
    60% {
        clip-path: inset(80% 0 20% 0);
    }
    80% {
        clip-path: inset(10% 0 90% 0);
    }
    100% {
        clip-path: inset(30% 0 70% 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip-path: inset(15% 0 85% 0);
    }
    20% {
        clip-path: inset(55% 0 45% 0);
    }
    40% {
        clip-path: inset(35% 0 65% 0);
    }
    60% {
        clip-path: inset(75% 0 25% 0);
    }
    80% {
        clip-path: inset(5% 0 95% 0);
    }
    100% {
        clip-path: inset(25% 0 75% 0);
    }
}

.hero .subtext {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 90%;
    animation: fadeIn 1s ease-out 0.8s forwards;
    opacity: 0;
}

.hero .cta-buttons {
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 1s forwards;
    justify-content: flex-start; /* Change from center to flex-start to align left */
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.2s forwards;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: fit-content;
    max-width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.25rem;
    position: relative;
    width: auto;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -0.75rem;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile responsive adjustments for hero stats */
@media (max-width: 768px) {
    .hero-stats {
        justify-content: center;
        width: 100%;
        gap: 0.75rem;
        padding: 1rem 0.5rem;
    }
    
    .stat-item {
        padding: 0 0.5rem;
    }
    
    .stat-item:not(:last-child)::after {
        right: -0.375rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .hero-stats {
        flex-wrap: nowrap;
        gap: 0.5rem;
    }
    
    .stat-item:not(:last-child)::after {
        height: 50%;
    }
}

.hero-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    height: 500px;
}

.floating-mockups {
    position: absolute;
    width: 100%;
    height: 100%;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.mockup {
    position: absolute;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: #fff;
    transform: rotate3d(1, 1, 1, 0deg);
    transition: transform 0.3s ease;
}

.mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top; /* This ensures images start from the top */
}

.mockup-1 {
    width: 300px;
    height: 400px;
    top: 0;
    left: 10%;
    z-index: 3;
    animation: float1 6s ease-in-out infinite, slideIn 1s ease-out forwards;
    opacity: 0;
}

.mockup-2 {
    width: 280px;
    height: 200px;
    top: 0;
    right: 0;
    z-index: 2;
    animation: float2 7s ease-in-out infinite, slideIn 1s 0.3s ease-out forwards;
    opacity: 0;
}

.mockup-3 {
    width: 250px;
    height: 350px;
    bottom: 5%;
    right: 10%;
    z-index: 1;
    animation: float3 8s ease-in-out infinite, slideIn 1s 0.6s ease-out forwards;
    opacity: 0;
}

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

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

@keyframes float3 {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-25px) rotate(3deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

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

.glowing-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76, 201, 240, 0.2) 0%, rgba(67, 97, 238, 0.1) 50%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(30px);
    z-index: 0;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
}

/* Who It's For Section */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.audience-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid transparent;
}

.audience-card:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-color: rgba(67, 97, 238, 0.2);
}

.audience-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Add a subtle pulse animation to the icon on hover
@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.audience-card:hover .icon {
    animation: iconPulse 1.5s infinite;
    color: var(--secondary-color);
} */

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Change to 3 columns for better balance */
    gap: 2rem;
}

.feature-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-color: rgba(67, 97, 238, 0.2);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: var(--light-gray);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card.featured {
    transform: scale(1.05);
    z-index: 1;
    box-shadow: var(--hover-shadow);
    border: 2px solid var(--primary-color);
}

.pricing-card:hover {
    box-shadow: var(--hover-shadow);
}

.pricing-header {
    padding: 2rem;
    text-align: center;
    position: relative;
}

.pricing-header .tag {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 0 0 0 var(--border-radius);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

.pricing-features {
    padding: 0 2rem;
    flex-grow: 1;
}

.pricing-features ul {
    list-style-type: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--gray);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    margin-right: 10px;
}

.fa-check {
    color: var(--success);
}

.fa-times {
    color: var(--danger);
}

.pricing-cta {
    padding: 2rem;
    margin-top: auto;
}

/* Countdown Section */
.countdown-container {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.countdown-text {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-item span:first-child {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.countdown-label {
    font-size: 0.8rem;
    color: var(--dark-gray);
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    background-color: #fff; /* new - test if good and remove if not */
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition); /* new - test if good and remove if not */
    height: 250px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--light-text);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.05); /* new - test if good and remove if not */
}

.portfolio-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--light-text);
    font-weight: 600;
}

.portfolio-overlay p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
    color: var(--light-text);
    line-height: 1.5;
}

.portfolio-overlay .btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-overlay .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.portfolio-overlay .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

.portfolio-overlay .btn:hover::before {
    left: 100%;
}

.portfolio-overlay .btn i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.portfolio-overlay .btn:hover i {
    transform: translateX(3px);
}

/* Power-Ups Section */
.power-ups {
    background: linear-gradient(to bottom, var(--light-gray) 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.power-ups::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(67, 97, 238, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.power-ups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    justify-items: center;
}

.power-up-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 2.5rem 1.5rem; /* Slightly reduced horizontal padding */
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray);
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure all cards have the same height */
}

.power-up-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(67, 97, 238, 0.2);
}

.power-up-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light-gray);
    position: relative;
    transition: var(--transition);
    overflow: visible;
}

.power-up-icon i {
    font-size: 1.8rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition); 
    /* background-clip: text;
    background-size: 400% 400%;
    animation: iconGradient 8s infinite linear;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3); *//* new - test if good and remove if not */
}

.power-up-icon i.fas {
    line-height: normal; /* Override the default line-height: 1 from Font Awesome */
    height: auto; /* Ensure proper height calculation */
    vertical-align: middle; /* Better vertical alignment */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.power-up-card:hover .power-up-icon {
    background: var(--gradient-1);
}

.power-up-card:hover .power-up-icon i {
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.power-up-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem; /* Slightly reduced font size */
    min-height: 2.8rem; /* Fixed height for title area (accommodates two lines) */
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
}

.power-up-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.power-up-price::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--gradient-1);
    border-radius: 10px;
}

.power-up-card p {
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    /* flex-grow: 1; Allow description to take remaining space */
    display: flex;
    align-items: center;
    justify-content: center;
}

.power-up-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
    width: 100%;
    display: block;
    margin-top: auto; /* Push button to bottom */
}

.power-ups-help {
    text-align: center;
    margin-top: 1rem;
}

.power-ups-help a {
    color: var(--dark-gray);
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    position: relative;
}

.power-ups-help a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: var(--transition);
}

.power-ups-help a:hover {
    color: var(--primary-color);
}

.power-ups-help a:hover::after {
    width: 100%;
}

/* Mobile Responsiveness for Power-Ups */
@media (max-width: 992px) {
    .power-ups-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.75rem;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
        margin: 0 auto 1.2rem;
    }
}

@media (max-width: 768px) {
    .power-ups-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .power-up-card {
        padding: 2rem 1.5rem;
    }
}

/* Testimonials Section */
.testimonials {
    background: var(--gradient-2);
    color: var(--light-text);
}

.testimonials h2 {
    color: var(--light-text);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    padding: 1rem;
}

.testimonial-content {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 1.5rem;
    opacity: 0.5;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.author-info h4 {
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.8;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    gap: 2rem;
}

.testimonial-btn {
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.testimonial-btn:hover {
    opacity: 1;
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

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

/* Why So Affordable Section */
.affordable-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.affordable-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.affordable-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.affordable-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Process Section */
.process-steps {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 3.5rem;
    left: 2rem;
    width: 3px;
    height: calc(100% + 1.5rem);
    background: var(--gradient-1);
}

.step-number {
    width: 4rem;
    height: 4rem;
    background: var(--gradient-1);
    color: var(--light-text);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

.step-content {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    flex-grow: 1;
}

.step-content:hover {
    box-shadow: var(--hover-shadow);
}

/* FAQs Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: var(--box-shadow);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.faq-toggle {
    font-size: 1.2rem;
    transition: var(--transition);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-toggle i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg); /* This is the issue - rotating + to 45 degrees looks like / */
    display: inline-block;
}

/* Fix for FAQ toggle icons */
.faq-toggle i.fa-plus {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-toggle i.fa-plus {
    display: none; /* Hide the plus icon when active */
}

.faq-item.active .faq-toggle i.fa-minus {
    display: inline-block; /* Show the minus icon when active */
}

.faq-item:not(.active) .faq-toggle i.fa-minus {
    display: none; /* Hide the minus icon when not active */
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
    display: inline-block; /* Ensure the icon is properly displayed */
}

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

/* CTA Section */
.cta {
    text-align: center;
    background: var(--gradient-3);
    color: var(--light-text);
    padding: 5rem 0;
}

.cta h2 {
    color: var(--light-text);
}

.cta-text {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta .cta-buttons {
    justify-content: center; /* Center the CTA buttons */
    margin: 0 auto; /* Add auto margin to center */
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

/* Modern, Beautiful Trust Badges */
.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
}

/* Elegant gradient overlay */
.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Animated spotlight effect */
.badge::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, transparent 30%);
    opacity: 0;
    z-index: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    transform: rotate(0deg);
}

/* Custom color gradients for each badge */
.badge:nth-child(1)::before {
    background: linear-gradient(130deg, rgba(255, 183, 3, 0.15), rgba(251, 133, 0, 0.15));
}

.badge:nth-child(2)::before {
    background: linear-gradient(130deg, rgba(46, 196, 182, 0.15), rgba(16, 185, 129, 0.15));
}

.badge:nth-child(3)::before {
    background: linear-gradient(130deg, rgba(230, 57, 70, 0.15), rgba(241, 71, 119, 0.15));
}

/* Badge hover animations */
.badge:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.badge:hover::before {
    opacity: 1;
}

.badge:hover::after {
    opacity: 1;
    animation: rotateSpotlight 3s infinite linear;
}

@keyframes rotateSpotlight {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Icon styling with animated gradients */
.badge i {
    position: relative;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    z-index: 1;
}

.badge:nth-child(1) i {
    background: conic-gradient(from 0deg, #FFB703, #FB8500, #fd9e2b, #FFB703);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 400% 400%;
    animation: iconGradient 8s infinite linear;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.badge:nth-child(2) i {
    background: conic-gradient(from 45deg, #2EC4B6, #10B981, #20e3c0, #2EC4B6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 400% 400%;
    animation: iconGradient 8s infinite linear 0.3s;
    text-shadow: 0 0 10px rgba(46, 196, 182, 0.3);
}

.badge:nth-child(3) i {
    background: conic-gradient(from 90deg, #E63946, #F14777, #ff5e85, #E63946);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 400% 400%;
    animation: iconGradient 8s infinite linear 0.6s;
    text-shadow: 0 0 10px rgba(230, 57, 70, 0.3);
}

/* Animated icon glow effect */
.badge i::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(8px);
    transform: scale(1.2);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.badge:hover i::after {
    opacity: 1;
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.8);
        opacity: 0.6;
    }
}

@keyframes iconGradient {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 400% 50%;
    }
}

/* Badge text styling */
.badge span {
    position: relative;
    z-index: 1;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.badge:hover span {
    transform: scale(1.05);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .trust-badges {
        gap: 1.5rem;
    }
    
    .badge {
        min-width: 160px;
        padding: 1.5rem 1rem;
    }
    
    .badge i {
        font-size: 2.2rem;
    }
    
    .badge span {
        font-size: 1rem;
    }
}

/* Promotional Banner */
.promo-banner {
    background: var(--gradient-3);
    color: var(--light-text);
    text-align: center;
    position: fixed; /* Keep it fixed */
    top: 0;
    left: 0;
    width: 100%;
    height: 38px; /* Exact height of 38px */
    z-index: 1005; /* Increase z-index to be above navbar */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.promo-banner .container {
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.promo-banner p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.promo-banner .highlight {
    color: #ffff80;
    font-weight: 600;
}

.copy-strong {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    user-select: none;
}

.promo-banner strong:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.promo-banner strong:active {
    transform: translateY(0);
}

/* Add subtle indicator to show it's copyable */
.promo-banner strong::after {
    content: "📋";
    font-size: 10px;
    position: absolute;
    top: -8px;
    right: -3px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.promo-banner strong:hover::after {
    opacity: 1;
}

/* Add this to your styles.css file */
.copy-popup {
    position: absolute; /* Changed from fixed */
    background-color: rgba(67, 97, 238, 0.95);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
    transition: opacity 0.5s ease;
    pointer-events: none;
    white-space: nowrap; /* Prevent text wrapping */
    will-change: opacity; /* Optimize for animations */
    contain: layout style paint; /* Contain layout changes */
}

.copy-popup.fade-out {
    opacity: 0;
}


/* Mobile scrolling banner animation */
@media (max-width: 768px) {
    .promo-banner .container {
        padding: 0;
        width: max-content;
    }
    
    .promo-banner p {
        text-overflow: clip;
        white-space: nowrap;
        display: inline-block;
        padding: 0 20px;
        position: relative;
        animation: scrollBanner 18s linear infinite;
        width: max-content; /* This ensures the text keeps its natural width */
    }
    
    @keyframes scrollBanner {
        0% {
            transform: translateX(100%);
        }
        100% {
            transform: translateX(-100%);
        }
    }
}

/* Fix body margin to accommodate banner */
body {
    padding-top: 38px; /* Add padding to body equal to banner height */
}

/* Navbar Base */
.navbar {
  position: fixed;
  top: 38px; /* Position navbar directly below banner height */
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  background: var(--navbar-bg);
  backdrop-filter: var(--navbar-blur);
  -webkit-backdrop-filter: var(--navbar-blur);
  border-bottom: var(--navbar-border);
  z-index: 1004; /* Make sure it's below the banner but above other content */
  transition: var(--transition);
}

/* Additional mobile adjustments */
@media (max-width: 768px) {
    body {
        padding-top: 38px; /* Keep consistent with banner height */
    }
    
    .navbar {
        top: 38px; /* Keep consistent with banner height */
    }
    
    .hero {
        padding-top: 12rem; /* Adjust hero padding to account for fixed navbar and banner */
    }
    
    .promo-banner p {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .promo-banner p {
        font-size: 0.75rem;
    }
    
    .promo-banner strong {
        padding: 1px 4px;
    }
    
    .countdown-small {
        display: inline;
        white-space: nowrap;
    }

    .features-grid {
        grid-template-columns: 1fr; /* Single column for mobile */
        gap: 1.25rem;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-card:hover {
        transform: translateY(-10px) scale(1.02); /* Reduce animation on mobile */
    }
    
    .feature-icon {
        margin: 0 auto 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content, .hero-image, .feature-card, .audience-card,
.pricing-card, .portfolio-item, .testimonial-content,
.affordable-card, .process-step, .faq-item, .guarantee-item {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Star Rating Styles */
.rating-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.star-rating {
    display: flex;
    margin-top: 5px;
}

.star-icon {
    color: #FFD700;
    margin: 0 1px;
    font-size: 12px;
    animation: starGlow 1.5s infinite alternate;
}

.star-icon:nth-child(1) { animation-delay: 0s; }
.star-icon:nth-child(2) { animation-delay: 0.3s; }
.star-icon:nth-child(3) { animation-delay: 0.6s; }
.star-icon:nth-child(4) { animation-delay: 0.9s; }
.star-icon:nth-child(5) { animation-delay: 1.2s; }

@keyframes starGlow {
    0% {
        filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.7));
        transform: scale(1);
    }
    100% {
        filter: drop-shadow(0 0 6px rgba(255, 215, 0, 1));
        transform: scale(1.2);
    }
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        text-align: center;
        padding: 8rem 0 5rem; /* Reduced padding for better spacing on mobile */
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        flex: initial;
    }
    
    .hero-content {
        max-width: 100%; /* Full width on mobile */
        order: 1; /* Content comes first on mobile */
    }
    
    .hero .subtext {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    
    .hero-image {
        order: 2; /* Image comes second on mobile */
        height: 350px; /* Reduced height on mobile */
        margin-top: 2rem;
    }
    
    .hero .cta-buttons {
        justify-content: center; /* Center buttons on mobile */
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        justify-content: center; /* Center stats on mobile */
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .stat-item {
        flex-basis: 30%; /* Make stats take up less space */
        text-align: center;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .countdown {
        flex-wrap: wrap;
    }
    
    .testimonial-controls {
        gap: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .hero {
        padding: 7rem 0 4rem; /* Further reduce padding on smaller devices */
    }
    
    .hero h1 {
        font-size: 2.2rem; /* Smaller heading on mobile */
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero .subtext {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .mockup-1 {
        width: 220px; /* Smaller mockups on mobile */
        height: 300px;
    }
    
    .mockup-2 {
        width: 200px;
        height: 150px;
    }
    
    .mockup-3 {
        width: 180px;
        height: 250px;
    }
    
    .hero-image {
        height: 300px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero {
        padding: 6.5rem 0 3rem;
        min-height: auto; /* Remove fixed height on very small screens */
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .hero-stats {
        margin-top: 2rem;
        width: 100%;
        justify-content: space-around;
    }
    
    .stat-item {
        flex-basis: 28%;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-image {
        height: 250px; /* Even smaller on mobile */
    }
    
    .mockup-1, .mockup-2, .mockup-3 {
        transform: scale(0.85); /* Scale down mockups for very small screens */
    }
    
    .btn {
        padding: 10px 20px; /* Slightly smaller buttons */
        font-size: 0.9rem;
    }
}

/* Accessibility Widget - Fixed positioning with stable button */
.accessibility-container {
    position: fixed;
    bottom: 6rem;
    right: 20px;
    z-index: 10000;
    width: 50px; /* Fixed width to prevent layout shifts */
    height: 50px; /* Fixed height to match button */
}

.accessibility-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    position: relative; /* Ensure button stays in place */
    z-index: 10001; /* Keep button above menu */
}

.accessibility-toggle:hover {
    transform: scale(1.1);
}

.accessibility-menu {
    position: fixed; /* Use fixed instead of absolute */
    bottom: 120px; /* Position above the button with some spacing */
    right: 20px; /* Same right position as container */
    width: 280px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding: 1rem;
    display: none; /* Simple hide/show */
    border: 1px solid #e0e0e0;
    z-index: 10000; /* Below button but above other content */
}

/* Accessibility Container - Adjusted for fixed positioning */
.accessibility-container {
    position: fixed ;
    bottom: 6rem ;
    right: 20px ;
    z-index: 10000 ; /* Increase z-index to be above everything */
    pointer-events: auto;
    transform: translateZ(0) ;
    -webkit-transform: translateZ(0) ;
}

/* Navbar Base */
.navbar {
  position: fixed;
  top: 38px; /* Position navbar directly below banner height */
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  background: var(--navbar-bg);
  backdrop-filter: var(--navbar-blur);
  -webkit-backdrop-filter: var(--navbar-blur);
  border-bottom: var(--navbar-border);
  z-index: 1004; /* Make sure it's below the banner but above other content */
  transition: var(--transition);
}

.navbar.scrolled {
    height: 70px;
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Logo */
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo-icon {
    width: 30px; height: 30px;
    stroke: var(--accent-color);
    stroke-width: 2;
    fill: none;
    animation: logoGlow 3s infinite alternate;
}
@keyframes logoGlow {
    0%   { filter: drop-shadow(0 0 2px var(--accent-color)); }
    100% { filter: drop-shadow(0 0 8px var(--accent-color)); }
}
.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--light-text);
    letter-spacing: 0.5px;
}
.logo-accent {
    background: linear-gradient(90deg, var(--accent-color), #a5f3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 2px;
}

/* Links & Actions */
.navbar-menu {
    display: flex;
    align-items: center;
}
.navbar-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin-right: 2rem;
}
.nav-link {
    position: relative;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--nav-link-color);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: var(--transition);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
    opacity: 0;
}
.nav-link:hover,
.nav-link.active {
    color: var(--nav-link-hover);
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%; opacity: 1;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.navbar-price-tag {
    font-size: 0.9rem;
    color: var(--nav-link-color);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
}
.navbar-price-tag span {
    font-weight: 700;
    color: var(--accent-color);
}
.btn-navbar {
    background: var(--gradient-accent);
    color: var(--light-text);
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    box-shadow: 0 0 15px rgba(76, 201, 240, 0.3);
    transition: var(--transition);
}
.btn-navbar:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(76, 201, 240, 0.5);
}

/* Mobile Toggle - Updated for better icon appearance */
.menu-toggle {
    display: none;
    width: 28px; height: 20px;
    right: -35px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1100;
}
.menu-toggle span {
    display: block;
    width: 100%; height: 2px;
    background-color: var(--light-text);
    margin: 4px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Mobile menu styles - Updated for better appearance */
@media (max-width: 992px) {
    .menu-toggle { display: block; }
    
    /* Mobile menu icon appearance */
    body:not(.menu-open) .menu-toggle span:nth-child(1) { transform: translateY(0) rotate(0); }
    body:not(.menu-open) .menu-toggle span:nth-child(2) { opacity: 1; }
    body:not(.menu-open) .menu-toggle span:nth-child(3) { transform: translateY(0) rotate(0); }
    
    /* Menu icon transforms to X when open */
    body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
    body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    
    /* Fixed mobile menu that opens right below navbar */
    .navbar-menu { 
        position: absolute;
        top: var(--navbar-height); /* Position exactly at bottom of navbar */
        left: 0;
        width: 100%;
        height: auto;
        max-height: 0;
        overflow: hidden;
        background: var(--navbar-bg);
        backdrop-filter: var(--navbar-blur);
        -webkit-backdrop-filter: var(--navbar-blur);
        border-bottom: var(--navbar-border);
        padding: 0;
        transition: max-height 0.4s ease;
        z-index: 1000;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        display: flex;
        flex-direction: column; /* Stack elements vertically */
    }
    
    .navbar-menu.active { 
        max-height: 500px; /* Allow content to show when active */
        padding: 0.75rem 0 0 0; /* Reduced top padding */
    }
    
    .navbar-links { 
        flex-direction: column;
        gap: 0;
        margin: 0;
        width: 100%;
        order: 1; /* Set order to 1 to appear before actions */
    }
    
    .navbar-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        display: block;
        padding: 0.75rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .navbar-links li:last-child .nav-link {
        border-bottom: none;
    }
    
    .nav-link::after {
        display: none; /* Remove underline animation on mobile */
    }
    
    .nav-link:hover, 
    .nav-link.active {
        background: rgba(255, 255, 255, 0.05);
    }
    
    body.menu-open { 
        overflow: hidden; 
    }
    
    /* Improved CTA button in mobile menu - moved to bottom */
    .navbar-actions {
        width: 100%;
        justify-content: center;
        margin: 0;
        order: 2; /* Set order to 2 to appear after links */
    }
    
    .btn-navbar {
        display: block;
        width: 100%;
        text-align: center;
        padding: 1rem;
        margin: 0;
        border-radius: 0 0 var(--border-radius) var(--border-radius);
        background: var(--gradient-accent);
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        box-shadow: none;
        position: relative;
        overflow: hidden;
    }
    
    /* Add subtle shine effect to button */
    .btn-navbar::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent
        );
        transition: 0.5s;
    }
    
    .btn-navbar:hover::before {
        left: 100%;
    }
    
    .btn-navbar:hover {
        transform: none;
        box-shadow: none;
        background-image: linear-gradient(135deg, #0ea371, #2563eb);
    }
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.contact-form:hover {
    box-shadow: var(--hover-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    display: none;
}

.form-status.success {
    display: block;
    background-color: rgba(46, 204, 113, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.form-status.error {
    display: block;
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--danger);
    border: 1px solid var(--danger);
}

/* Guarantee Section */
.guarantee {
    text-align: center;
}

.guarantee-content {
       max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.guarantee-content:hover {
    box-shadow: var(--hover-shadow);
}

.guarantee-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: var(--light-gray);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.guarantee-item {
    padding: 1.5rem;
    border-radius: var(--border-radius);
    background-color: var(--light-gray);
    transition: var(--transition);
}

.guarantee-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.guarantee-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.guarantee-item p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: var(--light-text);
    padding: 5rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%239C92AC" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.1;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-info {
    max-width: 350px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #a5f3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.footer-info p {
    opacity: 0.7;
    line-height: 1.8;
}

.footer-links h4, 
.footer-newsletter h4 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-links h4::after,
.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

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

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.newsletter-form {
    display: flex;
    margin-top: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    outline: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    background: var(--accent-color);
    color: var(--light-text);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #3a86ff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--accent-color);
}

/* Chat Widget */
.chat-widget {
    position: fixed !important;
    bottom: 2rem !important;
    right: 20px !important; /* Explicit distance from right edge */
    left: auto !important;
    z-index: 999 !important;
    /* Remove float and margin properties that aren't needed with fixed positioning */
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    will-change: transform !important;
    backface-visibility: hidden !important;
    isolation: isolate !important;
    contain: layout style paint !important;
}

.chat-button {
    display: flex !important;
    align-items: center !important;
    gap: 0.8rem !important;
    background: var(--gradient-1) !important;
    color: var(--light-text) !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 50px !important;
    box-shadow: 0 5px 20px rgba(67, 97, 238, 0.3) !important;
    transition: var(--transition) !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.chat-button:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.4) !important;
    color: var(--light-text) !important;
}

.chat-button i {
    font-size: 1.2rem;
}

/* Mobile Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 4rem 0 2rem;
    }
    
    .footer-grid {
        gap: 2rem;
    }
    
    .footer-info {
        max-width: 100%;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
        width: 100%;
    }

    .price-highlight {
        font-size: 95%;
        padding: 0 3px;
        margin-top: 10px; /* More space on mobile */
    }
    
    .price-highlight::after {
        top: -20px;
        font-size: 9px;
        background-color: rgba(0, 0, 0, 0.8);
        color: #FFD700;
        -webkit-text-fill-color: #FFD700;
        font-weight: 700;
        padding: 3px 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    }
}

/* Price Highlight Styling */
.price-highlight {
    position: relative;
    font-weight: 800;
    color: #FFD700;
    display: inline-block;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    background: linear-gradient(to right, #FFD700, #FFA500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 5px;
    animation: priceGlow 2s infinite alternate, pricePulse 1s infinite alternate;
    z-index: 2;
    margin-top: 6px; /* Added space for the label */
}

.price-highlight::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FFD700, #FF8C00, #FFD700);
    border-radius: 6px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(6px);
    animation: rotateGradient 2s linear infinite;
}

.price-highlight::after {
    content: "LIMITED TIME";
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif; /* Using web-safe fonts */
    color: #FFD700;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 3px 8px;
    border-radius: 10px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-shadow: none;
    -webkit-text-fill-color: #FFD700; /* Ensuring text is gold */
    animation: labelFade 4s infinite;
    z-index: 3;
    border: 1px solid rgba(255, 215, 0, 0.3); /* Adding border for visibility */
}

@keyframes priceGlow {
    0% {
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    }
    100% {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.9), 0 0 30px rgba(255, 165, 0, 0.7);
    }
}

@keyframes pricePulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

@keyframes rotateGradient {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

@keyframes labelFade {
    0%, 20% {
        opacity: 0;
    }
    25%, 75% {
        opacity: 1;
    }
    80%, 100% {
        opacity: 0;
    }
}
/* Add this after your existing .accessibility-container styles */

.accessibility-toggle {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.accessibility-toggle:hover {
    transform: scale(1.1);
}

.accessibility-menu {
    position: fixed;
    bottom: 60px;
    right: 0;
    width: 280px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding: 1rem;
    /* display: none; Force hide by default */
    transform: translateY(10px);
    /* transition: opacity 0.3s ease, transform 0.3s ease; */
}

.accessibility-container .accessibility-menu.active {
    display: block ; /* More specific selector */
    /* opacity: 1; */
    transform: translateY(0) ;
}

.accessibility-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.accessibility-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.accessibility-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #666;
}

.accessibility-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.accessibility-option {
    padding: 0.75rem;
    border: 1px solid #eee;
    border-radius: 5px;
    background: #f9f9f9;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
}

.accessibility-option:hover {
    background: #f0f0f0;
    border-color: var(--primary-color);
}

.accessibility-option i {
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

/* Prevent body filters from affecting fixed positioned elements */
body.accessibility-high-contrast .accessibility-container,
body.accessibility-grayscale .accessibility-container,
body.accessibility-dyslexia-font .accessibility-container {
    position: fixed !important;
    bottom: 6rem !important;
    right: 20px !important;
    z-index: 9999 !important;
    isolation: isolate !important;
    filter: none !important;
}

body.accessibility-high-contrast .chat-widget,
body.accessibility-grayscale .chat-widget,
body.accessibility-dyslexia-font .chat-widget {
    position: fixed !important;
    bottom: 2rem !important;
    right: 20px !important;
    z-index: 999 !important;
    isolation: isolate !important;
    filter: none !important;
}

/* Mobile responsive adjustments */
@media (max-width: 576px) {
    .accessibility-container {
        bottom: 5rem !important;
        right: 20px !important;
    }
    .accessibility-toggle {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    .accessibility-menu {
        width: 260px;
        right: 0;
    }
    
    /* Ensure mobile positioning is also maintained with filters */
    body.accessibility-high-contrast .accessibility-container,
    body.accessibility-grayscale .accessibility-container,
    body.accessibility-dyslexia-font .accessibility-container {
        bottom: 5rem !important;
        right: 20px !important;
    }
}

/* Accessibility classes that will be toggled */
body.accessibility-increased-text {
    font-size: 120% !important;
}

body.accessibility-high-contrast {
    filter: contrast(150%) !important;
}

body.accessibility-grayscale {
    filter: grayscale(100%) !important;
}

body.accessibility-dyslexia-font * {
    font-family: 'OpenDyslexic', 'Comic Sans MS', 'Arial', sans-serif !important;
    letter-spacing: 0.5px !important;
    word-spacing: 1px !important;
    line-height: 1.4 !important;
}