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

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #8B5CF6 0%, #D946EF 50%, #A855F7 100%);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
    background-clip: padding-box;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) #8B5CF6;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #8B5CF6 0%, #D946EF 50%, #A855F7 100%);
    position: relative;
    overflow: visible;
    padding: 120px 20px 60px;
    isolation: isolate;
}

.hero::before {
    display: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: -16px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.logo-text h1 {
    color: white;
    font-size: 24px;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    line-height: 1.2;
    margin-bottom: 4px;
}

.logo-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 400;
    font-family: 'Nunito', sans-serif;
    line-height: 1.3;
}

.location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 16px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    margin-right: 120px;
}

.location-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Rating */
.rating-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.rating {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    width: fit-content;
}

.rating:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.rating-icon {
    width: 32px;
    height: 32px;
}

.rating-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rating-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.rating-score {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.rating-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rating-stars {
    color: #FFD700;
    font-size: 20px;
    line-height: 1;
}

.rating-count {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1;
}

/* Hero Content */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
}

.hero-left {
    max-width: 600px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 24px;
    margin-top: 0;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    margin-bottom: 40px;
}

.cta-button {
    background: #06B6D4;
    color: white;
    font-size: 18px;
    font-weight: 600;
    padding: 18px 48px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4);
    white-space: nowrap;
}

.cta-button:hover {
    background: #0891B2;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(6, 182, 212, 0.5);
}

.cta-button:active {
    transform: translateY(0);
}

/* Hero CTA Group */
.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Features */
.features {
    display: flex;
    gap: 40px;
    margin-top: 60px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: white;
}

.feature-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.feature svg {
    width: 48px;
    height: 48px;
}

.feature p {
    font-size: 16px;
    line-height: 1.4;
    white-space: nowrap;
    text-align: center;
}

/* Hero Right - Tooth Shape */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tooth-shape {
    position: relative;
    width: 650px;
    height: 700px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 0;
}

.tooth-shape::before {
    display: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Info Block - always on top */
.info-block {
    position: fixed;
    right: max(20px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.95) 0%, rgba(217, 70, 239, 0.95) 100%);
    backdrop-filter: blur(20px);
    color: white;
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 2147483647;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.4);
    pointer-events: auto;
}

.info-block:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 1) 0%, rgba(217, 70, 239, 1) 100%);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.5);
}

/* Декоративные элементы не перекрывают клики */
.hero::before,
.hero::after,
.clinic-gallery::after,
.superpowers::after,
.footer-wave {
    pointer-events: none;
}

