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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
}

.site-footer {
    box-shadow: 0 50vh 0 50vh #1a1a1a;
}

/* Logo Styling */
.logo-img {
    height: 45px;
    width: auto;
}

.logo-img-small {
    height: 28px;
    width: auto;
}

.logo-text {
    font-weight: 800;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-blue {
    color: #f97316;
}

.logo-moon {
    color: #3b82f6;
}

.logo-text-small {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Sticky Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 1000;
    padding: 0.85rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.logo {
    display: flex;
    align-items: center;
}

.header-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.tagline {
    text-align: center;
    position: absolute;
    right: 205px;
    left: auto;
    transform: none;
}

.tagline strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a1a1a;
}

.tagline-sub {
    font-size: 1.1rem;
    color: #666;
}

/* Phone Button - Widget Style */
.fixed-phone-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f97316;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(249, 115, 22, 0.35);
    transition: all 0.2s ease;
    z-index: 1001;
}

.fixed-phone-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.45);
}

.fixed-phone-btn svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: white;
    stroke-width: 1.5;
}

/* Voice Call Popup - Widget Style */
.voice-call-popup {
    position: fixed;
    top: 85px;
    right: 20px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 48px rgba(0,0,0,0.15);
    padding: 0;
    z-index: 1002;
    width: 320px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.voice-call-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.voice-call-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
}

.voice-call-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.voice-call-info {
    flex: 1;
}

.voice-call-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: white;
}

.voice-call-status {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
}

.voice-call-status.active {
    color: #bbf7d0;
}

.voice-call-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.2s;
}

.voice-call-close:hover {
    background: rgba(255,255,255,0.3);
}

.voice-call-body {
    padding: 20px;
}

.voice-call-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
}

.voice-call-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.voice-call-btn-start,
.voice-call-btn-end {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
}

.voice-call-btn-start {
    background: #f97316;
    color: white;
}

.voice-call-btn-start:hover {
    background: #ea580c;
    transform: translateY(-1px);
}

.voice-call-btn-end {
    background: #fee2e2;
    color: #dc2626;
}

.voice-call-btn-end:hover {
    background: #fecaca;
}

/* Chat icon in phone mockup */
.phone-chat-icon {
    position: absolute;
    bottom: 70px;
    right: 15px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #3b82f6;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    z-index: 10;
    transition: transform 0.2s;
}

.phone-chat-icon:hover {
    transform: scale(1.1);
}

/* Phone Popup */
.phone-popup {
    position: fixed;
    top: 85px;
    right: 25px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    padding: 20px;
    z-index: 1002;
    width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.phone-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.phone-popup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.phone-popup-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1e3a5f);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.phone-popup-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a1a;
}

.phone-popup-subtitle {
    font-size: 0.85rem;
    color: #666;
}

.phone-popup-text {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 15px;
    line-height: 1.5;
}

.phone-popup-btn {
    width: 100%;
    padding: 12px;
    background: #f97316;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}

.phone-popup-btn:hover {
    background: #ea580c;
}

.phone-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.phone-popup-close:hover {
    background: #e5e7eb;
}

.header-line {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 100px 0 4rem;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-left {
    padding-top: 100px;
}

.hero-left h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.hero-left .highlight {
    color: #3b82f6;
}

.hero-left p {
    font-size: 1.15rem;
    color: #555;
}

/* Phone Mockup */
.hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 0;
}

.hero-right-label {
    text-align: center;
    margin-bottom: 1rem;
}

.hero-right-label strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a1a1a;
}

.hero-right-label span {
    font-size: 0.95rem;
    color: #666;
}

.phone-mockup {
    position: relative;
}

.phone-frame {
    width: 360px;
    height: 740px;
    background: #1a1a1a;
    border-radius: 50px;
    padding: 10px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 36px;
    background: #f5f5f5;
    border-radius: 40px 40px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 5;
}

.phone-time {
    color: #1a1a1a;
}

.phone-dynamic-island {
    width: 90px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 20px;
}

