/* ============================================
   Matchy Website Styles
   Primary Color: Matchy Red (#cf0000)
   Secondary Color: White (#ffffff)
   Design: Modern, Sleek, Apple-inspired
   ============================================ */

/* ============================================
   CSS Variables & Root Styles
   ============================================ */
:root {
    --matchyRed: #cf0000;
    --matchyWhite: #ffffff;
    --textDark: #1a1a1a;
    --textGray: #666666;
    --textLight: #999999;
    --borderColor: #e0e0e0;
    --shadowLight: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadowMedium: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadowLarge: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transitionSpeed: 0.3s;
    --borderRadius: 12px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--textDark);
    background-color: var(--matchyWhite);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transitionSpeed) ease;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--textGray);
}

/* ============================================
   Container & Layout
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
}

.sectionWhite {
    background-color: var(--matchyWhite);
}

.sectionRed {
    background-color: var(--matchyRed);
    color: var(--matchyWhite);
}

.sectionTitle {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--textDark);
}

.sectionTitleWhite {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--matchyWhite);
}

.sectionIntro {
    font-size: 1.125rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--textGray);
}

.sectionIntroWhite {
    font-size: 1.125rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--matchyWhite);
}

/* ============================================
   Navigation
   ============================================ */
.mainNav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--matchyWhite);
    box-shadow: var(--shadowLight);
    z-index: 1000;
    transition: all var(--transitionSpeed) ease;
}

.navContainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.navLogo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--matchyRed);
}

.navLogo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logoImage {
    height: 40px;
    width: auto;
    display: block;
}

.logoText {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--matchyRed);
    display: none;
}

.navMenu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.navLink {
    font-weight: 500;
    color: var(--textDark);
    transition: color var(--transitionSpeed) ease;
}

.navLink:hover {
    color: var(--matchyRed);
}

.navToggle {
    display: none;
    font-size: 1.5rem;
    color: var(--textDark);
}

/* ============================================
   Buttons
   ============================================ */
.btnPrimary {
    background-color: var(--matchyRed);
    color: var(--matchyWhite);
    padding: 14px 32px;
    border-radius: var(--borderRadius);
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: all var(--transitionSpeed) ease;
    box-shadow: var(--shadowLight);
}

.btnPrimary:hover {
    background-color: #b00000;
    transform: translateY(-2px);
    box-shadow: var(--shadowMedium);
}

.btnSecondary {
    background-color: var(--matchyWhite);
    color: var(--matchyRed);
    padding: 14px 32px;
    border-radius: var(--borderRadius);
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: all var(--transitionSpeed) ease;
    border: 2px solid var(--matchyRed);
}

.btnSecondary:hover {
    background-color: var(--matchyRed);
    color: var(--matchyWhite);
    transform: translateY(-2px);
    box-shadow: var(--shadowMedium);
}

.btnWhite {
    background-color: var(--matchyWhite);
    color: var(--matchyRed);
    padding: 14px 32px;
    border-radius: var(--borderRadius);
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: all var(--transitionSpeed) ease;
    box-shadow: var(--shadowLight);
}

.btnWhite:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: var(--shadowMedium);
}

.btnOutlineWhite {
    background-color: transparent;
    color: var(--matchyWhite);
    padding: 14px 32px;
    border-radius: var(--borderRadius);
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: all var(--transitionSpeed) ease;
    border: 2px solid var(--matchyWhite);
}

.btnOutlineWhite:hover {
    background-color: var(--matchyWhite);
    color: var(--matchyRed);
    transform: translateY(-2px);
}

.btnLarge {
    padding: 18px 40px;
    font-size: 1.125rem;
}

/* ============================================
   Hero Section
   ============================================ */
.heroSection {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--matchyRed) 0%, #a00000 100%);
    color: var(--matchyWhite);
    text-align: center;
    padding: 120px 24px 80px;
}

.heroContent {
    max-width: 1000px;
    margin: 0 auto;
}

.heroTitle {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.heroSubtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--matchyWhite);
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.heroStats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.statItem {
    padding: 24px;
}

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

.statLabel {
    font-size: 1rem;
    opacity: 0.9;
}

