/*
Theme Name: Smileligner
Description: Professional WordPress theme for Smileligner - Revolutionary Daily Aligners
Version: 1.0
Author: Smileligner Team
*/

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

body {
    font-family: 'Roboto', 'Inter', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #212121;
    background-color: #fafafa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header Styles */
.header {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    transition: padding 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: auto;
    max-width: 200px;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav a {
    text-decoration: none;
    color: #616161;
    font-weight: 500;
    transition: color 0.2s ease;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #1976d2;
    transition: width 0.3s ease;
}

.nav a:hover {
    color: #1976d2;
}

.nav a:hover::after {
    width: 100%;
}

.cta-button {
    background: #1976d2;
    color: white;
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
}

.cta-button:hover {
    background: #1565c0;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.4);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(25, 118, 210, 0.1) 0%, transparent 70%);
    transform: rotate(15deg);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 300;
    color: #212121;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero .highlight {
    color: #1976d2;
    font-weight: 500;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: #757575;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-primary {
    background: #1976d2;
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    box-shadow: 0 3px 12px rgba(25, 118, 210, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #1976d2;
    padding: 1rem 2.5rem;
    border: 2px solid #1976d2;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: #1565c0;
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.4);
    transform: translateY(-2px);
}

.btn-secondary:hover {
    background: #1976d2;
    color: white;
    box-shadow: 0 3px 12px rgba(25, 118, 210, 0.3);
}

/* Key Stats Section */
.key-stats {
    padding: 80px 0;
    background: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    background: #ffffff;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #1976d2;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 300;
    color: #1976d2;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #757575;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Problem Section */
.problem-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fef2f2, #fef7f7);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 1rem;
    color: #212121;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #757575;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    font-weight: 400;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #dc2626;
}

/* Solution Section */
.solution-section {
    padding: 100px 0;
    background: #e8f5e8;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border-left: 4px solid #4caf50;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.solution-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #4caf50;
    opacity: 0.9;
}

.solution-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2e7d32;
    font-weight: 500;
}

.solution-card p {
    color: #616161;
    line-height: 1.6;
}

/* Clinical Results */
.clinical-results {
    padding: 100px 0;
    background: #ffffff;
}

.results-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.result-card {
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.result-card:hover {
    transform: translateY(-4px);
}

.daily-aligners {
    background: #ffffff;
    border-left: 6px solid #4caf50;
}

.traditional-aligners {
    background: #ffffff;
    border-left: 6px solid #f44336;
}

.result-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-metric {
    font-size: 3rem;
    font-weight: 300;
    display: block;
    margin: 1rem 0;
}

.daily-aligners .result-metric {
    color: #4caf50;
}

.daily-aligners .result-title {
    color: #2e7d32;
}

.traditional-aligners .result-metric {
    color: #f44336;
}

.traditional-aligners .result-title {
    color: #d32f2f;
}

/* Technology Section */
.technology-section {
    padding: 100px 0;
    background: #f5f5f5;
}

.tech-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid #1976d2;
}

.tech-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.tech-icon {
    font-size: 3rem;
    color: #1976d2;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.tech-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #212121;
    font-weight: 500;
}

.tech-card p {
    color: #616161;
    line-height: 1.6;
}

/* Sustainability Section */
.sustainability-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.sustainability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.sustainability-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.sustainability-icon {
    font-size: 2.5rem;
    color: #059669;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: #263238;
    color: white;
    text-align: center;
}

.contact-section .section-title {
    color: white;
}

.contact-section .section-subtitle {
    color: #b0bec5;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.contact-card {
    background: #37474f;
    padding: 3rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border-top: 4px solid #1976d2;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 500;
}

.contact-card p {
    color: #b0bec5;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: #212121;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #1976d2;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
}

.footer-section a {
    color: #bdbdbd;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: #1976d2;
}

.footer-section p {
    color: #bdbdbd;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #424242;
    padding-top: 2rem;
    text-align: center;
    color: #9e9e9e;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .results-comparison {
        grid-template-columns: 1fr;
    }
    
    .nav ul {
        display: none;
    }
    
    .header-content {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-in-up {
    animation: slideInUp 0.6s ease-out forwards;
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Material Design Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.ripple:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 1;
    }
    20% {
        transform: scale(25, 25);
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-blue {
    color: #1976d2;
}

.text-accent {
    color: #4caf50;
}

.bg-gradient {
    background: linear-gradient(135deg, #1976d2, #42a5f5);
}

.elevation-1 {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.elevation-2 {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.elevation-3 {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.rounded {
    border-radius: 4px;
}

.rounded-lg {
    border-radius: 8px;
}

/* Material Design Typography */
.mat-display-4 {
    font-size: 7rem;
    font-weight: 300;
    line-height: 1;
}

.mat-display-3 {
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.2;
}

.mat-display-2 {
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.2;
}

.mat-display-1 {
    font-size: 2.1rem;
    font-weight: 400;
    line-height: 1.3;
}

.mat-headline {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.4;
}

.mat-title {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
}

.mat-subheading {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

.mat-body {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.6;
}

.mat-caption {
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.4;
}