.phone-icons {
    display: flex;
    gap: 3px;
    font-size: 0.7rem;
}

.phone-screen {
    width: 100%;
    height: calc(100% - 20px);
    background: #f5f5f5;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.phone-screen::-webkit-scrollbar {
    display: none;
}

.phone-iframe {
    width: calc(100% + 20px);
    height: 100%;
    border: none;
    border-radius: 40px 0 0 40px;
}

.phone-chat-trigger {
    position: absolute;
    bottom: 25px;
    right: 15px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f97316;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(249, 115, 22, 0.4);
    transition: all 0.2s ease;
    z-index: 10;
}

.phone-chat-trigger:hover {
    transform: scale(1.1);
}

.phone-chat-trigger svg {
    width: 22px;
    height: 22px;
    stroke: white;
}

.phone-home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: #666;
    border-radius: 2px;
}

/* Demo Site Inside Phone */
.demo-site {
    padding: 45px 12px 15px;
    background: #4a4a4a;
    height: 100%;
}

.demo-nav {
    display: flex;
    gap: 12px;
    font-size: 0.55rem;
    color: #f97316;
    margin-bottom: 10px;
    justify-content: flex-end;
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 2px solid #f97316;
    margin-bottom: 20px;
}

.demo-logo {
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
    letter-spacing: 1px;
}

.demo-menu {
    font-size: 1.2rem;
    color: white;
}

.demo-hero {
    text-align: center;
    padding: 15px 10px;
}

.demo-hero h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    margin-bottom: 15px;
}

.demo-hero h2 span {
    color: #f97316;
}

.demo-cta {
    background: #f97316;
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    margin-bottom: 10px;
    display: block;
    width: fit-content;
    margin: 0 auto 10px;
}

.demo-link {
    color: white;
    text-decoration: underline;
    font-size: 0.8rem;
    display: block;
    text-align: center;
}

.demo-image {
    position: relative;
    margin-top: 15px;
    background: linear-gradient(135deg, #d4a574 0%, #c9956c 100%);
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
}

.demo-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 100%);
}

.demo-chat-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    background: #3b82f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #1e3a5f 0%, #3b82f6 100%);
    padding: 4rem 2rem;
    border-radius: 30px;
    margin: 2rem auto;
    max-width: 1100px;
    width: calc(100% - 4rem);
}

.cta-content {
    text-align: center;
    color: white;
}

.cta-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-content h2 span {
    color: #fef3c7;
}

.cta-button {
    display: inline-block;
    background: #f97316;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4);
}

/* Booking Section */
.booking {
    padding: 4rem 2rem;
    background: white;
}

.booking-header {
    max-width: 1100px;
    margin: 0 auto 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.booking-header-right {
    text-align: right;
}

.booking-header-right strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
}

.booking-header-right span {
    color: #666;
}

.booking-divider {
    max-width: 1100px;
    margin: 0 auto 3rem;
    height: 1px;
    background: linear-gradient(90deg, #3b82f6 0%, #f97316 100%);
}

.booking-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 60px rgba(0,0,0,0.08);
    padding: 3rem;
}

.booking-info .booking-logo {
    margin-bottom: 1.5rem;
}

