/* DentaSmart Website - Enhanced Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --teal: #0ea5a6;
    --teal-dark: #0f766e;
    --teal-light: #ecfeff;
    --teal-gradient: linear-gradient(135deg, #0ea5a6 0%, #0f766e 100%);
    --ink: #0f172a;
    --muted: #475569;
    --light-gray: #64748b;
    --bg-white: #ffffff;
    --bg-soft: #f8fafc;
    --bg-light: #f1f5f9;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
    --border-radius: 1.2rem;
    --border-radius-sm: 0.8rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* { 
    box-sizing: border-box; 
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

.container { 
    max-width: 1200px; 
    margin-inline: auto; 
    padding: 0 1.5rem; 
}

/* Enhanced Header & Navigation */
header.sticky { 
    position: sticky; 
    top: 0; 
    width: 100%; 
    backdrop-filter: saturate(180%) blur(20px); 
    background-color: rgba(255, 255, 255, 0.9); 
    border-bottom: 1px solid var(--border-light); 
    z-index: 50; 
    transition: var(--transition);
}

header.sticky.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

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

.logo { 
    font-weight: 800; 
    font-size: 1.75rem; 
    color: var(--ink); 
    text-decoration: none;
    transition: var(--transition-fast);
}

.logo:hover {
    transform: scale(1.02);
}

.logo .accent { 
    color: var(--teal); 
}

.nav-links { 
    display: flex; 
    align-items: center; 
    gap: 2rem; 
}

.nav-links a { 
    text-decoration: none; 
    color: var(--ink); 
    font-weight: 500; 
    font-size: 0.95rem; 
    transition: var(--transition); 
    position: relative; 
    padding: 0.75rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal-gradient);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover { 
    color: var(--teal); 
}

.nav-links a.active { 
    color: var(--teal-dark); 
    font-weight: 600; 
}

/* Enhanced Buttons */
.btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 0.5rem; 
    border-radius: var(--border-radius-sm); 
    padding: 1rem 1.5rem; 
    font-weight: 600; 
    font-size: 0.95rem;
    border: 2px solid transparent; 
    text-decoration: none; 
    transition: var(--transition); 
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.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: var(--transition);
}

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

.btn-primary { 
    background: var(--teal-gradient);
    color: #fff; 
    box-shadow: var(--shadow-md);
}

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

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

.btn-secondary:hover { 
    background-color: var(--bg-soft); 
    border-color: var(--teal);
    color: var(--teal);
    transform: translateY(-1px);
}

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

