:root {
    --primary-color: #006A4E;
    --primary-dark: #004D3A;
    --primary-light: #008B5A;
    --secondary-color: #DFFF00;
    --secondary-dark: #CCFF00;
    --accent-color: #003366;
    --accent-light: #08365F;
    --clay-color: #A0522D;
    --success-color: #22C55E;
    --warning-color: #F59E0B;
    --danger-color: #EF4444;
    --light-color: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-600: #475569;
    --gray-800: #1E293B;
    --dark-color: #0F172A;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #006A4E 0%, #004D3A 100%);
    --gradient-secondary: linear-gradient(135deg, #DFFF00 0%, #CCFF00 100%);
    --gradient-accent: linear-gradient(135deg, #003366 0%, #08365F 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
}

/* Navbar Styles */
.navbar {
    padding: 15px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    min-height: 70px;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    min-height: 60px;
}

.navbar.scrolled .navbar-nav .nav-link {
    color: var(--gray-800) !important;
}

.navbar-brand img {
    height: 40px;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
    height: 35px;
}

.navbar-toggler {
    padding: 8px 12px;
    font-size: 1.1rem;
    border: none !important;
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.nav-link {
    font-weight: 500;
    color: var(--white) !important;
    transition: all 0.3s ease;
    position: relative;
    padding: 12px 16px !important;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Navbar Login Button */
#navbar-login-btn {
    font-weight: 500 !important;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    background: transparent !important;
    color: var(--white) !important;
    text-decoration: none;
    min-height: 44px !important;
    white-space: nowrap;
    transform: none !important;
    box-shadow: none !important;
    vertical-align: middle;
    line-height: 1.5 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    top: 0 !important;
    bottom: auto !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

#navbar-login-btn i,
#navbar-login-btn span {
    position: relative !important;
    top: 0 !important;
    transform: none !important;
    vertical-align: baseline !important;
    line-height: inherit !important;
    transition: none !important;
}

#navbar-login-btn *,
#navbar-login-btn::before,
#navbar-login-btn::after {
    transform: none !important;
    position: static !important;
    vertical-align: baseline !important;
}

#navbar-login-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--white) !important;
    color: var(--white) !important;
    transform: none !important;
    box-shadow: none !important;
}

#navbar-login-btn:focus {
    transform: none !important;
    box-shadow: none !important;
    outline: none !important;
}

#navbar-login-btn:active {
    transform: none !important;
    box-shadow: none !important;
}

.navbar.scrolled #navbar-login-btn {
    border-color: var(--gray-600) !important;
    color: var(--gray-800) !important;
    transform: none !important;
}

.navbar.scrolled #navbar-login-btn:hover {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: var(--gray-800) !important;
    color: var(--gray-800) !important;
    transform: none !important;
}

.navbar.scrolled #navbar-login-btn:focus,
.navbar.scrolled #navbar-login-btn:active {
    transform: none !important;
    box-shadow: none !important;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23DFFF00' fill-opacity='0.03'%3E%3Cpath d='M40 40c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20zm20 0c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.0rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.btn-hero {
    padding: 16px 16px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-primary-hero {
    background: var(--gradient-secondary);
    color: var(--accent-color);
    border: none;
}

.btn-outline-hero {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-hero:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: var(--white);
}

/* Section Styles */
.section-padding {
    padding: 120px 0;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 4rem;
    line-height: 1.6;
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-200);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--white);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: var(--gradient-accent);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 16px;
    text-align: center;
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
    padding: 100px 0;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23006A4E' fill-opacity='0.02'%3E%3Cpath d='M50 50m-40 0a40,40 0 1,1 80,0a40,40 0 1,1 -80,0'/%3E%3C/g%3E%3C/svg%3E") repeat;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    position: relative;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* About Section */
.about-section {
    padding: 120px 0;
}

.about-section .img-fluid {
    max-width: 450px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

@media (max-width: 575px) {
    .about-section .img-fluid {
        max-width: 100%;
        width: 100%;
        height: auto;
    }
}

.about-highlight {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 3px 12px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
}

.about-feature {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.about-feature:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.about-feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-accent);
    padding: 120px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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='%23DFFF00' fill-opacity='0.05'%3E%3Cpath d='M30 30c0-8.284-6.716-15-15-15s-15 6.716-15 15 6.716 15 15 15 15-6.716 15-15zm15 0c0-8.284-6.716-15-15-15s-15 6.716-15 15 6.716 15 15 15 15-6.716 15-15z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 40px 0 10px;
}

.footer-brand {
    margin-bottom: 24px;
}

.footer-description {
    color: var(--gray-300);
    margin-bottom: 24px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20pt;
}

.footer-social a:hover {
    background: var(--gradient-secondary);
    color: var(--accent-color);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-link {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 5px;
}

.footer-link:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid var(--gray-600);
    margin-top: 10px;
    padding-top: 10px;
}