.heroButtons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Feature Grid
   ============================================ */
.featureGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 3rem;
}

.featureCard {
    background-color: var(--matchyWhite);
    padding: 32px;
    border-radius: var(--borderRadius);
    box-shadow: var(--shadowLight);
    transition: all var(--transitionSpeed) ease;
    text-align: center;
}

.featureCard:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadowLarge);
}

.featureIcon {
    width: 80px;
    height: 80px;
    background-color: var(--matchyRed);
    color: var(--matchyWhite);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.featureTitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--textDark);
}

.featureDesc {
    color: var(--textGray);
    line-height: 1.8;
}

/* ============================================
   User Type Grid
   ============================================ */
.userTypeGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 3rem;
}

.userTypeCard {
    background-color: var(--matchyWhite);
    padding: 40px;
    border-radius: var(--borderRadius);
    box-shadow: var(--shadowMedium);
    transition: all var(--transitionSpeed) ease;
}

.userTypeCard:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadowLarge);
}

.userTypeIcon {
    width: 80px;
    height: 80px;
    background-color: var(--matchyRed);
    color: var(--matchyWhite);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.userTypeTitle {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--matchyRed);
}

.userTypeList {
    list-style: none;
    margin-bottom: 2rem;
}

.userTypeList li {
    padding: 12px 0;
    color: var(--textDark);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.userTypeList i {
    color: var(--matchyRed);
    margin-top: 4px;
    flex-shrink: 0;
}

/* ============================================
   Feature Detail
   ============================================ */
.featureDetail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

/* Desktop: Reverse layout - image on left, content on right */
.featureDetailReverse {
    grid-template-columns: 1fr 1fr;
}

.featureDetailReverse .featureDetailImage {
    grid-column: 1;
    grid-row: 1;
}

.featureDetailReverse .featureDetailContent {
    grid-column: 2;
    grid-row: 1;
}

/* Hide mobile-only heading on desktop */
.featureDetailTitleMobile {
    display: none;
}

/* Mobile image positioning */
@media (max-width: 992px) {
    .featureDetail {
        grid-template-columns: 1fr;
        grid-auto-flow: row;
        gap:10px;
    }
    
    
    /* Reset grid positioning for mobile */
    .featureDetailReverse .featureDetailImage,
    .featureDetailReverse .featureDetailContent {
        grid-column: 1;
        grid-row: auto;
    }
    
    /* Mobile: Show mobile heading, hide desktop heading */
    .featureDetailTitleMobile {
        display: block;
    }
    
    .featureDetailTitleDesktop {
        display: none;
    }
    
    /* Mobile ordering: heading (1), image (2), content (3) */
    .featureDetailReverse .featureDetailTitleMobile {
        order: 1;
        grid-row: 1;
    }
    
    .featureDetailReverse .featureDetailImage {
        order: 2;
        grid-row: 2;
    }
    
    .featureDetailReverse .featureDetailContent {
        order: 3;
        grid-row: 3;
    }
    
    /* Regular feature detail mobile ordering: heading (1), image (2), content (3) */
    .featureDetail .featureDetailTitleMobile {
        order: 1;
        grid-row: 1;
    }
    
    .featureDetail .featureDetailImage {
        order: 2;
        grid-row: 2;
    }
    
    .featureDetail .featureDetailContent {
        order: 3;
        grid-row: 3;
    }
}

.featureDetailTitle {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--textDark);
}

.featureDetailDesc {
    font-size: 1.125rem;
    color: var(--textGray);
    margin-bottom: 1.5rem;
}

.featureDetailList {
    list-style: none;
}

.featureDetailList li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--textDark);
}

.featureDetailList i {
    color: var(--matchyRed);
    margin-top: 4px;
    flex-shrink: 0;
}

.featureDetailImage {
    position: relative;
}

.featureDetailImage img {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--borderRadius);
    object-fit: cover;
    display: block;
}

.featurePlaceholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--matchyRed) 0%, #a00000 100%);
    border-radius: var(--borderRadius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--matchyWhite);
    font-size: 5rem;
}

/* ============================================
   Professional Categories
   ============================================ */
.professionalCategories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 2rem;
    width: 100%;
}

