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

html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafbfc;
    min-height: 100vh;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #3498db;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
    border-radius: 0 0 4px 0;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* Header */
header {
    background-color: #2c3e50;
    color: white;
    padding: 2rem 0;
}

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

.header-text {
    text-align: center;
    flex: 1;
}

.site-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.2rem;
    color: #ecf0f1;
    font-weight: 300;
}

header .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 44px;
    min-width: 44px;
}

header .social-link:hover {
    color: #3498db;
    transform: scale(1.1);
}

header .social-link:active {
    transform: scale(1);
}

header .social-link:focus {
    outline: 2px solid #3498db;
    outline-offset: 4px;
    border-radius: 4px;
}

header .social-link:focus:not(:focus-visible) {
    outline: none;
}

header .social-link:focus-visible {
    outline: 2px solid #3498db;
    outline-offset: 4px;
    border-radius: 4px;
}

header .linkedin-icon {
    width: 28px;
    height: 28px;
}

/* Hero Section */
.hero {
    background-color: white;
    padding: 4rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.hero h1 {
    font-size: 2.8rem;
    color: #1a202c;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.subheading {
    font-size: 1.4rem;
    color: #4a5568;
    margin-bottom: 2rem;
    font-weight: 500;
    line-height: 1.5;
}

.hero p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

.credentials {
    color: #4a5568;
    margin-top: 2rem;
    font-size: 1.05rem;
    line-height: 1.7;
    padding: 1.5rem;
    background-color: #f7fafc;
    border-left: 4px solid #3498db;
    border-radius: 4px;
}

.credentials strong {
    color: #2c3e50;
    font-weight: 700;
}

/* Services Section */
.services {
    padding: 4rem 0;
}

.services > .container > h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    text-align: center;
}

/* Tier Cards Container */
.tier-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Individual Tier Card */
.tier-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    border: 2px solid transparent;
}

.tier-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: #e8f4f8;
    background-color: #fdfefe;
}

.tier-card:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

.tier-card:focus:not(:focus-visible) {
    outline: none;
}

.tier-card:focus-visible {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

.tier-card:active {
    transform: translateY(-2px);
}

.tier-card.expanded {
    grid-column: span 3;
}

/* Card Header */
.card-header {
    margin-bottom: 1.5rem;
}

.card-header h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.tier-subtitle {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 0.75rem;
}

.tier-label {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.tier-card.primary .tier-label {
    background-color: #3498db;
    color: white;
}

.tier-card.secondary .tier-label {
    background-color: #2ecc71;
    color: white;
}

.tier-card.entry .tier-label {
    background-color: #95a5a6;
    color: white;
}

/* Card Preview (Always Visible) */
.card-preview {
    display: flex;
    flex-direction: column;
    min-height: 120px;
}

.card-preview h4 {
    font-size: 1.1rem;
    color: #34495e;
    margin-bottom: 0.5rem;
}

.card-preview p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.click-hint {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: auto;
    padding-top: 0.75rem;
    font-weight: 500;
    text-align: center;
}

.tier-card:hover .click-hint {
    color: #3498db;
}

/* Card Expanded Content (Hidden by Default) */
.card-expanded {
    display: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #ecf0f1;
}

.tier-card.expanded .card-expanded {
    display: block;
}

.card-expanded h4 {
    font-size: 1.3rem;
    color: #34495e;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.card-expanded h4:first-child {
    margin-top: 0;
}

.card-expanded h5 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.card-expanded ul {
    list-style-position: inside;
    margin-left: 0;
    color: #555;
}

.card-expanded li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.card-expanded p {
    color: #555;
    line-height: 1.7;
}

/* Engagement Options */
.engagement-options {
    margin-top: 1.5rem;
}

.option {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid #3498db;
}

/* ROI Section */
.roi {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    border-radius: 4px;
    margin-top: 1.5rem;
}

.roi p {
    color: #1a202c;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.roi strong {
    color: #d97706;
    font-weight: 700;
}

/* Abbreviation Styling */
abbr {
    text-decoration: underline dotted;
    cursor: help;
}

/* Expand Indicator */
.expand-indicator {
    display: none;
    text-align: center;
    color: #95a5a6;
    font-size: 1.2rem;
    margin-top: 1rem;
    transition: transform 0.3s ease;
}

.tier-card.expanded .expand-indicator {
    display: block;
    transform: rotate(180deg);
}

/* CTA Section */
.cta {
    background-color: #2c3e50;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ecf0f1;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    min-height: 44px;
    min-width: 44px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    text-align: center;
}

.button.primary {
    background-color: #2563eb;
    color: white;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.button.primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.button.primary:active {
    transform: translateY(0);
}

.button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.button.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

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

.button.secondary:active {
    transform: translateY(0);
}

/* Footer */
footer {
    background-color: #34495e;
    color: #ecf0f1;
    text-align: center;
    padding: 2rem 0;
}

footer p {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tier-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tier-card.expanded {
        grid-column: span 1;
    }

    .hero {
        padding: 3rem 0;
    }

    .services {
        padding: 3rem 0;
    }

    .cta {
        padding: 3rem 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    header {
        padding: 1.5rem 0;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .header-text {
        order: 1;
    }

    header .social-link {
        order: 2;
    }

    .site-title {
        font-size: 1.75rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .subheading {
        font-size: 1.15rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .credentials {
        font-size: 0.95rem;
        padding: 1.25rem;
    }

    .services {
        padding: 2rem 0;
    }

    .services > .container > h2 {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    .tier-card {
        padding: 1.5rem;
    }

    .card-header h3 {
        font-size: 1.25rem;
    }

    .tier-subtitle {
        font-size: 0.85rem;
    }

    .card-preview h4 {
        font-size: 1rem;
    }

    .card-preview p {
        font-size: 0.9rem;
    }

    .card-expanded h4 {
        font-size: 1.15rem;
    }

    .card-expanded h5 {
        font-size: 1rem;
    }

    .card-expanded li,
    .card-expanded p {
        font-size: 0.9rem;
    }

    .cta {
        padding: 2.5rem 0;
    }

    .cta h2 {
        font-size: 1.5rem;
    }

    .cta p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .button {
        width: 100%;
        max-width: 320px;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    footer {
        padding: 1.5rem 0;
    }

    footer p {
        font-size: 0.85rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .site-title {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .subheading {
        font-size: 1.05rem;
    }

    .credentials {
        font-size: 0.9rem;
        padding: 1rem;
    }

    .tier-card {
        padding: 1.25rem;
    }

    .card-header h3 {
        font-size: 1.15rem;
    }

    .button {
        max-width: 100%;
    }
}

/* Landscape mobile optimization */
@media (max-height: 500px) and (orientation: landscape) {
    header {
        padding: 1rem 0;
    }

    .hero,
    .services,
    .cta {
        padding: 1.5rem 0;
    }

    .tier-card {
        padding: 1rem;
    }
}