/* Responsive */
@media (max-width: 1400px) {
    .container {
        max-width: 1200px;
    }

    .tooth-shape {
        width: 550px;
        height: 600px;
    }

    .location {
        margin-right: 60px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 40px;
    }

    .hero-content {
        gap: 40px;
    }

    .tooth-shape {
        width: 480px;
        height: 550px;
    }

    .hero-title {
        font-size: 48px;
    }

    .location {
        margin-right: 0;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-left {
        max-width: 100%;
    }

    .tooth-shape {
        width: 450px;
        height: 520px;
        margin-top: 0;
        margin: 0 auto;
    }

    .features {
        gap: 30px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 50px;
    }

    .container {
        padding: 0 20px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .location {
        margin-right: 0;
        width: 100%;
        justify-content: center;
    }

    .logo-icon {
        width: 60px;
        height: 60px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .features {
        flex-direction: row;
        gap: 16px;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .feature {
        gap: 8px;
    }

    .feature-icon {
        width: 32px;
        height: 32px;
    }

    .feature p {
        font-size: 12px;
        white-space: nowrap;
    }

    .tooth-shape {
        width: 100%;
        max-width: 400px;
        height: 480px;
    }

    .info-block {
        bottom: 20px;
        right: 20px;
        font-size: 12px;
        padding: 12px 20px;
    }

    .cta-button {
        width: 100%;
        padding: 16px 32px;
    }

    .cta-phone {
        width: 100%;
        padding: 16px 32px;
        font-size: 16px;
    }

    .rating-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
    }

    .rating {
        flex: 1;
        gap: 8px;
    }

    .rating-score {
        font-size: 24px;
    }

    .rating-stars {
        font-size: 14px;
    }

    .rating-count {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 90px 16px 40px;
    }

    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .rating-buttons {
        gap: 10px;
    }

    .rating {
        gap: 6px;
    }

    .rating-icon {
        width: 26px;
        height: 26px;
    }

    .rating-score {
        font-size: 20px;
    }

    .rating-stars {
        font-size: 12px;
    }

    .rating-count {
        font-size: 10px;
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .logo-text p {
        font-size: 12px;
    }

    .logo-icon {
        width: 50px;
        height: 50px;
    }

    .location {
        font-size: 13px;
        padding: 10px 14px;
    }

    .location-icon {
        width: 14px;
        height: 14px;
    }

    .tooth-shape {
        max-width: 320px;
        height: 400px;
    }

    .cta-button {
        font-size: 16px;
        padding: 14px 28px;
    }

    .features {
        gap: 12px;
    }

    .feature {
        gap: 6px;
    }

    .feature-icon {
        width: 28px;
        height: 28px;
    }

    .feature svg {
        width: 28px;
        height: 28px;
    }

    .feature p {
        font-size: 11px;
    }

    .cta-phone {
        font-size: 14px;
        padding: 14px 28px;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1000000;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: #666;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(139, 92, 246, 0.1);
    color: #8B5CF6;
    transform: rotate(90deg);
}

.modal-title {
    color: #8B5CF6;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    font-family: 'Nunito', sans-serif;
}

.modal-documents {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(217, 70, 239, 0.05) 100%);
    border-radius: 12px;
    color: #333;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.document-item:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(217, 70, 239, 0.1) 100%);
    border-color: #8B5CF6;
    transform: translateX(8px);
}

.document-item svg {
    color: #8B5CF6;
    flex-shrink: 0;
}

.document-item span {
    font-size: 16px;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    line-height: 1.4;
}

.modal-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    display: flex;
    justify-content: center;
}

.modal-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #8B5CF6 0%, #D946EF 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.modal-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
}

.modal-link svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }

    .modal-title {
        font-size: 24px;
        margin-bottom: 20px;
        padding-right: 30px;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        font-size: 28px;
    }

    .document-item {
        padding: 16px;
    }

    .document-item span {
        font-size: 14px;
    }

    .modal-footer {
        margin-top: 20px;
        padding-top: 15px;
    }

    .modal-link {
        font-size: 14px;
        padding: 12px 20px;
        width: 100%;
        justify-content: center;
    }
}

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