/* Hero Image Responsive Design */
.hero-section .hero-image {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
    transform: scale(1);
}

.hero-section .hero-image:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.3)) !important;
}

/* Smooth viewport scaling animation */
@keyframes heroImageScale {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.hero-section .hero-image {
    animation: heroImageScale 0.8s ease-out;
}

/* Mobile devices */
/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
    .hero-section {
        min-height: 100vh;
        padding: 100px 0 50px 0;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-section .hero-image {
        max-width: 85%;
        height: auto;
        margin: 0 auto;
        animation-duration: 1s;
    }
    
    .btn-hero {
        padding: 14px 24px;
        font-size: 1rem;
        min-width: 140px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        justify-content: center;
    }
    
    .d-flex.flex-column.flex-sm-row {
        gap: 12px !important;
    }
    
    .tennis-ball {
        display: none;
    }
    
    .navbar-nav {
        padding: 1rem 0;
        text-align: center;
    }
    
    .navbar-nav .nav-item {
        margin: 0;
    }
    
    #navbar-login-btn {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
        justify-content: center;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
        padding: 2rem 1.5rem;
    }
    
    .stats-section .row {
        gap: 1rem 0;
    }
    
    .stat-item {
        margin-bottom: 1rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 768px) {
    .hero-section {
        padding: 90px 0 40px 0;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-section .hero-image {
        max-width: 85%;
        height: auto;
        animation-duration: 0.9s;
    }
    
    .btn-hero {
        width: auto;
        min-width: 150px;
        justify-content: center;
    }
    
    .tennis-ball {
        display: block;
    }
}

/* Medium tablets */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section .hero-image {
        max-width: 85%;
        height: 100%;
        animation-duration: 0.8s;
    }
}

/* Desktop */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-section .hero-image {
        max-width: 80%;
        height: 100%;
        animation-duration: 0.7s;
    }
}

/* Large desktop */
@media (min-width: 1200px) {
    .hero-section .hero-image {
        max-width: 75%;
        height: 100%;
        animation-duration: 0.6s;
    }
}

/* Extra large screens */
@media (min-width: 1400px) {
    .hero-section .hero-image {
        max-width: 70%;
        height: 100%;
    }
}

/* Height-based adjustments */
@media (max-height: 600px) {
    .hero-section {
        height: 600px;
        padding: 0.5rem 0;
    }
    
    .hero-section .hero-image {
        height: 600px;
    }
}

@media (min-height: 900px) {
    .hero-section {
        height: 100vh;
    }
    
    .hero-section .hero-image {
        height: 100%;
    }
}

@media (min-height: 1200px) {
    .hero-section {
        height: 100vh;
    }
    
    .hero-section .hero-image {
        height: 100vh;
    }
}

/* Medium devices (tablets, up to 768px) */
@media (max-width: 768px) {
    .hero-section {
        padding: 90px 0 40px 0;
    }
    
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.1;
    }
    
    .section-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .cta-title {
        font-size: 2.4rem;
        line-height: 1.2;
    }
    
    .feature-card {
        margin-bottom: 2rem;
        padding: 2.5rem 2rem;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .hero-section .hero-image {
        margin-top: 2rem;
        max-width: 85%;
    }
    
    .footer .col-lg-4, 
    .footer .col-lg-2 {
        margin-bottom: 2rem;
    }
    
    .about-feature {
        margin-bottom: 1.5rem;
    }
}

/* Touch-friendly improvements for all mobile devices */
@media (max-width: 991.98px) {
    .nav-link {
        padding: 5px 20px !important;
        min-height: 48px;
    }
    
    .footer-link {
        padding: 0;
        display: block;
        min-height: 20px;
        line-height: 1.4;
    }
    
    .footer-social a {
        min-width: 48px;
        min-height: 48px;
        margin: 0 8px 8px 0;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .about-feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Bot Protection Styles */
#safe_contact_info {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
    pointer-events: none !important;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#safe_contact_info.loaded {
    opacity: 1;
}

#safe_contact_info::selection {
    background: transparent !important;
}

#safe_contact_info::-moz-selection {
    background: transparent !important;
}

#safe_contact_info * {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

/* Utility Classes */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-light-custom { background-color: var(--light-color); }

/* Pricing Section */
.pricing-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(13, 110, 253, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(40, 167, 69, 0.03) 0%, transparent 50%);
}

.pricing-section .container {
    position: relative;
}

/* Pricing Section Responsive */
@media (max-width: 768px) {
    .pricing-section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .pricing-section {
        padding: 50px 0;
    }
}

/* Pricing Section Cards Enhancement */
.pricing-section .plan-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.pricing-section .plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-section .plan-card:hover::before {
    opacity: 1;
}

.pricing-section .plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

