/* ===========================
   PriceMySmile Landing Page Styles
   =========================== */

/* Root Variables */
:root {
    --color-primary: #10B981;
    --color-teal: #14B8A6;
    --color-blue: #3B82F6;
    --color-purple: #8B5CF6;
    --color-indigo: #6366F1;
    --color-red: #DC2626;
    --color-pink: #EC4899;
    --color-orange: #D97706;
    --color-gray: #4B5563;
    --color-gray-light: #9CA3AF;
    --color-gray-lighter: #E5E7EB;
    --color-mint-bg: #D1FAE5;
    --color-black: #1F2937;
    --color-white: #FFFFFF;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--color-black);
    line-height: 1.6;
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ===========================
   Header Styles
   =========================== */
.pms-header {
    background: var(--color-white);
    padding: 20px 0;
    border-bottom: 1px solid var(--color-gray-lighter);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-black);
}

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

.logo-text strong {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.logo-text .text-teal {
    color: var(--color-teal);
}

.logo-text small {
    font-size: 9px;
    font-weight: 500;
    color: var(--color-gray-light);
    letter-spacing: 0.5px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.main-nav .nav-link {
    text-decoration: none;
    color: var(--color-black);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--color-teal);
}

.main-nav .nav-link.active {
    border-bottom: 2px solid var(--color-teal);
    padding-bottom: 2px;
}

.providers-link {
    color: var(--color-indigo) !important;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-sign-in {
    background: var(--color-black);
    color: var(--color-white);
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-sign-in:hover {
    background: var(--color-gray);
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-black);
    transition: all 0.3s ease;
}

/* ===========================
   Hero Section
   =========================== */
.hero-section {
    background: linear-gradient(180deg, #D1FAE5 0%, #E0F2FE 100%);
    padding: 80px 0 100px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.badge-update {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-gray);
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-black);
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-gray);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-custom {
    background: var(--color-black);
    color: var(--color-white);
}

.btn-primary-custom:hover {
    background: var(--color-gray);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary-custom {
    background: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--color-gray-lighter);
}

.btn-secondary-custom:hover {
    background: var(--color-gray-lighter);
    border-color: var(--color-gray-light);
    transform: translateY(-2px);
}

/* ===========================
   Price Explorer Section
   =========================== */
.price-explorer-section {
    padding-top: 60px;
    padding-bottom: 30px;
    background: var(--color-white);
    margin-top: -40px;
}

.price-explorer-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--color-gray-light);
    margin-bottom: 32px;
}

.zip-code-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--color-gray-lighter);
    border-radius: 12px;
    padding: 4px;
}

.input-icon {
    position: absolute;
    left: 20px;
    pointer-events: none;
}

.zip-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 16px 16px 16px 52px;
    font-size: 16px;
    color: var(--color-black);
    outline: none;
}

.zip-input::placeholder {
    color: var(--color-gray-light);
}

.btn-locate {
    background: none;
    border: none;
    padding: 12px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    margin-right: 8px;
}

.btn-locate:hover {
    opacity: 0.7;
}

.btn-update-estimates {
    background: var(--color-teal);
    color: var(--color-white);
    padding: 16px 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-update-estimates:hover {
    background: #0F9E7A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

/* ===========================
   Procedures Section
   =========================== */
.procedures-section {
    padding-top: 60px;
    padding-bottom: 80px;
    background: var(--color-white);
}

.procedures-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 24px;
}

.search-wrapper {
    position: relative;
    min-width: 300px;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 48px;
    border: 1px solid var(--color-gray-lighter);
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: all 0.2s ease;
}

.search-input:focus {
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.search-input::placeholder {
    color: var(--color-gray-light);
}

.procedures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.procedure-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-lighter);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.procedure-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.procedure-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: all 0.3s ease;
}

.procedure-card:hover .procedure-icon {
    transform: scale(1.1);
}

.procedure-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-black);
    margin: 0;
}

/* ===========================
   Responsive Styles
   =========================== */
@media (max-width: 992px) {
    .procedures-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }

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

    .procedures-header {
        flex-direction: column;
        align-items: stretch;
    }

    .search-wrapper {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

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

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

    .price-explorer-card {
        padding: 32px 24px;
    }

    .section-title {
        font-size: 24px;
    }

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

    .zip-code-form {
        gap: 12px;
    }

    .input-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-locate {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-section {
        padding: 60px 0 80px;
    }

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

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .procedures-grid {
        grid-template-columns: 1fr;
    }

    .price-explorer-card {
        padding: 24px 16px;
    }
}