.booking-info h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.booking-meta {
    display: flex;
    gap: 1.5rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.booking-info p {
    color: #555;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.booking-cta-text {
    font-weight: 500;
    color: #333 !important;
}

/* Calendar */
.booking-calendar {
    background: #f9fafb;
    border-radius: 15px;
    padding: 1rem;
    min-height: 500px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    color: #888;
    font-size: 0.9rem;
}

/* Retell AI Widgets - Fixed Overlay */
.retell-widgets {
    position: fixed;
    right: 25px;
    top: 0;
    bottom: 0;
    z-index: 998;
    pointer-events: none;
}

.retell-phone-widget,
.retell-chat-widget {
    position: absolute;
    right: 0;
    pointer-events: auto;
}

.retell-phone-widget {
    display: none;
}

.retell-chat-widget {
    bottom: 30px;
}

/* Widget Bubbles */
.widget-bubble {
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    max-width: 260px;
    position: relative;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s, transform 0.3s;
}

.widget-bubble.show {
    opacity: 1;
    transform: translateX(0);
}

.widget-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.widget-text {
    font-size: 0.85rem;
    color: #333;
    line-height: 1.4;
}

.widget-close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Widget Triggers */
.widget-trigger {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-left: auto;
}

.phone-trigger {
    background: #f97316;
    box-shadow: 0 5px 20px rgba(249, 115, 22, 0.4);
}

.chat-trigger {
    background: #3b82f6;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.4);
}

.widget-trigger:hover {
    transform: scale(1.08);
}

/* Responsive - Tablet */
@media (max-width: 968px) {
    .header {
        padding: 0.75rem 0;
    }

    .header-container {
        padding: 0 1.5rem;
    }

    .header-inner {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .logo {
        order: 1;
    }

    .nav-links {
        order: 2;
    }

    .menu-toggle {
        order: 3;
        margin-left: auto;
    }

    .tagline {
        display: none;
    }

    .hero {
        padding: 120px 0 2rem;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .hero-left {
        padding-top: 20px;
    }

    .hero-left h1 {
        font-size: 2.2rem;
    }

    .hero-right {
        padding-left: 0;
    }

    .phone-frame {
        width: 300px;
        height: 620px;
    }

    .cta-banner {
        margin: 1.5rem 1rem;
        width: auto;
        max-width: none;
        padding: 2.5rem 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .fixed-phone-btn {
        top: 15px;
        right: 15px;
        width: 46px;
        height: 46px;
    }

    .fixed-phone-btn svg {
        width: 22px;
        height: 22px;
    }

    .voice-call-popup {
        top: 75px;
        right: 15px;
        width: 280px;
    }
}

/* Responsive - Mobile */
@media (max-width: 600px) {
    .header {
        padding: 0.75rem 0;
    }

    .header-container {
        padding: 0 1rem;
    }

    .header-inner {
        flex-wrap: nowrap;
        align-items: center;
    }

    .logo-img {
        height: 34px;
    }

    .tagline {
        display: none;
    }

    .hero {
        padding: 100px 0 1.5rem;
    }

    .hero-container {
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .hero-left h1 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .hero-left p {
        font-size: 1rem;
    }

    .phone-frame {
        width: 260px;
        height: 540px;
        border-radius: 40px;
    }

    .phone-screen {
        border-radius: 35px;
    }

    .phone-iframe {
        border-radius: 35px;
    }

    .phone-notch {
        height: 30px;
        border-radius: 35px 35px 0 0;
        padding: 0 15px;
        font-size: 0.65rem;
    }

    .phone-dynamic-island {
        width: 70px;
        height: 22px;
    }

    .cta-banner {
        margin: 1rem 0.75rem;
        padding: 1.75rem 1rem;
        border-radius: 16px;
    }

    .cta-subtitle {
        font-size: 0.9rem;
    }

    .cta-content h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .cta-button {
        padding: 0.85rem 2rem;
        font-size: 0.95rem;
    }

    .fixed-phone-btn {
        top: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
    }

    .fixed-phone-btn svg {
        width: 20px;
        height: 20px;
    }

    .voice-call-popup {
        top: 65px;
        right: 10px;
        left: 10px;
        width: auto;
    }

    .voice-call-body {
        padding: 15px;
    }

    .voice-call-title {
        font-size: 1rem;
    }

    .footer {
        padding: 1.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* Extra small devices */
@media (max-width: 380px) {
    .hero-left h1 {
        font-size: 1.5rem;
    }
    
    .phone-frame {
        width: 240px;
        height: 500px;
    }
    
    .cta-content h2 {
        font-size: 1.3rem;
    }
    
    .tagline strong {
        font-size: 0.85rem;
    }
}