.profCategory {
    text-align: center;
    padding: 24px;
    background-color: #f9f9f9;
    border-radius: var(--borderRadius);
    transition: all var(--transitionSpeed) ease;
}

.profCategory:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadowMedium);
}

.profCategory i {
    font-size: 2.5rem;
    color: var(--matchyRed);
    margin-bottom: 1rem;
}

.profCategory span {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--textDark);
}

.profCategory p {
    font-size: 0.875rem;
    color: var(--textGray);
    margin: 0;
}

/* ============================================
   Pricing Cards
   ============================================ */
.pricingCards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 2rem;
}

.pricingCard {
    background-color: #f9f9f9;
    padding: 32px;
    border-radius: var(--borderRadius);
    text-align: center;
    transition: all var(--transitionSpeed) ease;
}

.pricingCard:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadowMedium);
}

.pricingCardHighlight {
    background-color: var(--matchyRed);
    color: var(--matchyWhite);
}

.pricingCard h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pricingCardHighlight h4 {
    color: var(--matchyWhite);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
}

.pricingCard p {
    font-size: 0.875rem;
    margin: 0;
}

.pricingCardHighlight p {
    color: var(--matchyWhite);
}

/* ============================================
   Process Grid
   ============================================ */
.processGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    margin-top: 3rem;
}

.processColumn {
    background-color: var(--matchyWhite);
    padding: 40px;
    border-radius: var(--borderRadius);
    box-shadow: var(--shadowMedium);
}

.processTitle {
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--matchyRed);
}

.processSteps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.processStep {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.stepNumber {
    width: 40px;
    height: 40px;
    background-color: var(--matchyRed);
    color: var(--matchyWhite);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.processStep h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--textDark);
}

.processStep p {
    font-size: 0.9375rem;
    color: var(--textGray);
    margin: 0;
}

/* ============================================
   App Features
   ============================================ */
.appFeatureGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 4rem;
}

.appFeatureCard {
    text-align: center;
    padding: 32px;
    background-color: #f9f9f9;
    border-radius: var(--borderRadius);
    transition: all var(--transitionSpeed) ease;
}

.appFeatureCard:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadowMedium);
}

.appFeatureIcon {
    width: 64px;
    height: 64px;
    background-color: var(--matchyRed);
    color: var(--matchyWhite);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
}

.appFeatureCard h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--textDark);
}

.appFeatureCard p {
    font-size: 0.9375rem;
    color: var(--textGray);
    margin: 0;
}

/* ============================================
   Download Section
   ============================================ */
.downloadSection {
    text-align: center;
    padding: 48px;
    background-color: #f9f9f9;
    border-radius: var(--borderRadius);
}

.downloadSection h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--textDark);
}

.downloadButtons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.downloadBtn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 32px;
    background-color: var(--textDark);
    color: var(--matchyWhite);
    border-radius: var(--borderRadius);
    transition: all var(--transitionSpeed) ease;
    box-shadow: var(--shadowLight);
}

.downloadBtn:hover {
    background-color: var(--matchyRed);
    transform: translateY(-2px);
    box-shadow: var(--shadowMedium);
}

.downloadBtn i {
    font-size: 2rem;
}

.downloadBtn div {
    text-align: left;
}

.downloadBtn span {
    display: block;
    font-size: 0.75rem;
}

.downloadBtn strong {
    display: block;
    font-size: 1.25rem;
}

/* ============================================
   Security Grid
   ============================================ */
.securityGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 3rem;
}

.securityItem {
    text-align: center;
    padding: 32px;
}

.securityItem i {
    font-size: 3rem;
    color: var(--matchyWhite);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.securityItem h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--matchyWhite);
}

.securityItem p {
    font-size: 0.9375rem;
    color: var(--matchyWhite);
    opacity: 0.9;
    margin: 0;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonialSlider {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonialTrack {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.testimonialCard {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 48px;
    background-color: #f9f9f9;
    border-radius: var(--borderRadius);
    text-align: center;
}

.testimonialRating {
    margin-bottom: 1.5rem;
}

.testimonialRating i {
    color: #ffc107;
    font-size: 1.25rem;
    margin: 0 2px;
}

.testimonialText {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--textDark);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonialAuthor strong {
    display: block;
    font-size: 1.125rem;
    color: var(--textDark);
    margin-bottom: 0.25rem;
}

.testimonialAuthor span {
    display: block;
    font-size: 0.9375rem;
    color: var(--textGray);
}

.testimonialPagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2rem;
}

.testimonialDot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--matchyRed);
    cursor: pointer;
    transition: all var(--transitionSpeed) ease;
    padding: 0;
}

