/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    --primary-blue: #0A2342;
    --primary-orange: #FF6B35;
    --accent-teal: #4ECDC4;
    --success-green: #10B981;
    --neutral-dark: #2C3E50;
    --neutral-gray: #6B7280;
    --neutral-light: #F7F7F7;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--neutral-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.logo img {
    height: 126px;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--neutral-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-orange);
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===========================
   Buttons
   =========================== */
.btn-primary,
.btn-secondary,
.btn-primary-small,
.btn-primary-full {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: #E55A28;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary-small {
    padding: 0.625rem 1.25rem;
    background-color: var(--primary-orange);
    color: var(--white);
}

.btn-primary-small:hover {
    background-color: #E55A28;
}

.btn-primary-full {
    width: 100%;
    text-align: center;
    background-color: var(--primary-orange);
    color: var(--white);
}

.btn-primary-full:hover {
    background-color: #E55A28;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    margin-top: 126px;
    padding: 1.5rem 0 2rem 0;
    background: linear-gradient(135deg, #0A2342 0%, #1a3a5a 100%);
    color: var(--white);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(78, 205, 196, 0.2);
    color: var(--accent-teal);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid var(--accent-teal);
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ===========================
   Section Headers
   =========================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: 800;
    max-width: 800px;
    margin: 0 auto;
}

/* ===========================
   Services Section
   =========================== */
.services {
    padding: 6rem 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    padding: 2rem;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 80px;
    height: 80px;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--neutral-gray);
    line-height: 1.7;
}

/* ===========================
   Featured Offer Section
   =========================== */
.featured-offer {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--neutral-light) 0%, #e8eef3 100%);
}

.offer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.offer-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-orange);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.offer-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.offer-description {
    font-size: 1.15rem;
    color: var(--neutral-gray);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.offer-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.detail-item svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.detail-item span {
    color: var(--neutral-dark);
    font-weight: 500;
}

.offer-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--primary-orange);
    position: sticky;
    top: 120px;
}

.offer-price {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--neutral-light);
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.price-period {
    font-size: 1rem;
    color: var(--neutral-gray);
}

.offer-includes h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.offer-includes ul {
    list-style: none;
    margin-bottom: 2rem;
}

.offer-includes li {
    padding: 0.75rem 0;
    color: var(--neutral-dark);
    border-bottom: 1px solid var(--neutral-light);
}

.offer-includes li:last-child {
    border-bottom: none;
}

/* ===========================
   Why Catalyst Section
   =========================== */
.why-catalyst {
    padding: 6rem 0;
    background-color: var(--white);
}

.comparison-table {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
}

.comparison-mobile {
    display: none;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    border-bottom: 1px solid var(--neutral-light);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row.header {
    background-color: var(--primary-blue);
    color: var(--white);
    font-weight: 700;
}

.comparison-cell {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-row:not(.header) .comparison-cell:first-child {
    justify-content: flex-start;
    font-weight: 600;
    color: var(--primary-blue);
}

.comparison-cell.highlight {
    background-color: rgba(78, 205, 196, 0.1);
    font-weight: 600;
    color: var(--primary-blue);
}

.comparison-row.header .comparison-cell.highlight {
    background-color: var(--primary-orange);
    color: var(--white);
}

.why-callout {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8555 100%);
    color: var(--white);
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}

.why-callout p {
    font-weight: 700;
}

.why-callout strong {
    font-weight: 900;
}

/* ===========================
   Team Section
   =========================== */
.team {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--neutral-light) 0%, #e8eef3 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.team-member {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.member-avatar {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.team-member h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.member-role {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.team-member p {
    color: var(--neutral-gray);
    line-height: 1.7;
}

/* ===========================
   Contact Section
   =========================== */
.contact {
    padding: 6rem 0;
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-text h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.contact-text p {
    font-size: 1.15rem;
    color: var(--neutral-gray);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item svg {
    flex-shrink: 0;
}

.contact-item span {
    font-weight: 500;
    color: var(--neutral-dark);
}

.contact-form-card {
    background-color: var(--neutral-light);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1200px) {
    .services-grid {
        gap: 1.25rem;
    }

    .service-card {
        padding: 1.75rem;
    }

    .service-card h3 {
        font-size: 1.35rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 1024px) {
    .offer-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .offer-card {
        position: static;
    }

    .comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }

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

@media (max-width: 768px) {
    * {
        max-width: 100%;
        box-sizing: border-box;
    }

    body, html {
        max-width: 100vw;
        overflow-x: hidden;
        position: relative;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    .container {
        padding: 0 1rem;
        max-width: 100vw;
        overflow-x: hidden;
        position: relative;
    }

    section {
        position: relative;
        overflow-x: hidden;
    }

    .nav-links {
        display: none;
    }

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

    .hero {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
        word-wrap: break-word;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.2rem;
    }

    .services .section-subtitle br {
        display: none;
    }

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

    .service-icon svg {
        width: 56px;
        height: 56px;
    }

    /* Mobile comparison cards */
    .comparison-table {
        display: none;
    }

    .comparison-mobile {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }

    .comparison-card {
        background: var(--white);
        border-radius: 12px;
        padding: 1.5rem;
        box-shadow: var(--shadow-md);
        border-left: 4px solid var(--primary-orange);
    }

    .comparison-card-title {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--primary-blue);
        margin-bottom: 1rem;
    }

    .comparison-option {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .comparison-option:last-child {
        border-bottom: none;
    }

    .comparison-option-name {
        font-size: 0.9rem;
        color: var(--neutral-gray);
        font-weight: 500;
    }

    .comparison-option-value {
        font-size: 0.95rem;
        font-weight: 600;
    }

    .comparison-option-value.highlight {
        color: var(--primary-orange);
    }

    .why-callout {
        font-size: 1rem;
        padding: 1.5rem 1rem;
    }

    .why-callout p {
        line-height: 1.8;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .why-callout br {
        display: block;
        content: "";
        margin-top: 0.5rem;
    }

    .offer-text h2,
    .contact-text h2 {
        font-size: 2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .contact-text p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .contact {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .contact-text {
        max-width: 100%;
        overflow: hidden;
    }

    .contact-content {
        max-width: 100%;
        overflow: hidden;
        padding: 0;
    }

    .contact-item {
        max-width: 100%;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .contact-item span {
        word-break: break-all;
        overflow-wrap: anywhere;
    }

    .contact-form-card {
        max-width: 100%;
        overflow: hidden;
    }

    .contact-form {
        max-width: 100%;
    }

    input, textarea, select {
        max-width: 100%;
        box-sizing: border-box;
    }

    .comparison-table {
        overflow-x: auto;
    }

    .comparison-row {
        display: flex;
        flex-direction: column;
    }

    .comparison-cell {
        justify-content: flex-start !important;
        text-align: left !important;
        border-right: none;
        border-bottom: 1px solid var(--neutral-light);
    }

    .comparison-row.header .comparison-cell:not(:first-child) {
        display: none;
    }

    .comparison-row:not(.header) .comparison-cell:first-child {
        font-weight: 700;
        background-color: var(--neutral-light);
    }

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

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

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

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

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

    .service-card,
    .team-member,
    .contact-form-card {
        padding: 2rem;
    }

    .offer-card {
        padding: 2rem;
    }

    .price-amount {
        font-size: 2.25rem;
    }
}
