/* ============================================
   AMP Systems - Corporate Website
   Brand DNA from PSA: red accent, dark chrome, clean type
   ============================================ */

:root {
    --amp-red: #dc3545;
    --amp-dark-red: #C53030;
    --amp-deep-red: #a71d2a;
    --amp-black: #000000;
    --amp-charcoal: #1a1a1a;
    --amp-dark-gray: #2D3748;
    --amp-medium-gray: #4A5568;
    --amp-light-gray: #E2E8F0;
    --amp-off-white: #f8f9fa;
    --amp-white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--amp-dark-gray);
    background: #e5e7eb;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--amp-charcoal);
}

a {
    color: var(--amp-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--amp-dark-red);
}

img {
    max-width: 100%;
    height: auto;
}

/* === Navigation === */
.navbar {
    background: var(--amp-black);
    border-bottom: 3px solid var(--amp-red);
    padding: 0.6rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: var(--amp-white) !important;
    font-size: 1.15rem;
    letter-spacing: 0.3px;
}

.navbar-brand img {
    height: 38px;
    width: auto;
    margin-right: 10px;
}

.navbar-brand span {
    font-weight: 300;
    opacity: 0.7;
    margin-left: 4px;
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.2);
    padding: 0.4rem 0.6rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--amp-white) !important;
}

.nav-link.active {
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--amp-red);
}

.nav-cta {
    background: var(--amp-red) !important;
    color: var(--amp-white) !important;
    border-radius: 6px;
    padding: 0.4rem 1.2rem !important;
    font-weight: 600;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--amp-dark-red) !important;
    transform: translateY(-1px);
}

/* === Hero Section === */
.hero {
    background: linear-gradient(135deg, var(--amp-black) 0%, var(--amp-charcoal) 50%, #2a1015 100%);
    color: var(--amp-white);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(220,53,69,0.12) 0%, transparent 60%);
    pointer-events: none;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--amp-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero h1 .text-red {
    color: var(--amp-red);
}

.hero .lead {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    max-width: 560px;
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.7;
}

.hero-phone {
    display: inline-flex;
    align-items: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.hero-phone i {
    color: var(--amp-red);
    margin-right: 8px;
}

.hero-phone a {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

.hero-phone a:hover {
    color: var(--amp-white);
}

/* === Buttons === */
.btn-amp {
    background: linear-gradient(135deg, var(--amp-red), var(--amp-dark-red));
    border: none;
    color: var(--amp-white);
    padding: 0.7rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.btn-amp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220,53,69,0.4);
    color: var(--amp-white);
}

.btn-outline-light-amp {
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--amp-white);
    padding: 0.65rem 2rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-light-amp:hover {
    border-color: var(--amp-white);
    background: rgba(255,255,255,0.08);
    color: var(--amp-white);
}

/* === Section Styling === */
.section {
    padding: 5rem 0;
}

.section-dark {
    background: var(--amp-charcoal);
    color: var(--amp-white);
}

.section-gray {
    background: transparent;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--amp-medium-gray);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-dark .section-subtitle {
    color: rgba(255,255,255,0.6);
}

.section-dark .section-title {
    color: var(--amp-white);
}

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--amp-red);
    margin-bottom: 0.75rem;
}

/* === Service Cards === */
.service-card {
    background: var(--amp-white);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    height: 100%;
    border: 1px solid var(--amp-light-gray);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--amp-red), var(--amp-dark-red));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.08);
    border-color: transparent;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card .icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.icon-red {
    background: rgba(220,53,69,0.1);
    color: var(--amp-red);
}

.icon-blue {
    background: rgba(49,130,206,0.1);
    color: #3182CE;
}

.icon-green {
    background: rgba(40,167,69,0.1);
    color: #28a745;
}

.icon-purple {
    background: rgba(128,90,213,0.1);
    color: #805AD5;
}

.icon-orange {
    background: rgba(237,137,54,0.1);
    color: #ED8936;
}

.icon-teal {
    background: rgba(56,178,172,0.1);
    color: #38B2AC;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--amp-medium-gray);
    line-height: 1.65;
    margin-bottom: 0;
}

/* === Feature List === */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--amp-medium-gray);
    display: flex;
    align-items: flex-start;
}

.feature-list li i {
    color: var(--amp-red);
    margin-right: 10px;
    margin-top: 4px;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.feature-list li span,
.feature-list li > :not(i) {
    flex: 1;
}

/* === Value Props / Stats Bar === */
.value-bar {
    background: var(--amp-charcoal);
    padding: 3rem 0;
    color: var(--amp-white);
}

.value-item {
    text-align: center;
    padding: 1rem;
}

.value-item .number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--amp-red);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.value-item .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

