/**
 * Main Stylesheet - Glassmorphism Design
 * Theme variables injected dynamically
 */

/* ============ BASE RESET ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ============ GLASSMORPHISM UTILITIES ============ */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-strong {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ============ NAVIGATION ============ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
}

.nav.scrolled {
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.875rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13, 13, 13, 0.3) 0%,
        rgba(13, 13, 13, 0.6) 50%,
        var(--bg) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}

.hero-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 400;
    letter-spacing: 8px;
    color: var(--text);
    margin-bottom: 1rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-tagline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-style: italic;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg);
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

/* ============ SCROLL INDICATOR ============ */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.6875rem;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    width: 1px;
    height: 30px;
    background: linear-gradient(180deg, var(--primary), transparent);
}

/* ============ PAGE SECTIONS ============ */
.page {
    min-height: 100vh;
    padding: 100px 1.5rem 60px;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-label {
    font-size: 0.6875rem;
    color: var(--primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: block;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.page-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* ============ CONTAINER ============ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: 600px;
    margin: 0 auto;
}

/* ============ CARDS - GLASSMORPHISM ============ */
.card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ============ ABOUT PAGE IMAGE FRAME ============ */
.about-image-frame {
    position: relative;
    max-width: 800px;
    margin: 0 auto 3rem;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-image-slider {
    position: relative;
    aspect-ratio: 16 / 9;
}

.about-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.about-slide.active {
    opacity: 1;
}

.about-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--bg);
}

.about-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--text);
    font-size: 0.875rem;
    text-align: center;
}

/* ============ TIMELINE ============ */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--border));
}

.timeline-item {
    padding-left: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0.5rem;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.timeline-year {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8125rem;
    margin-bottom: 0.25rem;
}

.timeline-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.timeline-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ============ PRODUCTS - FIXED HEIGHT CARDS ============ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.product-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-align: center;
}

.product-tagline {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    text-align: center;
}

.product-description {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
    flex-grow: 1;
    text-align: center;
}

.product-card .btn {
    margin-top: auto;
    align-self: center;
}

/* ============ CREDENTIALS ============ */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.credential-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.credential-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.credential-card.featured {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.02));
    border-color: rgba(212, 175, 55, 0.2);
}

.credential-name {
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.credential-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ============ VIDEOS ============ */
.video-featured {
    margin-bottom: 3rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.video-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.video-thumb {
    position: relative;
    padding-bottom: 56.25%;
}

.video-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg);
    transition: transform 0.3s ease;
}

.video-card:hover .video-play {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 1rem;
}

.video-title {
    font-size: 0.9375rem;
    font-weight: 500;
}

/* ============ CONNECT PAGE ============ */
.connect-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ============ CALENDAR - GLASSMORPHISM ============ */
.calendar {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.calendar-month {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
}

.calendar-nav {
    display: flex;
    gap: 0.5rem;
}

.calendar-nav button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-nav button:hover {
    background: var(--primary);
    color: var(--bg);
    border-color: var(--primary);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
}

.calendar-day-header {
    text-align: center;
    font-size: 0.6875rem;
    color: var(--text-muted);
    padding: 0.5rem;
    font-weight: 600;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-day:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.05);
}

.calendar-day.available {
    color: var(--primary);
    font-weight: 600;
}

.calendar-day.selected {
    background: var(--primary);
    color: var(--bg);
}

.calendar-day.disabled {
    color: var(--text-subtle);
    cursor: default;
}

.time-slots {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.time-slots-title {
    font-weight: 600;
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.time-slot {
    padding: 0.625rem;
    text-align: center;
    font-size: 0.8125rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-slot:hover {
    border-color: var(--primary);
}

.time-slot.selected {
    background: var(--primary);
    color: var(--bg);
    border-color: var(--primary);
}

/* ============ FORMS - GLASSMORPHISM ============ */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 0.375rem;
    font-weight: 500;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--text);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239A9A9A' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-select option {
    background: var(--bg);
}

/* ============ FOOTER ============ */
.footer {
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.01);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.8125rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.footer-copy {
    color: var(--text-subtle);
    font-size: 0.75rem;
}

/* ============ CONNECT PAGE - VOICE AGENT SECTION ============ */
.voice-agent-section {
    max-width: 350px;
    margin: 0 auto 2rem;
}

.voice-agent-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.voice-agent-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--primary-glow);
}

.voice-agent-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.voice-agent-icon svg {
    width: 26px;
    height: 26px;
    color: var(--bg);
}