/* Pricing Section Title Enhancement */
.pricing-section .section-title {
    position: relative;
    margin-bottom: 1rem;
}

.pricing-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Floating Elements */
.pricing-section::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pricing-float 8s ease-in-out infinite;
}

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

/* Popular Badge Enhancement */
.pricing-section .badge-popular {
    background: linear-gradient(45deg, #ff6b6b, #ffa726);
    color: white;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Responsive enhancements for pricing section */
@media (max-width: 768px) {
    .pricing-section .plan-card:hover {
        transform: translateY(-4px);
    }
    
    .pricing-section::after {
        display: none;
    }
}

/* Free Trial Enhancement Styles */
.free-trial-banner {
    background: linear-gradient(135deg, #004d3a 0%, #1aa179 100%);
    border-radius: 15px;
    animation: pulseGlow 3s ease-in-out infinite;
    will-change: transform, box-shadow;
    /* Slight overlay to reduce brightness on all devices */
    position: relative;
    overflow: hidden;
}
.free-trial-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.10);
    pointer-events: none;
    border-radius: 15px;
    z-index: 1;
}

.free-trial-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    border-radius: 20px;
    animation: bounceIn 0.8s ease-out;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.free-trial-hero-alert {
    background: linear-gradient(135deg, #004d3a 0%, #20c997 100%);
    animation: slideInUp 0.8s ease-out;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.2);
}

.free-trial-cta-alert {
    background: rgba(13, 202, 240, 0.1);
    animation: fadeInScale 1s ease-out;
}

.plan-card .free-trial-highlight {
    background: rgba(255, 193, 7, 0.1);
    border-radius: 25px;
    animation: shimmer 2s ease-in-out infinite;
}

/* Animations */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(40, 167, 69, 0.18);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 30px rgba(40, 167, 69, 0.28);
        transform: scale(1.015);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideInUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInScale {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
        background: rgba(255, 193, 7, 0.2);
    }
}

/* Enhanced Button Styles */
.btn-hero.btn-primary-hero {
    position: relative;
    overflow: hidden;
}

.btn-hero.btn-primary-hero::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;
}

.btn-hero.btn-primary-hero:hover::before {
    left: 100%;
}

/* Free Trial Badge Hover Effect */
.free-trial-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .free-trial-banner {
        padding: 1.5rem !important;
    }

    /* iOS-specific adjustment: tone down banner color and ensure animation runs smoothly */
    @media not all and (min-resolution:.001dpcm) {
      @supports (-webkit-touch-callout: none) {
        .free-trial-banner {
          background: linear-gradient(135deg, #004d3a 0%, #16896a 100%) !important;
        }
        .free-trial-banner::after {
          background: rgba(255,255,255,0.16);
        }
      }
    }
    
    .free-trial-hero-alert {
        font-size: 0.9rem;
        padding: 0.75rem 1rem !important;
    }
    
    .free-trial-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem !important;
    }
}

/* Floating Free Trial Button */
.floating-free-trial-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: floatIn 1s ease-out 2s both;
}

.floating-free-trial-btn .btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-free-trial-btn .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.4);
    animation: none;
}

.floating-free-trial-btn .btn:active {
    transform: translateY(-1px) scale(1.02);
}

@keyframes floatIn {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    }
    50% {
        box-shadow: 0 6px 25px rgba(40, 167, 69, 0.5);
    }
}

/* Hide floating button on mobile and when pricing section is visible */
@media (max-width: 767.98px) {
    .floating-free-trial-btn {
        display: none !important;
    }
}

/* Hide when pricing section is in view */
.pricing-section-visible .floating-free-trial-btn {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Top Notification Banner */
.top-notification-banner {
    background: linear-gradient(90deg, #ffc107 0%, #fd7e14 100%);
    animation: slideDownBanner 0.5s ease-out;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-notification-banner .btn {
    transition: all 0.2s ease;
}

.top-notification-banner .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@keyframes slideDownBanner {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Navbar adjustments for top banner */
.navbar.with-top-banner {
    top: 42px;
}

.navbar.scrolled.with-top-banner {
    top: 0;
    transition: top 0.3s ease;
}

/* Hero section adjustment for top banner */
.hero-section.with-top-banner {
    padding-top: 42px;
}

/* Mobile adjustments for top banner */
@media (max-width: 768px) {
    .top-notification-banner {
        font-size: 0.8rem !important;
        padding: 0.5rem 0 !important;
    }
    
    .top-notification-banner .btn {
        font-size: 0.7rem;
        padding: 0.25rem 0.75rem !important;
    }
    
    .navbar.with-top-banner {
        top: 38px;
    }
    
    .hero-section.with-top-banner {
        padding-top: 38px;
    }
}

@media (max-width: 576px) {
    .top-notification-banner .btn {
        display: none;
    }
}