/* === Highlight Block === */
.highlight-block {
    background: var(--amp-white);
    border-radius: 12px;
    padding: 2.5rem;
    border-left: 4px solid var(--amp-red);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    height: 100%;
    transition: all 0.3s ease;
}

.highlight-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.08);
}

.highlight-block h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.highlight-block p {
    font-size: 0.95rem;
    color: var(--amp-medium-gray);
    line-height: 1.7;
}

.highlight-block .section-label {
    margin-bottom: 0.5rem;
}

.highlight-block .divider {
    margin: 0.75rem 0 1.25rem;
}

/* === Service Tier Cards === */
.tier-card {
    background: var(--amp-white);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--amp-light-gray);
    height: 100%;
    transition: all 0.3s ease;
}

.tier-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.tier-card.featured {
    border-color: var(--amp-red);
    position: relative;
}

.tier-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--amp-red);
    color: var(--amp-white);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.25rem 1rem;
    border-radius: 20px;
}

.tier-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.tier-card h3 .fa-medal.bronze { color: #cd7f32; }
.tier-card h3 .fa-medal.silver { color: #c0c0c0; }
.tier-card h3 .fa-medal.gold { color: #ffd700; }

.tier-card .tier-desc {
    font-size: 0.85rem;
    color: var(--amp-medium-gray);
    margin-bottom: 1.5rem;
}

.tier-card .tier-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 2rem;
}

.tier-card .tier-features li {
    padding: 0.4rem 0;
    font-size: 0.85rem;
    color: var(--amp-medium-gray);
    border-bottom: 1px solid var(--amp-light-gray);
}

.tier-card .tier-features li:last-child {
    border-bottom: none;
}

.tier-card .tier-features li i {
    color: var(--amp-red);
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

/* === About / Team === */
.team-block {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--amp-red), var(--amp-dark-red));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amp-white);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.team-block h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.team-block .role {
    font-size: 0.8rem;
    color: var(--amp-medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* === Contact === */
.contact-info-card {
    background: var(--amp-white);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--amp-light-gray);
    height: 100%;
}

.contact-info-card h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--amp-red);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.contact-item i {
    color: var(--amp-red);
    margin-right: 12px;
    margin-top: 3px;
    width: 18px;
    text-align: center;
}

.contact-item .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--amp-medium-gray);
    font-weight: 600;
    display: block;
}

.contact-item .value {
    font-size: 0.95rem;
    color: var(--amp-dark-gray);
    font-weight: 500;
}

.contact-item a {
    color: var(--amp-dark-gray);
}

.contact-item a:hover {
    color: var(--amp-red);
}

/* === Contact Form === */
.form-control {
    border: 1px solid var(--amp-light-gray);
    border-radius: 6px;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--amp-red);
    box-shadow: 0 0 0 3px rgba(220,53,69,0.1);
}

.form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--amp-dark-gray);
    margin-bottom: 0.3rem;
}

/* === Footer === */
.footer {
    background: var(--amp-black);
    color: rgba(255,255,255,0.6);
    padding: 3rem 0 1.5rem;
    border-top: 3px solid var(--amp-red);
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-brand img {
    height: 30px;
    margin-right: 10px;
}

.footer-brand span {
    color: var(--amp-white);
    font-weight: 700;
    font-size: 1rem;
}

.footer p {
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 360px;
}

.footer h6 {
    color: var(--amp-white);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--amp-white);
}

.footer-contact a {
    color: rgba(255,255,255,0.6);
}

.footer-contact a:hover {
    color: var(--amp-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    font-size: 0.8rem;
}

/* === Utility === */
.text-red {
    color: var(--amp-red);
}

.bg-red-subtle {
    background: rgba(220,53,69,0.06);
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--amp-red);
    border: none;
    margin: 1rem 0 2rem;
}

.divider-center {
    margin-left: auto;
    margin-right: auto;
}

/* === Responsive === */
@media (max-width: 991px) {
    .hero {
        padding: 6rem 0 4rem;
    }

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

    .navbar-collapse {
        background: var(--amp-charcoal);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 0.5rem;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 0.5rem;
        display: inline-block;
    }
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .highlight-block {
        padding: 2rem 1.5rem;
    }

    .team-block {
        flex-direction: column;
        text-align: center;
    }

    .value-item {
        margin-bottom: 1rem;
    }
}