.btn-outline:hover {
    background-color: var(--teal);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Enhanced Typography */
section { 
    padding: 6rem 0; 
}

.hero { 
    padding-top: 6rem; 
    padding-bottom: 8rem; 
    background: linear-gradient(135deg, var(--teal-light) 0%, var(--bg-white) 50%, var(--bg-soft) 100%);
    text-align: center; 
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(14, 165, 166, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

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

.hero h1 { 
    font-size: clamp(2.5rem, 5vw, 4rem); 
    line-height: 1.1; 
    margin: 0 auto 1.5rem; 
    font-weight: 800; 
    max-width: 900px;
    background: linear-gradient(135deg, var(--ink) 0%, var(--teal-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .lead { 
    font-size: 1.25rem; 
    color: var(--muted); 
    max-width: 700px; 
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero .compliance-note { 
    font-size: 0.85rem; 
    color: var(--light-gray); 
    margin-top: 2rem; 
}

.hero-buttons { 
    display: flex; 
    gap: 1.5rem; 
    justify-content: center; 
    flex-wrap: wrap; 
}

h1 .accent { 
    color: var(--teal); 
}

h2 { 
    font-size: clamp(2rem, 4vw, 3rem); 
    font-weight: 800; 
    line-height: 1.2; 
    margin-top: 0; 
    margin-bottom: 1.5rem; 
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--ink);
}

.section-subtitle { 
    font-size: 1.2rem; 
    color: var(--muted); 
    max-width: 800px; 
    margin: 0 auto 4rem; 
    text-align: center;
    line-height: 1.7;
}

/* Enhanced Grid & Cards */
.grid { 
    display: grid; 
    gap: 2rem; 
}

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

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

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

.align-center { 
    align-items: center; 
}

.card { 
    border: 1px solid var(--border-color); 
    border-radius: var(--border-radius); 
    background-color: var(--bg-white); 
    box-shadow: var(--shadow-sm); 
    padding: 2rem; 
    transition: var(--transition); 
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--teal-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.card:hover { 
    transform: translateY(-8px); 
    box-shadow: var(--shadow-xl);
    border-color: var(--teal-light);
}

.card h3 { 
    font-size: 1.35rem; 
    margin-top: 0; 
    margin-bottom: 1rem;
    color: var(--ink);
}

.card p { 
    color: var(--muted); 
    line-height: 1.7; 
    margin: 0; 
}

.card ul { 
    list-style-position: outside; 
    padding-left: 1.5rem; 
    color: var(--muted);
    line-height: 1.7;
}

.card ul li { 
    margin-bottom: 0.75rem; 
}

/* Feature Cards */
.feature-card { 
    text-align: center; 
    padding: 2.5rem 2rem;
}

.feature-icon { 
    font-size: 3rem; 
    line-height: 1; 
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Problem/Solution Cards */
.problem-card {
    background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
    border-left: 4px solid #ef4444;
}

.solution-card {
    background: linear-gradient(135deg, var(--teal-light) 0%, #fff 100%);
    border-left: 4px solid var(--teal);
}

/* Enhanced Waitlist Section */
#waitlist { 
    background: var(--teal-gradient);
    color: #fff; 
    position: relative;
    overflow: hidden;
}

#waitlist::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

#waitlist * {
    position: relative;
    z-index: 1;
}

#waitlist h2 { 
    color: #fff; 
}

#waitlist .section-subtitle { 
    color: rgba(255,255,255,0.9); 
}

.waitlist-form { 
    max-width: 500px; 
    margin: 3rem auto 0; 
    display: flex; 
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.waitlist-form input { 
    flex: 1;
    padding: 1rem 1.5rem; 
    border-radius: var(--border-radius-sm); 
    border: 2px solid transparent; 
    font-size: 1rem; 
    font-family: inherit;
    background: rgba(255, 255, 255, 0.95);
    transition: var(--transition);
}

.waitlist-form input:focus {
    outline: none;
    border-color: var(--teal-dark);
    background: white;
}

.waitlist-form .btn { 
    flex-shrink: 0; 
    background-color: var(--bg-white); 
    color: var(--teal-dark);
    border: 2px solid transparent;
}

.waitlist-form .btn:hover {
    background-color: var(--teal-dark);
    color: white;
}

/* Enhanced Pricing */
.pricing-toggle { 
    display: flex; 
    justify-content: center; 
    margin-bottom: 3rem; 
    align-items: center; 
    gap: 1.5rem;
    background: var(--bg-soft);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.toggle-switch { 
    position: relative; 
    display: inline-block; 
    width: 60px; 
    height: 34px; 
}

.toggle-switch input { 
    opacity: 0; 
    width: 0; 
    height: 0; 
}

.slider { 
    position: absolute; 
    cursor: pointer; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    background-color: #ccc; 
    transition: .4s; 
    border-radius: 34px; 
}

.slider:before { 
    position: absolute; 
    content: ""; 
    height: 26px; 
    width: 26px; 
    left: 4px; 
    bottom: 4px; 
    background-color: white; 
    transition: .4s; 
    border-radius: 50%; 
    box-shadow: var(--shadow-sm);
}

input:checked + .slider { 
    background: var(--teal-gradient);
}

input:checked + .slider:before { 
    transform: translateX(26px); 
}

.toggle-label { 
    font-weight: 600; 
    color: var(--muted); 
    transition: var(--transition);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
}

.toggle-label.active { 
    color: var(--ink);
    background: white;
    box-shadow: var(--shadow-sm);
}

.pricing-card { 
    border: 2px solid var(--border-color); 
    display: flex; 
    flex-direction: column; 
    text-align: left;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    border-color: var(--teal);
    transform: translateY(-5px);
}
.pricing-card:nth-child(3) h3{
    margin-top: 1rem;
}

.pricing-card h3 { 
    text-align: left; 
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-card .small {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-card .price { 
    font-size: 2.75rem; 
    font-weight: 800; 
    margin: 1.5rem 0;
    color: var(--teal-dark);
}

.pricing-card .price .term { 
    font-size: 1rem; 
    color: var(--muted); 
    font-weight: 400; 
}

.pricing-card .btn { 
    width: 100%; 
    margin-top: auto;
    margin-top: 2rem;
}

.pricing-card ul { 
    padding-left: 1.5rem; 
    flex-grow: 1;
    margin: 1rem 0;
}

.pricing-card ul li { 
    margin-bottom: 0.75rem; 
    line-height: 1.6; 
}

.pricing-card-highlight { 
    border-color: var(--teal); 
    transform: scale(1.05); 
    position: relative;
    background: linear-gradient(135deg, var(--teal-light) 0%, white 100%);
}

.highlight-banner { 
    position: absolute; 
    top: 3px; 
    left: 50%; 
    transform: translateX(-50%); 
    background: var(--teal-gradient);
    color: white; 
    padding: 0.5rem 1.5rem; 
    border-radius: 20px; 
    font-size: 0.85rem; 
    font-weight: 700;
    box-shadow: var(--shadow-md);
    z-index: 999;
    display: flex;
    white-space: nowrap;
    align-items: center;
    justify-content: space-between;
}
.anual-cost-comparison{
    background: white; border-radius: var(--border-radius); padding: 3rem; max-width: 800px; margin: 0 auto;
}
/* .price-individual, .price-family { 
    display: none; 
} */
 .price-individual{
    position: relative;
 }
.price-individual::before{
    position: absolute;
    content: '';
    top: 50%;
    left: -2%;
    color: #dc2626;
    font-weight: 300;
    width: 85px;
    height: 2px;
    background: #dc2626;
}
/* Comparison Table */
.comparison-table { 
    width: 100%; 
    margin-top: 4rem; 
    border-collapse: collapse;
    background: white;
    border-radius: var(--border-radius);
    overflow: auto;
    box-shadow: var(--shadow-md);
}

.comparison-table th, .comparison-table td { 
    padding: 1.5rem; 
    text-align: left; 
    border-bottom: 1px solid var(--border-color); 
}

.comparison-table th { 
    font-size: 1.1rem;
    background: var(--bg-soft);
    font-weight: 700;
}

.comparison-table td:first-child { 
    font-weight: 600; 
}

.comparison-table .check { 
    color: var(--teal); 
    font-size: 1.5rem; 
    text-align: center; 
}

.comparison-table .dash { 
    color: #94a3b8; 
    text-align: center; 
}

/* FAQ Styles */
.faq-item { 
    border: 1px solid var(--border-color); 
    border-radius: var(--border-radius); 
    padding: 2rem; 
    margin-bottom: 1.5rem;
    background: white;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--teal-light);
}

.faq-item h3 { 
    margin: 0 0 1rem 0;
    color: var(--ink);
}

.faq-item p {
    line-height: 1.7;
    color: var(--muted);
}

/* Footer */
footer { 
    border-top: 1px solid var(--border-color); 
    padding: 4rem 0 2rem; 
    font-size: 0.9rem;
    background: var(--bg-soft);
}

.footer-grid { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr 1fr; 
    gap: 3rem; 
    margin-bottom: 3rem;
}

.footer-grid .logo-column p { 
    color: var(--muted); 
    font-size: 0.9rem; 
    line-height: 1.7;
    margin-top: 1rem;
}

.footer-grid h4 { 
    margin-top: 0; 
    margin-bottom: 1.5rem;
    color: var(--ink);
    font-weight: 700;
}

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

.footer-grid ul li { 
    margin-bottom: 0.75rem; 
}

.footer-grid ul a { 
    text-decoration: none; 
    color: var(--muted); 
    transition: var(--transition);
    font-weight: 500;
}

.footer-grid ul a:hover { 
    color: var(--teal); 
}

.footer-bottom { 
    padding-top: 2rem; 
    border-top: 1px solid var(--border-color); 
    text-align: center; 
    font-size: 0.85rem; 
    color: var(--muted); 
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .grid-4 { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .pricing-card-highlight { 
        transform: scale(1.02); 
    }
}

@media (max-width: 768px) {
    .nav-links { 
        display: none; 
    }
    
    .grid-2, .grid-3, .grid-4 { 
        grid-template-columns: 1fr; 
    }
    
    .hero { 
        padding-top: 4rem; 
        padding-bottom: 5rem; 
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .waitlist-form { 
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-grid { 
        grid-template-columns: 1fr; 
        text-align: center;
        gap: 2rem;
    }
    
    .pricing-card-highlight { 
        transform: scale(1); 
    }
    
    section {
        padding: 4rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    .anual-cost-comparison{
        padding: 1rem !important;
    }
    .coming-soon-section{
        padding: 2rem 0px !important;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .lead {
        font-size: 1.1rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .pricing-card .price {
        font-size: 2.25rem;
    }
}


/* Coming Soon Styles */
.coming-soon-tag {
    background: #f3f4f6;
    color: #6b7280;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 0.5rem;
    display: inline-block;
    white-space: nowrap;
}

.coming-soon-note {
    color: #6b7280;
    font-style: italic;
    font-size: 0.9rem;
    margin-top: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: var(--border-radius);
    border-left: 3px solid #d1d5db;
}

/* Logo styles */
.logo img {
    height: 40px;
    width: auto;
}

/* Additional responsive adjustments for coming soon tags */
@media (max-width: 768px) {
    .coming-soon-tag {
        display: block;
        margin-left: 0.5rem;
        margin-top: 0.5rem;
        width: fit-content;
    }
    .pricing-card:nth-child(3) h3{
        margin-top: 3rem !important;
    }
}


/* Feature page specific styles */
.feature-block {
    margin-bottom: 4rem;
}

.feature-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.reverse-grid {
    direction: rtl;
}

.reverse-grid > * {
    direction: ltr;
}

.feature-content {
    padding: 1rem;
}

.feature-content h2 {
    color: var(--teal-dark);
    margin-bottom: 1rem;
}

.feature-content .lead {
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.feature-content ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-content ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--muted);
}

.feature-content ul li:last-child {
    border-bottom: none;
}

.feature-content ul li strong {
    color: var(--ink);
}

@media (max-width: 768px) {
    .reverse-grid {
        direction: ltr;
    }
    
    .feature-block {
        margin-bottom: 3rem;
    }
    
    .feature-content {
        padding: 0;
        margin-top: 2rem;
    }
}



/* Coming Soon Section Styling */
.coming-soon-section {
    position: relative;
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.coming-soon-section::after {
    content: "Coming Soon!";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.2em;
    z-index: 10;
    white-space: nowrap;
}




.coming-soon-card {
    opacity: 0.6;
    pointer-events: none; /* Disable clicks */
    position: relative;
}

.coming-soon-card::after {
    content: "Coming Soon!";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.2em;
    z-index: 10;
    white-space: nowrap;
}



/* Coming Soon Card Styles */
.coming-soon-card {
    opacity: 0.6;
    position: relative;
}

.coming-soon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--border-radius);
    pointer-events: none;
    z-index: 1;
}

.coming-soon-section {
    opacity: 0.6;
    position: relative;
}

.coming-soon-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius);
    pointer-events: none;
    z-index: 1;
}



/* ========================================
   ADVANCED ANIMATIONS & COOL EFFECTS
   ======================================== */

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

/* Advanced fade-in animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

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

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

.animate-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.animate-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-scale.animate {
    opacity: 1;
    transform: scale(1);
}

/* Enhanced button animations */
.btn {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.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;
}

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

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(14, 165, 166, 0.3);
}

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

/* Card hover effects */
.card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 165, 166, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

/* Feature icon animations */
.feature-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
    animation: float 2s ease-in-out infinite;
}

/* Header scroll effects */
.sticky {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 0;
}

.sticky.scrolled {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Hero section animations */
.hero h1 {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero .lead {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-buttons .btn:first-child {
    animation: pulse 2s ease-in-out infinite;
}

/* Gradient text effect */
.gradient-text {
    background: var(--teal-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    background-size: 200% 100%;
}

/* Loading shimmer effect */
.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Testimonial card special effects */
.testimonial-card {
    position: relative;
    overflow: hidden;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(14, 165, 166, 0.1), transparent);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover::after {
    opacity: 1;
}

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

/* Pricing card special effects */
.pricing-card-highlight {
    position: relative;
    overflow: hidden;
}

.pricing-card-highlight::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--teal-gradient);
    border-radius: var(--border-radius);
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

/* Interactive elements */
.interactive-element {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-element:hover {
    transform: scale(1.02);
}

/* Progress indicators */
.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.progress-dot.active {
    background: var(--teal);
    transform: scale(1.3);
}

.progress-dot.active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid var(--teal);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* Stagger animation delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Parallax effect */
.parallax {
    transform: translateZ(0);
    transition: transform 0.1s ease-out;
}

/* Smooth transitions for all interactive elements */
a, button, input, select, textarea {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced focus states */
.btn:focus,
input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 165, 166, 0.3);
}

/* Mobile-specific animations */
@media (max-width: 768px) {
    .animate-on-scroll,
    .animate-left,
    .animate-right,
    .animate-scale {
        animation-duration: 0.6s;
    }
    
    .card:hover {
        transform: translateY(-4px);
    }
    
    .btn:hover {
        transform: translateY(-1px);
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* ========================================
   ADVANCED MOBILE OPTIMIZATION
   ======================================== */

/* Enhanced mobile-first responsive design */
@media (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
        line-height: 1.1;
    }
}

@media (max-width: 768px) {
    /* Mobile navigation enhancements */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-links.active {
        display: flex;
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links a {
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--ink);
        text-decoration: none;
        padding: 1rem 2rem;
        border-radius: var(--border-radius);
        transition: all 0.3s ease;
        transform: translateY(20px);
        opacity: 0;
        animation: slideInFromBottom 0.5s ease forwards;
    }
    
    .nav-links a:nth-child(1) { animation-delay: 0.1s; }
    .nav-links a:nth-child(2) { animation-delay: 0.2s; }
    .nav-links a:nth-child(3) { animation-delay: 0.3s; }
    .nav-links a:nth-child(4) { animation-delay: 0.4s; }
    .nav-links a:nth-child(5) { animation-delay: 0.5s; }
    .nav-links a:nth-child(6) { animation-delay: 0.6s; }
    .nav-links a:nth-child(7) { animation-delay: 0.7s; }
    
    .nav-links a:hover {
        background: var(--teal-light);
        color: var(--teal-dark);
        transform: translateY(0) scale(1.05);
    }
    
    /* Mobile hamburger menu */
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 1001;
        position: relative;
    }
    
    .hamburger {
        width: 24px;
        height: 18px;
        position: relative;
        transform: rotate(0deg);
        transition: 0.3s ease-in-out;
    }
    
    .hamburger span {
        display: block;
        position: absolute;
        height: 2px;
        width: 100%;
        background: var(--ink);
        border-radius: 2px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: 0.3s ease-in-out;
    }
    
    .hamburger span:nth-child(1) { top: 0px; }
    .hamburger span:nth-child(2) { top: 8px; }
    .hamburger span:nth-child(3) { top: 16px; }
    
    .hamburger.active span:nth-child(1) {
        top: 8px;
        transform: rotate(135deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
        left: -60px;
    }
    
    .hamburger.active span:nth-child(3) {
        top: 8px;
        transform: rotate(-135deg);
    }
    
    /* Mobile layout adjustments */
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero {
        padding: 6rem 0 4rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero .lead {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    /* Mobile card optimizations */
    .card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-card .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    /* Mobile typography */
    h2 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    h3 {
        font-size: 1.3rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    /* Mobile spacing */
    section {
        padding: 4rem 0;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    /* Mobile-specific animations */
    .animate-on-scroll,
    .animate-left,
    .animate-right {
        transform: translateY(20px);
    }
    
    .animate-on-scroll.animate,
    .animate-left.animate,
    .animate-right.animate {
        transform: translateY(0);
    }
    
    /* Touch-friendly interactions */
    .btn, .card, a {
        -webkit-tap-highlight-color: rgba(14, 165, 166, 0.2);
        touch-action: manipulation;
    }
    
    /* Mobile form optimizations */
    input, textarea, select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 1rem;
        border-radius: var(--border-radius-sm);
    }
    
    /* Mobile footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-grid h4 {
        margin-bottom: 1rem;
        color: var(--teal-dark);
    }
    
    .footer-grid ul {
        list-style: none;
        padding: 0;
    }
    
    .footer-grid li {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile devices */
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .lead {
        font-size: 1rem;
    }
    
    .card {
        padding: 1.5rem 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Compact pricing cards */
    .pricing-card .price {
        font-size: 2rem;
        margin: 1rem 0;
    }
    
    .pricing-card ul {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Mobile testimonials */
    .testimonial-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .testimonial-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* Landscape mobile optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        padding: 2rem;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 0.75rem 1.5rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .feature-icon {
        image-rendering: auto;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --ink: #f8fafc;
        --muted: #94a3b8;
        --bg-white: #0f172a;
        --bg-soft: #1e293b;
        --bg-light: #334155;
        --border-color: #475569;
    }
    
    .sticky.scrolled {
        background: rgba(15, 23, 42, 0.95);
    }
    
    .card {
        background: var(--bg-soft);
        border: 1px solid var(--border-color);
    }
    
    .nav-links {
        background: rgba(15, 23, 42, 0.98);
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .parallax {
        transform: none !important;
    }
    
    .card:hover {
        transform: translateY(-2px);
    }
    
    .btn:hover {
        transform: translateY(-1px);
    }
    
    .animate-on-scroll,
    .animate-left,
    .animate-right,
    .animate-scale {
        opacity: 1;
        transform: none;
    }
}

/* Print styles */
@media print {
    .nav, .btn, .hero-buttons, footer {
        display: none;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    section {
        padding: 1rem 0;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

/* Focus management for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--teal);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Enhanced mobile performance */
@media (max-width: 768px) {
    * {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .card, .btn {
        will-change: transform;
    }
    
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
}


/* ========================================
   ACCESSIBILITY & SEO ENHANCEMENTS
   ======================================== */

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--teal);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    transition: top 0.3s;
    font-weight: 600;
}

.skip-link:focus {
    top: 6px;
}

/* Enhanced focus indicators */
*:focus {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 165, 166, 0.3);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --teal: #0d7377;
        --teal-dark: #0a5d61;
        --ink: #000000;
        --muted: #333333;
        --border-color: #666666;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
    
    .card {
        border: 2px solid var(--border-color);
    }
}

/* Reduced transparency for better readability */
@media (prefers-reduced-transparency: reduce) {
    .sticky.scrolled {
        background: rgba(255, 255, 255, 1);
    }
    
    .nav-links {
        background: rgba(255, 255, 255, 1);
    }
}

/* Performance optimizations */
.card, .btn, .feature-icon {
    contain: layout style paint;
}

/* Critical resource hints */
.hero {
    contain: layout;
}

/* Lazy loading support */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Print optimizations */
@media print {
    .hero-buttons,
    .mobile-menu-toggle,
    .nav-links,
    footer {
        display: none !important;
    }
    
    .hero {
        padding: 1rem 0;
    }
    
    .card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    * {
        color: #000 !important;
        background: #fff !important;
    }
}

/* Performance monitoring */
.performance-marker {
    display: none;
}

/* Content loading states */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 1.5s infinite;
}

/* Error states */
.error {
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 1rem;
    border-radius: var(--border-radius);
}

/* Success states */
.success {
    color: #16a34a;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 1rem;
    border-radius: var(--border-radius);
}

/* Form validation styles */
input:invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

input:valid {
    border-color: #16a34a;
}

/* Loading spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--teal);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 0.5rem;
}

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

/* Tooltip styles */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: white;
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 1000;
}

.tooltip:hover::after {
    opacity: 1;
}

/* Notification styles */
.notification {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: var(--teal);
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

/* Progress bar */
.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--teal);
    transition: width 0.3s ease;
}

/* Breadcrumb navigation */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--muted);
}

.breadcrumb a {
    color: var(--teal);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    color: var(--border-color);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--teal);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

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

.back-to-top:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
}

/* Cookie consent banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ink);
    color: white;
    padding: 1rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.cookie-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.875rem;
}

.cookie-banner .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .cookie-banner .container {
        flex-direction: column;
        text-align: center;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
    
    .notification {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        transform: translateY(-100%);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

#waitlistMessage{
    text-align: center;
    padding-top: 1rem;
}
#demoMessage p.text-light{
    color:rgba(var(--bs-success-rgb), var(--bs-text-opacity)) !important;
}