/* ============================================
   MICROCLEAN SMILE LLC - GLOBAL STYLES
   ============================================ */

/* RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    color: #2c3e50;
    line-height: 1.6;
    min-height: 100vh;
}

/* ============================================
   COOKIE CONSENT
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #d0e8ff;
    padding: 16px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    z-index: 1000;
    transform: translateY(0);
    transition: transform 0.3s ease;
    flex-wrap: wrap;
}

.cookie-consent.hidden {
    transform: translateY(100%);
    pointer-events: none;
}

.cookie-text {
    flex: 1;
    font-size: 13px;
    color: #555;
    min-width: 250px;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-accept {
    background: #4a90e2;
    color: white;
}

.btn-accept:hover {
    background: #357abd;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.btn-decline {
    background: #f0f0f0;
    color: #555;
    border: 1px solid #ddd;
}

.btn-decline:hover {
    background: #e8e8e8;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
    background: white;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 20px;
}

.logo {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #4a90e2;
    letter-spacing: -0.5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    padding: 8px 0;
}

nav a:hover {
    color: #4a90e2;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: linear-gradient(135deg, #e6f2ff 0%, #d4e8ff 100%);
    padding: 40px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(74, 144, 226, 0.2);
}

.page-header h1 {
    font-family: 'Manrope', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #1a3a52;
    margin-bottom: 12px;
    line-height: 1.2;
}

.page-header p {
    font-size: 15px;
    color: #666;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.section-title {
    font-family: 'Manrope', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #1a3a52;
    margin-bottom: 16px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 40px;
}

.section {
    margin-bottom: 32px;
}

.section h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1a3a52;
    margin-bottom: 16px;
}

.section p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
}

.section ul {
    list-style: none;
    padding-left: 0;
}

.section li {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
}

.section li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4a90e2;
    font-weight: bold;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    display: inline-block;
    background: #4a90e2;
    color: white;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 15px;
    white-space: nowrap;
}

.btn-primary:hover {
    background: #357abd;
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.4);
    transform: translateY(-2px);
}

.btn-submit {
    background: #4a90e2;
    color: white;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    background: #357abd;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    transform: translateY(-2px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, #ffffff 0%, #e6f2ff 100%);
    padding: 60px 20px;
    text-align: center;
    border-radius: 16px;
    margin-bottom: 40px;
}

.hero h1 {
    font-family: 'Manrope', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #1a3a52;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    color: #666;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-section {
    margin-bottom: 60px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px);
}

.product-image {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a3a52;
    margin-bottom: 8px;
}

.product-category {
    font-size: 11px;
    color: #4a90e2;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.product-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-features {
    list-style: none;
    margin-bottom: 16px;
    flex-grow: 1;
}

.product-features li {
    font-size: 13px;
    color: #777;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4a90e2;
    font-weight: bold;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    padding: 48px 20px;
    text-align: center;
    border-radius: 12px;
    margin-top: 60px;
}

.cta-banner h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.cta-banner p {
    font-size: 16px;
    margin-bottom: 24px;
    opacity: 0.95;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info h2,
.form-section h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1a3a52;
    margin-bottom: 24px;
}

.contact-item {
    margin-bottom: 32px;
}

.contact-item h3 {
    font-size: 13px;
    font-weight: 600;
    color: #4a90e2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.contact-item p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.contact-item a {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* ============================================
   FORM ELEMENTS
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

input, textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* ============================================
   MESSAGES
   ============================================ */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: none;
    font-size: 14px;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: none;
    font-size: 14px;
    border: 1px solid #f5c6cb;
}

/* ============================================
   HIGHLIGHT BOX
   ============================================ */