.hero-title,
.hero-subtitle,
.cta-button,
.features,
.tooth-shape {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-subtitle {
    animation-delay: 0.1s;
}

.cta-button {
    animation-delay: 0.2s;
}

.features {
    animation-delay: 0.3s;
}

.tooth-shape {
    animation-delay: 0.4s;
}

/* ==================== */
/* Clinic Gallery Section */
/* ==================== */
.clinic-gallery {
    background: linear-gradient(180deg, #A855F7 0%, #8B5CF6 50%, #7C3AED 100%);
    padding: 100px 0 120px;
    position: relative;
    overflow: visible;
    isolation: isolate;
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    font-family: 'Nunito', sans-serif;
    animation: fadeInUp 0.8s ease-out;
}

.gallery-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

/* Gallery Slider - Full Width Marquee */
.gallery-slider {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    padding: 20px 0 40px;
}

.gallery-track {
    display: flex;
    gap: 24px;
    animation: marquee 30s linear infinite;
}

.gallery-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.gallery-slide {
    flex-shrink: 0;
    width: 450px;
}

.gallery-slide img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Gallery CTA */
.gallery-cta {
    text-align: center;
    margin-top: 50px;
}

.gallery-cta-text {
    color: white;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
}

.gallery-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 18px 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-phone:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-phone svg {
    flex-shrink: 0;
}

/* Gallery Responsive */
@media (max-width: 1200px) {
    .gallery-slide {
        width: 380px;
    }
}

@media (max-width: 768px) {
    .clinic-gallery {
        padding: 60px 0 80px;
    }

    .gallery-header {
        margin-bottom: 40px;
    }

    .gallery-title {
        font-size: 36px;
    }

    .gallery-subtitle {
        font-size: 16px;
        padding: 0 20px;
    }

    .gallery-track {
        gap: 16px;
        animation-duration: 25s;
    }

    .gallery-slide {
        width: 300px;
    }

    .gallery-slide img {
        border-radius: 16px;
    }

    .gallery-cta {
        margin-top: 40px;
        padding: 0 20px;
    }

    .gallery-cta-text {
        font-size: 20px;
    }

    .gallery-cta-buttons {
        flex-direction: column;
        gap: 16px;
    }

    .gallery-cta-buttons .cta-phone {
        width: 100%;
    }

    .hero-cta-group {
        flex-wrap: wrap;
    }

    .hero-cta-group .cta-button,
    .hero-cta-group .cta-phone {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .clinic-gallery {
        padding: 50px 0 70px;
    }

    .gallery-title {
        font-size: 28px;
    }

    .gallery-subtitle {
        font-size: 15px;
    }

    .gallery-slide {
        width: 260px;
    }

    .gallery-track {
        animation-duration: 20s;
    }
}

/* ==================== */
/* Superpowers Section (Bento Grid) */
/* ==================== */
.superpowers {
    background: linear-gradient(180deg, #7C3AED 0%, #6D28D9 50%, #5B21B6 100%);
    padding: 100px 0 120px;
    position: relative;
    overflow: visible;
    isolation: isolate;
}

/* ==================== */
/* Superpowers Header Actions (right stack) */
/* ==================== */
.superpowers-header{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 50px;
}

.superpowers-head-left{
  text-align: left;
}

.superpowers-head-actions{
  display: flex;
  flex-direction: column;     /* друг за другом */
  gap: 12px;
  align-items: flex-end;      /* ровно по правому краю */
  min-width: 260px;
}

.superpowers-cta-btn{
  padding: 14px 22px;
  font-size: 15px;
  border-radius: 12px;
}

/* телефон справа — "премиум" кнопка */
.superpowers-phone{
  justify-content: center;
  text-align: center;
  width: 100%;
  border-radius: 12px;
  padding: 18px 48px;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.superpowers-phone:hover{
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
}

.superpowers-label {
    display: inline-block;
    background: rgba(6, 182, 212, 0.2);
    color: #67E8F9;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.superpowers-title {
    font-size: 52px;
    font-weight: 800;
    color: white;
    font-family: 'Nunito', sans-serif;
    line-height: 1.1;
}

/* Bento Grid */
.superpowers-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.bento-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Card Sizes - all same size now */
.bento-large,
.bento-medium,
.bento-small {
    grid-column: span 1;
}

.bento-wide {
    grid-column: span 3;
}

/* Card Content */
.bento-illustration {
    margin-bottom: 12px;
    line-height: 1;
}

.bento-illustration svg {
    width: 44px;
    height: 44px;
}

.bento-illustration-mini {
    margin-bottom: 6px;
}

.bento-illustration-mini svg {
    width: 28px;
    height: 28px;
}

.bento-content h3 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    font-family: 'Nunito', sans-serif;
    line-height: 1.3;
}

.bento-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.bento-tag {
    margin-top: auto;
    padding-top: 10px;
    color: #67E8F9;
    font-size: 12px;
    font-weight: 600;
}

.bento-number {
    font-size: 32px;
    font-weight: 800;
    color: #06B6D4;
    line-height: 1;
    margin-bottom: 4px;
}

.bento-small {
    text-align: center;
    justify-content: center;
    align-items: center;
}

.bento-small p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
}

.bento-icon {
    color: #06B6D4;
    margin-bottom: 8px;
}

/* Accent Card */
.bento-accent {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(6, 182, 212, 0.05) 100%);
    border-color: rgba(6, 182, 212, 0.3);
}

/* Quote Card */
.bento-quote {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 40px;
}

.quote-icon {
    margin-bottom: 12px;
}

.quote-text {
    font-size: 20px;
    color: white;
    font-style: italic;
    line-height: 1.6;
}

.quote-author {
    display: block;
    margin-top: 16px;
    font-size: 14px;
    font-style: normal;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

/* Superpowers Layout with Video */
.superpowers-layout {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: start;
}

/* Video Block */
.superpowers-video-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 280px;
}

.video-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 9/16;
    max-height: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.superpowers-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

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

.video-play-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-controls {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.video-container:hover .video-controls,
.video-container.playing .video-controls {
    opacity: 1;
}

.video-control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-control-btn:hover {
    background: rgba(139, 92, 246, 0.8);
    transform: scale(1.1);
}

.video-caption {
    text-align: center;
}

.video-caption h3 {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.video-caption p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

/* Quote full width */
.superpowers-quote {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Superpowers Responsive */
@media (max-width: 1200px) {
    .superpowers-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .superpowers-video-block {
        max-width: 700px;
        margin: 0 auto;
        width: 100%;
    }

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

    .bento-wide {
        grid-column: span 2;
    }

    .bento-large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .superpowers {
        padding: 60px 0 80px;
    }

    .superpowers-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 18px;
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .superpowers-head-left {
        text-align: center;
    }

    .superpowers-head-actions {
        align-items: stretch;
        width: 100%;
        max-width: 420px;
        min-width: 0;
    }

    .superpowers-title {
        font-size: 36px;
    }

    .superpowers-layout {
        padding: 0 20px;
        gap: 24px;
    }

    .superpowers-video-block {
        max-width: 100%;
    }

    .video-container {
        border-radius: 20px;
    }

    .video-play-btn svg {
        width: 60px;
        height: 60px;
    }

    .video-caption h3 {
        font-size: 20px;
    }

    .video-caption p {
        font-size: 14px;
    }

    .superpowers-bento {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        padding: 0 20px;
    }

    .superpowers-quote {
        margin: 0 20px;
    }

    .bento-large,
    .bento-medium,
    .bento-wide {
        grid-column: span 2;
    }

    .bento-small {
        grid-column: span 1;
    }

    .bento-card {
        padding: 24px;
    }

    .bento-illustration svg {
        width: 48px;
        height: 48px;
    }

    .bento-large .bento-illustration svg {
        width: 70px;
        height: 70px;
    }

    .bento-content h3 {
        font-size: 20px;
    }

    .bento-large .bento-content h3 {
        font-size: 22px;
    }

    .bento-quote {
        padding: 10px 20px;
    }

    .quote-text {
        font-size: 18px;
    }

    .quote-icon svg {
        width: 32px;
        height: 32px;
    }

    .superpowers-cta-inline {
        margin-top: 30px;
        padding: 0 20px;
        flex-direction: column;
        gap: 12px;
    }

    .superpowers-cta-inline .cta-phone {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .superpowers {
        padding: 50px 0 70px;
    }

    .superpowers-title {
        font-size: 28px;
    }

    .superpowers-label {
        font-size: 12px;
        padding: 6px 16px;
    }

    .superpowers-layout {
        padding: 0 16px;
        gap: 20px;
    }

    .video-container {
        border-radius: 16px;
    }

    .video-play-btn svg {
        width: 50px;
        height: 50px;
    }

    .video-control-btn {
        width: 38px;
        height: 38px;
    }

    .video-caption h3 {
        font-size: 18px;
    }

    .video-caption p {
        font-size: 13px;
    }

    .superpowers-bento {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 0 16px;
    }

    .superpowers-quote {
        margin: 0 16px;
        padding: 20px;
    }

    .bento-large,
    .bento-medium,
    .bento-small,
    .bento-wide {
        grid-column: span 1;
    }

    .bento-card {
        padding: 20px;
    }

    .bento-number {
        font-size: 40px;
    }

    .bento-content p,
    .bento-large .bento-content p {
        font-size: 15px;
    }

    .bento-quote {
        padding: 0;
    }

    .quote-text {
        font-size: 16px;
    }

    .bento-illustration svg {
        width: 44px;
        height: 44px;
    }

    .bento-large .bento-illustration svg {
        width: 60px;
        height: 60px;
    }
}

/* SEO Content - Hidden from users, visible to search engines */
.seo-content {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.5;
}

.seo-content h2,
.seo-content h3,
.seo-content h4 {
    font-weight: 600;
    margin: 20px 0 10px 0;
    color: #333;
}

.seo-content h2 {
    font-size: 32px;
}

.seo-content h3 {
    font-size: 24px;
}

.seo-content h4 {
    font-size: 20px;
}

.seo-content p {
    margin: 10px 0;
    color: #666;
}

.seo-content article {
    margin-bottom: 20px;
}

/* PDF Viewer Modal */
.pdf-viewer-modal .pdf-viewer-content {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 0;
    max-width: 95vw;
    width: 1200px;
    max-height: 95vh;
    height: 90vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1000000;
    animation: modalFadeIn 0.3s ease-out;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pdf-viewer-title {
    color: #8B5CF6;
    font-size: 24px;
    font-weight: 700;
    padding: 30px 40px 20px 40px;
    font-family: 'Nunito', sans-serif;
    margin: 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.pdf-viewer-container {
    flex: 1;
    padding: 20px;
    overflow: hidden;
    background: #f5f5f5;
}

.pdf-viewer-frame {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    background: white;
}

@media (max-width: 768px) {
    .pdf-viewer-modal .pdf-viewer-content {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        max-width: 100vw;
    }

    .pdf-viewer-title {
        font-size: 20px;
        padding: 20px 60px 15px 20px;
    }

    .pdf-viewer-container {
        padding: 10px;
    }
}

/* ==================== */
/* Fixed Navigation */
/* ==================== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: transparent;
    backdrop-filter: blur(0);
    padding: 20px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.main-nav.scrolled {
    background: rgba(139, 92, 246, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: white;
    margin-left: -16px;
}

.nav-logo-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.main-nav.scrolled .nav-logo-icon {
    width: 50px;
    height: 50px;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-logo-title {
    font-size: 24px;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.main-nav.scrolled .nav-logo-title {
    font-size: 18px;
}

.nav-logo-subtitle {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 400;
    transition: all 0.3s ease;
}

.main-nav.scrolled .nav-logo-subtitle {
    font-size: 12px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-phone:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.nav-cta-btn {
    background: #06B6D4;
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.nav-cta-btn:hover {
    background: #0891B2;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(6, 182, 212, 0.4);
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-burger span {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* No padding needed - nav is transparent over hero */
body {
    padding-top: 0;
}

.nav-cta-wrapper {
    display: inline-block;
}



/* Superpowers CTA card */
.bento-cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(6, 182, 212, 0.05) 100%) !important;
    border-color: rgba(6, 182, 212, 0.3) !important;
}

.bento-cta-btn {
    padding: 12px 24px !important;
    font-size: 14px !important;
}

.bento-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.bento-phone:hover {
    opacity: 1;
    color: #67E8F9;
}

/* ==================== */
/* Footer */
/* ==================== */
.footer {
    background: linear-gradient(180deg, #5B21B6 0%, #4C1D95 100%);
    position: relative;
    padding: 80px 0 40px;
    color: white;
    isolation: isolate;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-wave {
    display: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
}

.footer-subtitle {
    font-size: 13px;
    opacity: 0.8;
}

.footer-desc {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 280px;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.footer-social {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    transition: all 0.3s ease;
}

.footer-social:hover {
    background: rgba(6, 182, 212, 0.8);
    transform: translateY(-3px);
}

.footer-contacts h3,
.footer-cta h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Nunito', sans-serif;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    opacity: 0.9;
}

.footer-contact-link {
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.footer-contact-link:hover {
    opacity: 1;
    color: #67E8F9;
}

.footer-cta p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-cta-btn {
    width: 100%;
    font-size: 15px;
    padding: 14px 24px;
}

/* Footer Documents */
.footer-documents {
    margin-bottom: 30px;
}

.footer-documents h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    opacity: 0.8;
}

.footer-docs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-doc-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.footer-doc-link:hover {
    color: #67E8F9;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    opacity: 0.7;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: #67E8F9;
}

/* Nav Responsive */
@media (max-width: 1200px) {
    .nav-cta-wrapper {
        display: none;
    }
}

@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(139, 92, 246, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 8px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .main-nav.scrolled .nav-links {
        top: 56px;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    .nav-burger {
        display: flex;
    }

    .nav-burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-burger.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-phone span {
        display: none;
    }

    .nav-phone {
        padding: 10px;
    }

    .nav-logo-icon {
        width: 60px;
        height: 60px;
    }

    .main-nav.scrolled .nav-logo-icon {
        width: 44px;
        height: 44px;
    }

    .nav-logo-title {
        font-size: 20px;
    }

    .nav-logo-subtitle {
        font-size: 12px;
    }

    .nav-logo {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .main-nav {
        padding: 12px 0;
        background: rgba(139, 92, 246, 0.95);
        backdrop-filter: blur(20px);
    }

    .nav-logo-icon {
        width: 50px;
        height: 50px;
    }

    .main-nav.scrolled .nav-logo-icon {
        width: 40px;
        height: 40px;
    }

    .nav-logo-title {
        font-size: 18px;
    }

    .nav-logo-subtitle {
        display: none;
    }

    /* Footer responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

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

    .footer-logo {
        justify-content: center;
    }

    .footer-desc {
        max-width: 100%;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* Superpowers responsive */
    .superpowers-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .superpowers-video-block {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .video-container {
        max-height: 450px;
    }

    .superpowers-bento {
        grid-template-columns: 1fr 1fr;
    }

    .bento-wide {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .nav-logo-icon {
        width: 44px;
        height: 44px;
    }

    .main-nav.scrolled .nav-logo-icon {
        width: 36px;
        height: 36px;
    }

    .nav-logo-title {
        font-size: 16px;
    }

    .superpowers-video-block {
        max-width: 260px;
    }

    .video-container {
        max-height: 400px;
    }

    .superpowers-bento {
        grid-template-columns: 1fr;
    }

    .bento-wide {
        grid-column: span 1;
    }

    .footer {
        padding-bottom: 30px;
    }
}