.testimonialDot.active {
    background-color: var(--matchyRed);
    transform: scale(1.2);
}

.testimonialDot:hover {
    transform: scale(1.1);
}

.sliderControls {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.sliderBtn {
    width: 48px;
    height: 48px;
    background-color: var(--matchyRed);
    color: var(--matchyWhite);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all var(--transitionSpeed) ease;
    box-shadow: var(--shadowLight);
    border: none;
}

.sliderBtn:hover {
    background-color: #b00000;
    transform: scale(1.1);
    box-shadow: var(--shadowMedium);
}

/* ============================================
   CTA Section
   ============================================ */
.ctaContainer {
    text-align: center;
}

.ctaButtons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.ctaNewsletter {
    max-width: 600px;
    margin: 0 auto;
}

.ctaNewsletter h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--matchyWhite);
}

.ctaNewsletter p {
    font-size: 1rem;
    color: var(--matchyWhite);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.newsletterForm {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.newsletterInput {
    flex: 1;
    min-width: 250px;
    padding: 16px 20px;
    border-radius: var(--borderRadius);
    border: none;
    font-size: 1rem;
    background-color: var(--matchyWhite);
    color: var(--textDark);
}

.newsletterInput::placeholder {
    color: var(--textLight);
}

.newsletterForm .btnPrimary {
    background-color: var(--textDark);
}

.newsletterForm .btnPrimary:hover {
    background-color: #000000;
}

/* ============================================
   Contact Section
   ============================================ */
.contactGrid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    margin-top: 3rem;
}

.contactInfo h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--textDark);
}

.contactItem {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
}

.contactItem i {
    width: 48px;
    height: 48px;
    background-color: var(--matchyRed);
    color: var(--matchyWhite);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contactItem strong {
    display: block;
    font-size: 1.125rem;
    color: var(--textDark);
    margin-bottom: 0.25rem;
}

.contactItem p {
    font-size: 0.9375rem;
    color: var(--textGray);
    margin: 0;
}

.contactForm h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--textDark);
}

.formGroup {
    margin-bottom: 1.5rem;
}

.formInput {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--borderColor);
    border-radius: var(--borderRadius);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transitionSpeed) ease;
}

.formInput:focus {
    outline: none;
    border-color: var(--matchyRed);
    box-shadow: 0 0 0 3px rgba(207, 0, 0, 0.1);
}

.formTextarea {
    resize: vertical;
    min-height: 150px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--textDark);
    color: var(--matchyWhite);
    padding: 60px 0 24px;
}

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

.footerTitle {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--matchyWhite);
}

.footerDesc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.socialIcons {
    display: flex;
    gap: 12px;
}

.socialIcon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--matchyWhite);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all var(--transitionSpeed) ease;
}

.socialIcon:hover {
    background-color: var(--matchyRed);
    transform: translateY(-2px);
}

.footerLinks {
    list-style: none;
}

.footerLinks li {
    margin-bottom: 12px;
}

.footerLinks a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transitionSpeed) ease;
}

.footerLinks a:hover {
    color: var(--matchyRed);
}

.footerBottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footerBottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ============================================
   Accordion (FAQ)
   ============================================ */
.accordionContainer {
    max-width: 800px;
    margin: 0 auto;
}

.accordionItem {
    margin-bottom: 16px;
    border-radius: var(--borderRadius);
    overflow: hidden;
    box-shadow: var(--shadowLight);
}

.accordionHeader {
    background-color: #f9f9f9;
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transitionSpeed) ease;
    border: none;
    width: 100%;
    text-align: left;
}

.accordionHeader:hover {
    background-color: #f0f0f0;
}

.accordionHeader.active {
    background-color: var(--matchyRed);
    color: var(--matchyWhite);
}