.highlight-box {
    background: linear-gradient(135deg, #e6f2ff 0%, #f0f8ff 100%);
    border-left: 4px solid #4a90e2;
    padding: 20px;
    border-radius: 8px;
    margin: 24px 0;
}

.highlight-box p {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

/* ============================================
   VALUES GRID
   ============================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.value-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.value-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.value-card h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1a3a52;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 13px;
    color: #777;
    line-height: 1.5;
}

/* ============================================
   OWNER SECTION
   ============================================ */
.owner-section {
    background: white;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin: 40px 0;
}

.owner-section h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #1a3a52;
    margin-bottom: 12px;
}

.owner-section p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* ============================================
   LAST UPDATED
   ============================================ */
.last-updated {
    font-size: 13px;
    color: #999;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: #1a3a52;
    color: white;
    padding: 48px 20px 24px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #4a90e2;
}

.footer-section p, .footer-section a {
    font-size: 13px;
    color: #bbb;
    line-height: 1.7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #4a90e2;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    color: #999;
    font-size: 12px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* TABLET (768px and below) */
@media (max-width: 768px) {
    nav {
        padding: 12px 16px;
    }

    .logo {
        font-size: 20px;
    }

    nav ul {
        gap: 20px;
    }

    nav a {
        font-size: 13px;
        padding: 6px 0;
    }

    .page-header {
        padding: 32px 16px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    main {
        padding: 32px 16px;
    }

    .hero {
        padding: 40px 16px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .section h2 {
        font-size: 20px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 24px;
    }

    .product-image {
        height: 200px;
    }

    .product-content {
        padding: 20px;
    }

    .product-name {
        font-size: 18px;
    }

    .cta-banner {
        padding: 40px 16px;
    }

    .cta-banner h2 {
        font-size: 22px;
    }

    .cta-banner p {
        font-size: 14px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 20px;
    }

    footer {
        padding: 40px 16px 20px;
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 24px;
    }

    .cookie-text {
        font-size: 12px;
        min-width: 200px;
    }

    .btn-cookie {
        font-size: 12px;
        padding: 8px 16px;
    }
}

/* MOBILE (480px and below) */
@media (max-width: 480px) {
    nav {
        flex-direction: column;
        gap: 12px;
        padding: 12px 12px;
    }

    .logo {
        font-size: 18px;
    }

    nav ul {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    nav a {
        font-size: 12px;
        padding: 4px 0;
    }

    .page-header {
        padding: 24px 12px;
    }

    .page-header h1 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .page-header p {
        font-size: 13px;
    }

    main {
        padding: 24px 12px;
    }

    .hero {
        padding: 32px 12px;
    }

    .hero h1 {
        font-size: 22px;
    }

    .hero p {
        font-size: 14px;
    }

    .btn-primary {
        padding: 12px 24px;
        font-size: 14px;
    }

    .section-title {
        font-size: 20px;
    }

    .section h2 {
        font-size: 18px;
    }

    .section p, .section li {
        font-size: 14px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        margin: 0;
    }

    .cta-banner {
        padding: 32px 12px;
    }

    .cta-banner h2 {
        font-size: 18px;
    }

    .cta-banner p {
        font-size: 13px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .value-card {
        padding: 16px;
    }

    .contact-grid {
        gap: 24px;
    }

    .contact-info h2,
    .form-section h2 {
        font-size: 20px;
    }

    label {
        font-size: 12px;
    }

    input, textarea {
        font-size: 13px;
        padding: 10px 12px;
    }

    .btn-submit {
        padding: 10px 20px;
    }

    footer {
        padding: 32px 12px 16px;
        margin-top: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-section h3 {
        font-size: 13px;
    }

    .footer-section p, .footer-section a {
        font-size: 12px;
    }

    .cookie-consent {
        padding: 12px 12px;
        gap: 12px;
    }

    .cookie-text {
        font-size: 11px;
        min-width: 160px;
    }

    .cookie-buttons {
        width: 100%;
        gap: 8px;
    }

    .btn-cookie {
        font-size: 11px;
        padding: 6px 12px;
        flex: 1;
    }
}

.success-message, .error-message {
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.success-message[style*="block"] {
    opacity: 1;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