.voice-agent-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.voice-agent-card > p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.voice-agent-card .btn {
    padding: 0.875rem 1.5rem;
}

.voice-agent-note {
    display: block;
    font-size: 0.6875rem;
    color: var(--text-subtle);
    margin-top: 0.75rem;
}

.connect-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.connect-divider::before,
.connect-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.connect-divider span {
    color: var(--text-subtle);
    font-size: 0.75rem;
}

/* ============ VOICE AGENT BUTTON ============ */
.voice-agent-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg);
    box-shadow: 0 4px 20px var(--primary-glow);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    border: none;
}

.voice-agent-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px var(--primary-glow);
}

.voice-agent-btn.active {
    background: #22c55e;
    animation: pulse 1.5s infinite;
}

.voice-agent-btn svg {
    width: 24px;
    height: 24px;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50% { box-shadow: 0 0 0 15px rgba(34, 197, 94, 0); }
}

/* ============ MODAL ============ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--primary);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text);
}

/* ============ VIDEO MODAL ============ */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.video-modal-content {
    width: 100%;
    max-width: 900px;
    position: relative;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal .video-wrapper {
    border-radius: 16px;
    overflow: hidden;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

/* ============ ICONS ============ */
.icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.icon-sm { width: 18px; height: 18px; }
.icon-lg { width: 32px; height: 32px; }
.icon-xl { width: 48px; height: 48px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-name {
        letter-spacing: 4px;
    }
    
    .credentials-grid {
        grid-template-columns: 1fr;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        min-height: auto;
    }
    
    .voice-agent-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
    }
    
    /* Calendar mobile fixes */
    .calendar {
        padding: 1rem;
        max-width: 100%;
        border-radius: 12px;
    }
    
    .calendar-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .calendar-month {
        font-size: 1rem;
    }
    
    .calendar-grid {
        gap: 0.125rem;
    }
    
    .calendar-day-header {
        font-size: 0.625rem;
        padding: 0.375rem 0.125rem;
    }
    
    .calendar-day {
        font-size: 0.75rem;
        border-radius: 6px;
    }
    
    /* Modal mobile fixes */
    .modal-overlay {
        padding: 1rem;
        align-items: flex-start;
        padding-top: 2rem;
    }
    
    .modal {
        padding: 1.25rem;
        border-radius: 16px;
        max-height: 85vh;
    }
    
    .modal-title {
        font-size: 1.125rem;
    }
    
    /* Forms mobile fixes */
    .form-input, .form-select, .form-textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.75rem;
    }
    
    /* Card mobile fixes */
    .card {
        padding: 1.25rem;
        border-radius: 12px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .card-title {
        font-size: 1.125rem;
        word-wrap: break-word;
    }
    
    /* Page container mobile */
    .container {
        padding: 0 1rem;
    }
    
    .page {
        padding-top: 5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    /* Voice agent section mobile */
    .voice-agent-section {
        padding: 0 0.5rem;
    }
    
    .voice-agent-card {
        padding: 1.5rem;
    }
    
    /* Success message mobile fixes */
    .card p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .card strong {
        word-break: break-all;
    }
    
    /* Booking form mobile */
    #bookingForm .card {
        margin: 0 -0.5rem;
        border-radius: 12px;
    }
    
    #bookingForm p {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    /* Time slots mobile */
    .time-slots {
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .time-slot {
        padding: 0.625rem;
        font-size: 0.8125rem;
    }
    
    /* Connect page specific */
    .connect-divider {
        margin: 1.5rem 0;
    }
    
    .container-narrow {
        padding: 0;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .calendar {
        padding: 0.75rem;
    }
    
    .calendar-month {
        font-size: 0.9375rem;
    }
    
    .calendar-nav button {
        width: 28px;
        height: 28px;
    }
    
    .calendar-day {
        font-size: 0.6875rem;
    }
    
    .calendar-day-header {
        font-size: 0.5625rem;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.375rem;
    }
    
    .time-slot {
        padding: 0.5rem;
        font-size: 0.75rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .hero-name {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.8125rem;
    }
    
    /* Fix email text overflow */
    .card p strong {
        display: inline-block;
        max-width: 100%;
        word-break: break-all;
    }
    
    /* Voice widget mobile */
    .voice-widget {
        width: calc(100vw - 2rem);
        max-width: 320px;
        right: 1rem;
        bottom: 1rem;
    }
}