.accordionQuestion {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--textDark);
    margin: 0;
}

.accordionHeader.active .accordionQuestion {
    color: var(--matchyWhite);
}

.accordionIcon {
    font-size: 1.25rem;
    transition: transform var(--transitionSpeed) ease;
    color: var(--matchyRed);
}

.accordionHeader.active .accordionIcon {
    transform: rotate(180deg);
    color: var(--matchyWhite);
}

.accordionContent {
    display: none;
    padding: 24px;
    background-color: var(--matchyWhite);
    color: var(--textGray);
    line-height: 1.8;
}

.accordionContent p {
    margin: 0;
}

/* ============================================
   Package Carousel
   ============================================ */
.packageCarouselWrapper {
    position: relative;
    max-width: 1200px;
    margin: 3rem auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.packageCarousel {
    position: relative;
    flex: 1;
    overflow: hidden;
    height: 650px;
    perspective: 1000px;
}

.packageTrack {
    position: relative;
    width: 100%;
    height: 100%;
}

.packageCard {
    position: absolute;
    width: 320px;
    background-color: var(--matchyWhite);
    padding: 40px;
    border-radius: var(--borderRadius);
    text-align: center;
    box-shadow: var(--shadowLarge);
    transition: transform 0.5s ease, opacity 0.5s ease;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0.5;
    visibility: hidden;
    pointer-events: none;
    will-change: transform;
}

.packageCard.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    z-index: 10;
    visibility: visible;
    pointer-events: auto;
}

.packageCard.prev {
    transform: translate(calc(-80% - 180px), -50%) scale(0.85);
    opacity: 0.5;
    z-index: 5;
    visibility: visible;
    pointer-events: none;
}

.packageCard.next {
    transform: translate(calc(-20% + 180px), -50%) scale(0.85);
    opacity: 0.5;
    z-index: 5;
    visibility: visible;
    pointer-events: none;
}

.packageCard.highlight {
    border: 3px solid #FFD700;
}

.packageBadge {
    background-color: #FFD700;
    color: var(--textDark);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.packageTitle {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--matchyRed);
}

.packagePrice {
    font-size: 3rem;
    font-weight: 700;
    color: var(--textDark);
    margin-bottom: 0.5rem;
}

.packagePrice span {
    font-size: 1rem;
    font-weight: 400;
}

.packagePeriod {
    font-size: 1rem;
    color: var(--textGray);
    margin-bottom: 2rem;
}

.packageFeatures {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.packageFeatures li {
    padding: 12px 0;
    color: var(--textDark);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.packageFeatures i {
    color: var(--matchyRed);
    margin-top: 4px;
    flex-shrink: 0;
}

/* Desktop: Arrows on sides */
.carouselArrowLeft,
.carouselArrowRight {
    width: 56px;
    height: 56px;
    background-color: var(--matchyWhite);
    color: var(--matchyRed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transitionSpeed) ease;
    box-shadow: var(--shadowMedium);
    border: none;
    flex-shrink: 0;
    z-index: 10;
}

.carouselArrowLeft:hover,
.carouselArrowRight:hover {
    background-color: #f5f5f5;
    transform: scale(1.1);
    box-shadow: var(--shadowLarge);
}

/* Mobile/Tablet: Arrows underneath */
.carouselArrowsMobile {
    display: none;
    justify-content: center;
    gap: 16px;
    margin-top: 2rem;
}

.carouselArrowsMobile .carouselArrow {
    width: 48px;
    height: 48px;
    background-color: var(--matchyWhite);
    color: var(--matchyRed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--transitionSpeed) ease;
    box-shadow: var(--shadowLight);
    border: none;
}

.carouselArrowsMobile .carouselArrow:hover {
    background-color: #f5f5f5;
    transform: scale(1.1);
    box-shadow: var(--shadowMedium);
}

/* ============================================
   Scroll to Top Button
   ============================================ */
.scrollToTop {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    background-color: var(--matchyRed);
    color: var(--matchyWhite);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadowLarge);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transitionSpeed) ease;
    z-index: 999;
}

.scrollToTop.visible {
    opacity: 1;
    visibility: visible;
}

