* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Offset for fixed navigation */
section {
    scroll-margin-top: 80px;
}

#home {
    scroll-margin-top: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 5px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    animation: slideDownNav 0.8s ease-out 0.2s forwards;
}

@keyframes slideDownNav {
    to {
        transform: translateY(0);
    }
}

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

.nav-logo {
    font-size: 30px;
    font-weight: 600;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1d1d1f 0%, #007AFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.hamburger:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background-color: #1d1d1f;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

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

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-item {
    color: #1d1d1f;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-item:hover {
    background: rgba(0, 122, 255, 0.1);
    color: #007AFF;
    transform: translateY(-1px);
}

.nav-item.active {
    background: #0056CC;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 122, 255, 0.3);
}

.nav-item.active:hover {
    background: #003d99;
    color: white;
}

/* Hero Section */
.hero {
    width: 100%;
    position: relative;
    background: #000;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 1000px; /* Maximální výška nastavena na 1000px */
    max-height: 1000px;
    min-height: 300px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.04);
    z-index: 1;
}

/* Intro Section */
.intro {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 100px 0;
    text-align: center;
}

.intro-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.intro-title {
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    background: linear-gradient(135deg, #1d1d1f 0%, #007AFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    color: #86868b;
    margin-bottom: 50px;
    line-height: 1.5;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.intro-subtitle-bot {
    font-size: 24px;
    color: #86868b;
    margin-top: 50px;
    line-height: 1.5;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-button {
    display: inline-block;
    background: #0056CC;
    color: white;
    padding: 16px 32px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 86, 204, 0.3);
}

.cta-button:hover {
    background: #003d99;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 61, 153, 0.4);
}

.cta-button-secondary {
    display: inline-block;
    background: transparent;
    color: #007AFF;
    padding: 16px 32px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    border: 2px solid #007AFF;
    transition: all 0.3s ease;
}

.cta-button-secondary:hover {
    background: #007AFF;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.3);
}



/* Section Styling */
section {
    padding: 80px 0;
}

.section-title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1d1d1f 0%, #007AFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Styling */
.section-subtitle {
    font-size: 21px;
    color: #86868b;
    text-align: center;
    max-width: 600px;
    margin: -40px auto 60px;
    line-height: 1.4;
}

/* Image Placeholders */
.image-placeholder {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border: 2px dashed #86868b;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #666;
    text-align: center;
    font-weight: 500;
    line-height: 1.4;
}

.image-placeholder.vertical {
    height: 400px;
    width: 300px;
}

.image-placeholder.horizontal {
    height: 200px;
    width: 100%;
}

/* Treatable Cases */
.treatable-cases {
    background-color: #ffffff;
    padding: 100px 0;
}

.cases-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    max-width: 1000px;
    margin: 0 auto;
}

.case-image-placeholder {
    flex-shrink: 0;
}

.case-video {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-video:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.cases-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    flex: 1;
}

.case-item {
    background: linear-gradient(135deg, #1d1d1f 0%, #007AFF 100%);
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    font-size: 17px;
    font-weight: 500;
    color: white;
    transition: all 0.3s ease;
    cursor: default;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Features Section */
.features {
    background-color: #f5f5f7;
    padding: 100px 0;
}

.features-layout {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-image-container {
    flex: 0 0 400px;
}

.feature-image-vertical {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-image-vertical:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.features-content {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

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

.feature-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1d1d1f;
}

.feature-text {
    font-size: 17px;
    color: #86868b;
    line-height: 1.5;
}

/* Products Section */
.products {
    background-color: #ffffff;
    padding: 100px 0;
}

.products-list {
    max-width: 1200px;
    margin: 0 auto;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
    padding: 0 20px;
}

.product-item.reverse {
    flex-direction: row-reverse;
}

.product-content {
    flex: 1;
    max-width: 500px;
}

.product-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1d1d1f;
    line-height: 1.2;
}

.product-content p {
    font-size: 19px;
    color: #86868b;
    line-height: 1.5;
}

.product-image-placeholder {
    flex: 1;
    max-width: 500px;
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Section Divider */
.section-divider {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.1), transparent);
}

.section-divider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -50%;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.1), transparent);
}

.divider-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: relative;
}

.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #007AFF, transparent);
    opacity: 0.3;
    border-radius: 1px;
}

.divider-text {
    position: relative;
    padding: 0 40px;
    animation: pulseContainer 4s ease-in-out infinite;
}

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

.divider-text span {
    font-size: 24px;
    font-weight: 500;
    color: #1d1d1f;
    background: linear-gradient(135deg, #007AFF, #5856D6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    white-space: nowrap;
    animation: pulseText 3s ease-in-out infinite;
}

@keyframes pulseText {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.divider-text::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 60px);
    height: 60px;
    background: radial-gradient(ellipse, rgba(0, 122, 255, 0.05) 0%, transparent 70%);
    border-radius: 30px;
    z-index: -1;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f2f5 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.03) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

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

