/* ClinicMGMT - V3 Soft Healthcare */

:root {
    --primary: #6DB5AE;
    --primary-dark: #5CA49D;
    --primary-soft: #E0F0EE;
    --primary-glow: rgba(109, 181, 174, 0.25);
    --text: #2D3748;
    --text-soft: #718096;
    --bg: #F5F9F8;
    --white: #FFFFFF;
    --border: #D4E5E3;
    --font: 'Montserrat', -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.7;
    background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--primary-glow), 0 4px 12px rgba(0,0,0,0.1);
}

.btn-soft {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.btn-soft:hover {
    background: #D8F0ED;
}

.btn-white {
    background: white;
    color: var(--text);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.btn-white:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Header */
.header {
    position: fixed;
    top: 16px;
    left: 16px;
    right: 16px;
    z-index: 100;
    background: var(--white);
    border-radius: 100px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 24px;
}

.logo {
    font-size: 20px;
    font-weight: 400;
    color: var(--text);
}

.logo-script {
    font-family: 'Ephesis', cursive;
    font-weight: 700;
    font-size: 34px;
}

.logo-mgmt {
    font-weight: 500;
    font-size: 18px;
}

.logo img { height: 40px; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; gap: 32px; }

.nav-link {
    color: var(--text-soft);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover { color: var(--primary); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 88px;
    left: 16px;
    right: 16px;
    background: var(--white);
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
    z-index: 99;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu .nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.mobile-menu .nav-link {
    display: block;
    padding: 12px 16px;
    border-radius: 12px;
    transition: background 0.2s;
}

.mobile-menu .nav-link:hover {
    background: var(--bg);
}

.mobile-menu .nav-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu .btn {
    width: 100%;
}

/* Hero */
.hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    background: var(--white);
}

.hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 32px;
    background: var(--primary-soft);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary);
}

.hero h1 {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text);
}

.hero h1 span { color: var(--primary); }

.hero p:not(.hero-subtext) {
    font-size: 18px;
    color: var(--text-soft);
    max-width: 540px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-subtext {
    display: inline-block;
    font-size: 14px;
    color: var(--primary-dark);
    background: var(--primary-soft);
    padding: 8px 24px;
    border-radius: 100px;
    margin-top: 40px;
    margin-bottom: 0;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.hero-image {
    max-width: 990px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
}

/* Section */
.section {
    padding: 100px 0;
}

.section:nth-of-type(odd) {
    background: var(--white);
}

.section:nth-of-type(even) {
    background: var(--bg);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 17px;
    color: var(--text-soft);
    max-width: 500px;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
    background: var(--white);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px var(--primary-glow), 0 8px 16px rgba(0,0,0,0.06);
    border-color: var(--primary);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--primary-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-soft);
}

/* Split Section */
.split {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
}

.split-content .section-tag {
    margin-bottom: 12px;
}

.split-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.split-content p {
    font-size: 16px;
    color: var(--text-soft);
    margin-bottom: 24px;
    line-height: 1.8;
}

.split-image img {
    width: 100%;
    transition: transform 0.3s;
}

.split-image img:hover {
    transform: scale(1.75);
}

/* Check List */
.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 15px;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--primary);
}

/* Support Cards */
.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.support-card {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.support-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px var(--primary-glow), 0 8px 16px rgba(0,0,0,0.06);
    border-color: var(--primary);
}

.support-card-image {
    margin-bottom: 32px;
    padding: 24px;
    background: var(--bg);
    border-radius: 20px;
}

.support-card-image img {
    max-height: 220px;
    margin: 0 auto;
}

.support-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.support-card p {
    font-size: 16px;
    color: var(--text-soft);
    line-height: 1.7;
}

/* Pricing */
.pricing-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pricing-subtitle {
    font-size: 16px;
    color: var(--text-soft);
    margin-bottom: 48px;
}

.pricing-grid-simple {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.pricing-card-simple {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.pricing-card-simple:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px var(--primary-glow), 0 8px 16px rgba(0,0,0,0.08);
}

.pricing-card-simple .pricing-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    height: 64px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    line-height: 1.2;
    margin-bottom: 16px;
}

.pricing-desc {
    font-size: 12px;
    color: var(--text-soft);
    height: 56px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5;
    padding: 0 8px;
}

.pricing-card-simple .pricing-price {
    margin-bottom: 28px;
}

.pricing-card-simple .pricing-price .currency {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}