.scrollToTop:hover {
    background-color: #b00000;
    transform: translateY(-4px);
}

/* ============================================
   Responsive Design
   ============================================ */
/* Desktop: Show logo text */
@media (min-width: 993px) {
    .logoText {
        display: block;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .sectionTitle,
    .sectionTitleWhite {
        font-size: 2rem;
    }

    .heroTitle {
        font-size: 2.5rem;
    }

    .navMenu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--matchyWhite);
        flex-direction: column;
        justify-content: flex-start;
        padding: 32px 24px;
        transition: left var(--transitionSpeed) ease;
    }

    .navMenu.active {
        left: 0;
    }

    .navToggle {
        display: block;
    }

    /* Package Carousel - Tablet/Mobile */
    .packageCarouselWrapper {
        flex-direction: column;
        gap: 0;
    }

    .carouselArrowLeft,
    .carouselArrowRight {
        display: none;
    }

    .carouselArrowsMobile {
        display: flex;
    }

    .packageCarousel {
        height: 600px;
        min-height: 600px;
        overflow: visible;
    }

    .packageCarouselWrapper {
        min-height: 600px;
    }

    .packageCard {
        width: 280px;
        max-width: 90vw;
        padding: 1.5rem;
    }

    /* On mobile, show all cards but with closer spacing */
    .packageCard.prev {
        transform: translate(calc(-50% - 140px), -50%) scale(0.85);
        visibility: visible !important;
        opacity: 0.5 !important;
    }

    .packageCard.next {
        transform: translate(calc(-50% + 140px), -50%) scale(0.85);
        visibility: visible !important;
        opacity: 0.5 !important;
    }

    .packageCard.active {
        transform: translate(-50%, -50%) scale(1);
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 10;
    }

    .contactGrid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .heroButtons {
        flex-direction: column;
        align-items: center;
    }

    .heroButtons .btnPrimary,
    .heroButtons .btnSecondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 2rem;
    }

    .heroTitle {
        font-size: 2rem;
    }

    .heroSubtitle {
        font-size: 1rem;
    }

    .heroStats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .statNumber {
        font-size: 2rem;
    }

    .featureGrid,
    .userTypeGrid {
        grid-template-columns: 1fr;
    }

    .downloadButtons {
        flex-direction: column;
        align-items: center;
    }

    .downloadBtn {
        width: 100%;
        max-width: 300px;
    }

    .newsletterForm {
        flex-direction: column;
    }

    .newsletterInput {
        width: 100%;
    }

    .ctaButtons {
        flex-direction: column;
        align-items: center;
    }

    .ctaButtons .btnWhite,
    .ctaButtons .btnOutlineWhite {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .heroStats {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .packageCarousel {
        height: 550px;
        min-height: 600px;
        overflow: visible;
    }

    .packageCarouselWrapper {
        min-height: 550px;
    }

    .packageCard {
        width: 240px;
        max-width: 85vw;
        padding: 1rem;
    }

    /* On small mobile, show all cards but with closer spacing */
    .packageCard.prev {
        transform: translate(calc(-50% - 120px), -50%) scale(0.8);
        visibility: visible !important;
        opacity: 0.5 !important;
    }

    .packageCard.next {
        transform: translate(calc(-50% + 120px), -50%) scale(0.8);
        visibility: visible !important;
        opacity: 0.5 !important;
    }

    .packageCard.active {
        transform: translate(-50%, -50%) scale(1);
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 10;
    }
}

/* Legal Content Styles */
.legalContent {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
    line-height: 1.8;
    color: #333;
}

.legalContent h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #C8102E;
    border-bottom: 2px solid #C8102E;
    padding-bottom: 0.5rem;
}

.legalContent h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.legalContent p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.legalContent ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legalContent li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.legalContent a {
    color: #C8102E;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legalContent a:hover {
    color: #9B0D1F;
}

.legalContent strong {
    font-weight: 600;
    color: #333;
}

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

    .legalContent h2 {
        font-size: 1.75rem;
        margin-top: 2rem;
    }

    .legalContent h3 {
        font-size: 1.25rem;
    }

    .legalContent ul {
        padding-left: 1.5rem;
    }
}

