/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #FFFFFF;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #1E88E5;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
}

/* ===== BUTTONS ===== */
.cta-button,
.submit-button {
    display: inline-block;
    background: linear-gradient(135deg, #1E88E5, #00BFA6);
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
}

.cta-button:hover,
.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 136, 229, 0.4);
}

.details-toggle {
    background: transparent;
    border: 2px solid #00BFA6;
    color: #00BFA6;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.details-toggle:hover {
    background: #00BFA6;
    color: white;
    transform: translateY(-1px);
}

/* ===== HEADER & NAVBAR ===== */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(30, 136, 229, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1E88E5;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #222;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #1E88E5;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00BFA6;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: #222;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: right 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-item {
        margin: 1rem 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #F7FBFF 0%, #FFFFFF 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    color: #1E88E5;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tooth-illustration {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 80px 0;
    background: #F7FBFF;
}

.about-content {
    text-align: center;
}

.about-text {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.about-text p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    margin-bottom: 1rem;
}

.feature-item h3 {
    color: #222;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
}

/* ===== PRODUCTS SECTION ===== */
.products {
    padding: 80px 0;
    background: #FFFFFF;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(30, 136, 229, 0.15);
}

.product-card h3 {
    color: #1E88E5;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.product-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-details {
    background: #F7FBFF;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
    border-left: 4px solid #00BFA6;
}

.product-details.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .products {
        padding: 60px 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-card {
        padding: 1.5rem;
    }
}

/* ===== PROCESS SECTION ===== */
.process {
    padding: 80px 0;
    background: #F7FBFF;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    text-align: center;
    min-width: 200px;
    margin-bottom: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1E88E5, #00BFA6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 5px 15px rgba(30, 136, 229, 0.3);
}

.step h3 {
    color: #1E88E5;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.step p {
    color: #666;
    font-size: 0.95rem;
}

.step-arrow {
    font-size: 2rem;
    color: #00BFA6;
    font-weight: bold;
    align-self: center;
    margin: 0 1rem;
}

.process-info {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.process-info p {
    color: #555;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .process {
        padding: 60px 0;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        margin-bottom: 1.5rem;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    
    .process-info {
        padding: 1rem;
    }
    
    .process-info p {
        font-size: 1rem;
    }
}

/* ===== WHY US SECTION ===== */
.why-us {
    padding: 80px 0;
    background: #FFFFFF;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-box {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-box:hover {
    transform: translateY(-8px);
    border-color: #00BFA6;
    box-shadow: 0 15px 40px rgba(0, 191, 166, 0.2);
}

.feature-box .feature-icon {
    margin-bottom: 1.5rem;
}

.feature-box h3 {
    color: #1E88E5;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-box p {
    color: #666;
    line-height: 1.6;
}

.certification-note {
    text-align: center;
    margin-top: 2rem;
}

.certification-note p {
    color: #888;
    font-style: italic;
}

@media (max-width: 768px) {
    .why-us {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-box {
        padding: 2rem 1.5rem;
    }
}

/* ===== FAQ SECTION ===== */
.faq {
    padding: 80px 0;
    background: #F7FBFF;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #F7FBFF;
}

.faq-icon {
    font-size: 1.5rem;
    color: #1E88E5;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 2rem 1.5rem;
    color: #666;
    line-height: 1.7;
}

.faq-answer.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@media (max-width: 768px) {
    .faq {
        padding: 60px 0;
    }
    
    .faq-question {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem 1rem;
    }
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 80px 0;
    background: #FFFFFF;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    color: #1E88E5;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.contact-details {
    background: #F7FBFF;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #00BFA6;
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: #555;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #222;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1E88E5;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #4caf50;
}

.form-message.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #f44336;
}

@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: #222;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00BFA6;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        gap: 1rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus states for keyboard navigation */
.nav-link:focus,
.cta-button:focus,
.details-toggle:focus,
.faq-question:focus,
.form-group input:focus,
.form-group textarea:focus,
.submit-button:focus {
    outline: 2px solid #1E88E5;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero {
        background: #FFFFFF;
    }
    
    .about,
    .process,
    .faq {
        background: #F5F5F5;
    }
    
    .feature-item,
    .product-card,
    .feature-box,
    .faq-item {
        border: 2px solid #222;
    }
}