.pricing-card-simple .pricing-price .amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.pricing-card-simple .pricing-price .period {
    font-size: 13px;
    color: var(--text-soft);
}

.pricing-card-simple .btn {
    padding: 10px 16px;
    font-size: 13px;
    margin-top: auto;
}

/* CTA */
.cta {
    background: var(--white);
    border-radius: 32px;
    padding: 80px;
    text-align: center;
    box-shadow: 0 8px 40px var(--primary-glow), 0 4px 16px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
}

.cta h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta p {
    color: var(--text-soft);
    font-size: 17px;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Page Hero */
.page-hero {
    padding: 140px 0 60px;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 17px;
    color: var(--text-soft);
    max-width: 540px;
    margin: 0 auto;
}

/* Feature Detail Sections */
.feature-detail {
    padding: 100px 0;
}

.feature-detail:nth-child(even) {
    background: var(--white);
}

.feature-detail:nth-child(even) .split {
    direction: rtl;
}

.feature-detail:nth-child(even) .split > * {
    direction: ltr;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-soft);
}

/* Integrations */
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.integrations-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 600px;
    margin: 0 auto;
}

.integration-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.integration-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px var(--primary-glow);
    border-color: var(--primary);
}

.integration-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.integration-item:hover .integration-icon {
    transform: scale(1.5);
}

.integration-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary);
}

.integration-item span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    text-align: center;
}

.integration-desc {
    font-size: 12px;
    color: var(--text-soft);
    text-align: center;
    line-height: 1.5;
    margin: 0;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-grid-stacked {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-grid-stacked .contact-info {
    text-align: center;
}

.contact-grid-stacked .contact-info h3 {
    font-size: 28px;
}

.expect-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.expect-grid .contact-item {
    flex-direction: column;
    text-align: center;
    padding: 24px 16px;
}

.expect-grid .contact-item:hover {
    transform: translateY(-4px);
}

.expect-grid .contact-item-icon {
    margin: 0 auto 12px;
}

.expect-grid .contact-item-content h4 {
    font-size: 15px;
    margin-bottom: 6px;
}

.expect-grid .contact-item-content p {
    font-size: 13px;
}

.contact-grid-stacked .form-card {
    max-width: 600px;
    margin: 0 auto;
}

.demo-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.contact-item:hover {
    transform: translateX(4px);
    box-shadow: 0 12px 32px var(--primary-glow);
    border-color: var(--primary);
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.contact-item-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item-content p,
.contact-item-content a {
    font-size: 14px;
    color: var(--text-soft);
}

.contact-item-content a:hover {
    color: var(--primary);
}

/* Form */
.form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 16px 48px var(--primary-glow), 0 6px 16px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
}

.form-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    font-family: var(--font);
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    transition: all 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(126,217,208,0.15);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--white);
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-soft);
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copy {
    font-size: 13px;
    color: var(--text-soft);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: var(--text-soft);
    transition: color 0.2s;
}

.footer-social a:hover {
    color: var(--primary);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    border-top: 1px solid var(--border);
}

.cookie-consent.show {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cookie-consent-text p {
    font-size: 14px;
    color: var(--text-soft);
    margin: 0;
}

.cookie-consent-text a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-consent-text a:hover {
    color: var(--primary-dark);
}

.cookie-consent-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-family: var(--font);
}

.cookie-btn-accept {
    background: var(--primary);
    color: white;
}

.cookie-btn-accept:hover {
    background: var(--primary-dark);
}

.cookie-btn-decline {
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
}

.cookie-btn-decline:hover {
    background: var(--border);
}

@media (max-width: 768px) {
    .cookie-consent {
        padding: 16px;
    }

    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .cookie-consent-actions {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        max-width: 150px;
    }
}

/* Booking Widget */
.booking-widget {
    max-width: 900px;
    margin: 0 auto;
}

.booking-modal {
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 16px 48px var(--primary-glow), 0 6px 16px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    overflow: hidden;
}

.booking-body {
    display: flex;
}

.calendar-section {
    flex: 1;
    padding: 32px;
    border-right: 1px solid var(--border);
}

.form-section {
    flex: 1;
    padding: 32px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.calendar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.calendar-nav {
    display: flex;
    gap: 16px;
    align-items: center;
}

.nav-btn {
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: var(--primary);
    color: white;
}

.nav-btn svg {
    stroke: currentColor;
}

.current-month {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    min-width: 180px;
    text-align: center;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: 24px;
}

.calendar-day-header {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-soft);
    padding: 8px;
    text-transform: uppercase;
}