/* Contact Hero Section */
.contact-hero {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 100px;
    position: relative;
    z-index: 2;
}

.contact-hero-content {
    flex: 1;
    max-width: 600px;
}

.contact-hero-title {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 30px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1d1d1f 0%, #007AFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-hero-subtitle {
    font-size: 24px;
    color: #86868b;
    margin-bottom: 50px;
    line-height: 1.5;
    font-weight: 400;
}

.contact-hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #007AFF;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #86868b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-hero-image {
    flex: 1;
    position: relative;
    max-width: 500px;
}

.hero-smile-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.hero-smile-img:hover {
    transform: scale(1.02);
}

.floating-elements {
    position: absolute;
    top: 20px;
    right: -20px;
    z-index: 3;
}

.floating-card {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: floatCard 6s ease-in-out infinite;
}

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

.testimonial-card {
    max-width: 250px;
}

.testimonial-stars {
    color: #FFD700;
    font-size: 18px;
    margin-bottom: 10px;
}

.testimonial-card p {
    font-size: 14px;
    color: #1d1d1f;
    margin-bottom: 10px;
    font-style: italic;
    line-height: 1.4;
}

.testimonial-author {
    font-size: 12px;
    color: #86868b;
    font-weight: 500;
}

/* Contact Methods Section */
.contact-methods {
    margin-bottom: 0px;
    position: relative;
    z-index: 2;
}

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

.contact-methods-header h3 {
    font-size: 42px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.contact-methods-header p {
    font-size: 21px;
    color: #86868b;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.4;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

.contact-method {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.contact-method:hover::before {
    left: 100%;
}

.contact-method:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 122, 255, 0.2);
}

.primary-method {
    background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
    color: white;
    transform: scale(1.05);
}

.primary-method:hover {
    transform: scale(1.05) translateY(-8px);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #007AFF;
    transition: all 0.3s ease;
}

.primary-method .method-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.contact-method:hover .method-icon {
    transform: scale(1.1);
    background: rgba(0, 122, 255, 0.2);
}

.primary-method:hover .method-icon {
    background: rgba(255, 255, 255, 0.3);
}

.contact-method h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1d1d1f;
}

.primary-method h4 {
    color: white;
}

.contact-method p {
    font-size: 16px;
    color: #86868b;
    margin-bottom: 20px;
    line-height: 1.5;
}

.primary-method p {
    color: rgba(255, 255, 255, 0.8);
}

.method-action {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    color: #007AFF;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.method-action:hover {
    color: #0056CC;
    border-bottom-color: #0056CC;
}

.primary-action {
    color: white;
    font-size: 20px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    border: none;
    backdrop-filter: blur(10px);
    margin-bottom: 10px;
}

.primary-action:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
}

.method-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
    font-style: italic;
}

.method-web {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 122, 255, 0.2);
}

.web-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: #86868b;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(0, 122, 255, 0.05);
    border: 1px solid rgba(0, 122, 255, 0.1);
}

.web-link:hover {
    color: #007AFF;
    background: rgba(0, 122, 255, 0.1);
    border-color: rgba(0, 122, 255, 0.3);
    transform: translateY(-1px);
}

/* Contact CTA Section */
.contact-cta-section {
    background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
    padding: 80px 60px;
    border-radius: 24px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin-bottom: 80px;
}

.contact-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h3 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 21px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.4;
}

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