.calendar-day {
    aspect-ratio: 1;
    border: 2px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    background: var(--white);
}

.calendar-day:hover:not(.disabled):not(.other-month) {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.calendar-day.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.calendar-day.today {
    border-color: var(--primary);
    font-weight: 700;
}

.calendar-day.disabled {
    background: var(--bg);
    color: var(--border);
    cursor: not-allowed;
}

.calendar-day.other-month {
    color: var(--border);
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.time-slot {
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    background: var(--white);
}

.time-slot:hover:not(.disabled) {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.time-slot.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.time-slot.disabled {
    background: var(--bg);
    color: var(--border);
    cursor: not-allowed;
    text-decoration: line-through;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
}

.spinner {
    border: 3px solid var(--border);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.success-message,
.error-message {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
}

.success-message {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #6ee7b7;
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #fca5a5;
}

/* Animations */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    animation: heroFadeIn 0.8s ease both;
}

.hero > .container > p {
    animation: heroFadeIn 0.8s ease 0.15s both;
}

.hero-buttons {
    animation: heroFadeIn 0.8s ease 0.3s both;
}

.hero-subtext {
    animation: heroFadeIn 0.8s ease 0.4s both;
}

.hero-image {
    animation: heroFadeIn 1s ease 0.5s both;
}

/* Scroll reveal */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children in grids */
.support-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.support-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }

.features-grid [data-animate]:nth-child(2) { transition-delay: 0.08s; }
.features-grid [data-animate]:nth-child(3) { transition-delay: 0.16s; }
.features-grid [data-animate]:nth-child(4) { transition-delay: 0.24s; }
.features-grid [data-animate]:nth-child(5) { transition-delay: 0.32s; }
.features-grid [data-animate]:nth-child(6) { transition-delay: 0.4s; }

.pricing-grid-simple [data-animate]:nth-child(2) { transition-delay: 0.08s; }
.pricing-grid-simple [data-animate]:nth-child(3) { transition-delay: 0.16s; }
.pricing-grid-simple [data-animate]:nth-child(4) { transition-delay: 0.24s; }
.pricing-grid-simple [data-animate]:nth-child(5) { transition-delay: 0.32s; }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .hero h1,
    .hero > .container > p,
    .hero-buttons,
    .hero-subtext,
    .hero-image {
        animation: none;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .pricing-grid-simple { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .header { top: 8px; left: 8px; right: 8px; }
    .mobile-menu { top: 80px; left: 8px; right: 8px; }

    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .support-grid { grid-template-columns: 1fr; gap: 24px; }
    .split { grid-template-columns: 1fr; gap: 40px; }
    .pricing-grid-simple { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .integrations-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .expect-grid { grid-template-columns: repeat(2, 1fr); }

    .feature-detail:nth-child(even) .split { direction: ltr; }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .mobile-menu-btn { display: flex; }

    .hero { padding: 120px 0 60px; }
    .section { padding: 60px 0; }
    .page-hero { padding: 120px 0 40px; }
    .feature-detail { padding: 60px 0; }

    .features-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-brand { max-width: 100%; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .integrations-grid { grid-template-columns: repeat(3, 1fr); }
    .integration-desc { display: none; }
    .integration-item:hover .integration-icon { transform: none; }
    .split-image img:hover { transform: none; }
    .pricing-grid-simple { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
    .pricing-title { font-size: 28px; }
    .expect-grid { grid-template-columns: 1fr; }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cta { padding: 48px 24px; border-radius: 24px; }
    .section-header h2 { font-size: 28px; }

    /* Booking Widget Mobile */
    .booking-body {
        flex-direction: column;
    }

    .calendar-section {
        padding: 20px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .form-section {
        padding: 20px;
    }

    .calendar-nav {
        gap: 12px;
    }

    .nav-btn {
        width: 32px;
        height: 32px;
    }

    .current-month {
        font-size: 16px;
        min-width: 140px;
    }

    .calendar-grid {
        gap: 4px;
        margin-bottom: 16px;
    }

    .calendar-day-header {
        font-size: 10px;
        padding: 4px;
    }

    .calendar-day {
        font-size: 12px;
    }

    .time-slots {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .time-slot {
        padding: 10px 6px;
        font-size: 13px;
    }

    .section-title {
        font-size: 14px;
        margin-bottom: 16px;
        padding-bottom: 10px;
    }
}