.cta-primary {
    background: white;
    color: #007AFF;
    padding: 18px 36px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-secondary {
    background: transparent;
    color: white;
    padding: 18px 36px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

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


/* Footer */
.footer {
    background-color: #1d1d1f;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer p {
    font-size: 14px;
    color: #86868b;
    margin: 0;
}

.footer a {
    color: #86868b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #007AFF;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #007AFF;
    border-color: #007AFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 122, 255, 0.3);
}

.back-to-top svg {
    color: #1d1d1f;
    transition: color 0.3s ease;
}

.back-to-top:hover svg {
    color: white;
}

.product-last {
    margin-bottom: 0px;
}

/* Responsive Design */
@media (max-width: 1366px) {
    .hero-image-container {
        height: 800px;
        max-height: 800px;
    }
}

@media (max-width: 1200px) {
    .hero-image-container {
        height: 700px;
        max-height: 700px;
    }
    
    .features-layout {
        flex-direction: column;
        gap: 40px;
    }
    
    .feature-image-container {
        flex: none;
        align-self: center;
        max-width: 400px;
    }
    
    .features-content {
        grid-template-columns: 1fr 1fr;
    }

    .product-item,
    .product-item.reverse {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .product-content {
        max-width: 600px;
    }
    
    .contact-hero {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }
    
    .contact-hero-content {
        max-width: 100%;
    }
    
    .contact-hero-stats {
        justify-content: center;
    }
}

@media (max-width: 912px) {
    .hero-image-container {
        height: 600px;
        max-height: 600px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 999;
        border-left: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-item {
        font-size: 20px;
        padding: 12px 24px;
        border-radius: 12px;
        width: 200px;
        text-align: center;
    }
}

@media (max-width: 821px) {
    .cases-showcase {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-image-container {
        height: 500px;
        max-height: 500px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    
    .intro {
        padding: 60px 0;
    }
    
    .intro-title {
        font-size: 36px;
        margin-bottom: 25px;
    }
    
    .intro-subtitle {
        font-size: 18px;
        margin-bottom: 40px;
        max-width: 610px;
    }
    
    .intro-subtitle-bot {
        font-size: 18px;
        margin-top: 40px;
        max-width: 610px;
    }

    .cta-button,
    .cta-button-secondary {
        font-size: 16px;
        padding: 14px 28px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .section-subtitle {
        font-size: 18px;
        margin: -20px auto 40px;
    }
    
    .features-layout {
        flex-direction: column;
        gap: 40px;
    }
    
    .feature-image-container {
        flex: none;
        align-self: center;
        max-width: 400px;
    }
    
    .features-content {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .product-content h3 {
        font-size: 28px;
    }
    
    .product-content p {
        font-size: 17px;
    }
    
    .case-video {
        width: 300px;
        height: 400px;
    }
    
    .image-placeholder {
        font-size: 14px;
    }
    
    .section-divider {
        padding: 40px 0;
    }
    
    .divider-content {
        gap: 20px;
    }
    
    .divider-text {
        padding: 0 20px;
    }
    
    .divider-text span {
        font-size: 18px;
    }
    
    .contact-hero-title {
        font-size: 42px;
    }
    
    .contact-hero-subtitle {
        font-size: 20px;
        margin-bottom: 40px;
    }
    
    .contact-hero-stats {
        gap: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 100%;
    }
    
    .primary-method {
        transform: scale(1);
    }
    
    .primary-method:hover {
        transform: translateY(-8px);
    }
    
    .hero-smile-img {
        height: 400px;
    }
    
    .floating-elements {
        right: -10px;
    }
    
    .contact-methods-header h3 {
        font-size: 36px;
    }
    
    .contact-methods-header p {
        font-size: 18px;
    }
    
    .contact-cta-section {
        padding: 60px 40px;
    }
    
    .cta-content h3 {
        font-size: 36px;
    }
    
    .cta-content p {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero-image-container {
        height: 400px;
        max-height: 400px;
    }
    
    .nav {
        padding: 10px 0;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo {
        font-size: 18px;
    }
    
    .nav-menu {
        width: 100%;
        right: -100%;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-item {
        font-size: 18px;
        width: 250px;
    }
    
    
    .intro {
        padding: 50px 0;
    }
    
    .intro-title {
        font-size: 28px;
    }
    
    .intro-subtitle {
        font-size: 16px;
    }
    
    .intro-subtitle-bot {
        font-size: 16px;
    }

    .cta-button,
    .cta-button-secondary {
        font-size: 14px;
        padding: 12px 24px;
        width: 200px;
    }
    
    .cta-button {
        font-size: 16px;
        padding: 14px 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .case-item {
        padding: 20px 15px;
        font-size: 15px;
    }
    
    .feature-title {
        font-size: 20px;
    }
    
    .feature-text {
        font-size: 15px;
    }
    
    .product-content h3 {
        font-size: 24px;
    }
    
    .product-content p {
        font-size: 16px;
    }
    
    .case-video {
        width: 300px;
        height: 400px;
    }
    
    .divider-content {
        gap: 15px;
        flex-direction: column;
    }
    
    .divider-line {
        width: 60px;
        flex: none;
    }
    
    .divider-text {
        padding: 0 15px;
    }
    
    .divider-text span {
        font-size: 16px;
        text-align: center;
    }
    
    .contact-hero-title {
        font-size: 32px;
    }
    
    .contact-hero-subtitle {
        font-size: 18px;
    }
    
    .contact-hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .contact-method {
        padding: 30px 20px;
    }
    
    .method-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-method h4 {
        font-size: 20px;
    }
    
    .hero-smile-img {
        height: 350px;
    }
    
    .floating-elements {
        position: static;
        margin-top: 20px;
    }
    
    .floating-card {
        position: relative;
        max-width: 100%;
    }
    
    .contact-methods-header h3 {
        font-size: 28px;
    }
    
    .contact-methods-header p {
        font-size: 16px;
    }
    
    .contact-cta-section {
        padding: 40px 20px;
    }
    
    .cta-content h3 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 280px;
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 10px;
        width: 45px;
        height: 45px;
    }
    
    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 425px) {
    .treatable-cases {
        padding: 50px 0;
    }
    .features {
        padding: 50px 0;
    }
    .products {
        padding: 50px 0;
    }
    .contact {
        padding: 50px 0;
    }
    .contact-hero {
        margin-bottom: 50px;
    }
}

@media (max-width: 385px) {
    .cases-list {
        gap: 15px;
        flex: 1;
        flex-direction: column;
        display: flex;
        width: 100%;
    }
}