/* TapConnect Page Styles */

.tapconnect-hero {
    position: relative;
    background-image: url('../img/tapconnect-hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    height: 360px; /* Reduced by 40% from 600px */
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Overlay */
.tapconnect-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.tapconnect-hero .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}

.tapconnect-logo {
    width: 280px;
    height: auto;
    margin-bottom: 24px;
    display: block;
}

.tapconnect-hero .hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    color: #fff;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.5;
    font-weight: 400;
}

.tapconnect-hero .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 32px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    transition: all 0.3s ease;
}

.tapconnect-hero .btn-outline:hover {
    background: #fff;
    color: #000;
}

.tapconnect-hero .btn-icon-right {
    width: 18px;
    height: auto;
    transition: filter 0.3s ease;
}

.tapconnect-hero .btn-outline:hover .btn-icon-right {
    filter: invert(1);
}

/* Effortless Networking Section — matches screenshot layout */
.effortless-networking {
    background-color: #04091b;
    padding: 80px 0 100px;
    color: #fff;
    box-sizing: border-box;
}

.effortless-networking .container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 48px;
    padding-right: 48px;
    box-sizing: border-box;
    width: 100%;
}

.networking-header {
    text-align: center;
    margin-bottom: 56px;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

.effortless-networking .section-tag {
    color: #e85d2a;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 24px;
    font-weight: 600;
    display: block;
}

.effortless-networking .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.networking-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 40px;
    margin-bottom: 56px;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

.networking-image {
    min-height: 0;
    overflow: hidden;
    border-radius: 16px;
    position: relative;
    align-self: stretch;
}

.networking-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    box-shadow: 0 25px 51px -12px rgba(0, 0, 0, 0.25);
}

.networking-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    min-height: 0;
}

.feature-card {
    background-color: #262626;
    border-radius: 14px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    min-height: 220px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.effortless-networking .icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.effortless-networking .icon-bg-1,
.effortless-networking .icon-bg-2,
.effortless-networking .icon-bg-3,
.effortless-networking .icon-bg-4 {
    background-color: rgba(232, 93, 42, 0.15);
}

.effortless-networking .feature-card .icon-wrapper img {
    width: 24px;
    height: 24px;
}

.effortless-networking .feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.effortless-networking .feature-card p {
    font-size: 14px;
    color: #d4d4d4;
    line-height: 1.5;
    margin: 0;
}

.networking-action {
    text-align: center;
    padding-top: 8px;
}

.effortless-networking .btn-primary {
    display: inline-block;
    background-color: #e85d2a;
    color: #ffffff;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
}

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

/* Wallet Passes Section */
.wallet-passes {
    background-color: #ffffff; /* White background */
    padding: 80px 0;
    color: #000;
}

.wallet-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag-light {
    color: #e85c29;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.56px;
    margin-bottom: 24px;
    font-weight: 600;
}

.section-title-dark {
    font-size: 36px;
    font-weight: 500;
    color: #000000;
    letter-spacing: 0.36px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.2;
}

.wallet-content {
    display: flex;
    align-items: center;
    gap: 82px; /* From Figma */
    margin-bottom: 49px;
    justify-content: center;
}

.wallet-image {
    flex-shrink: 0;
    width: 542px;
    display: flex;
    justify-content: center;
}

.wallet-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    max-width: 567px;
}

.wallet-features {
    flex-shrink: 0;
    width: 542px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.wallet-card {
    border: 1px solid #dcdcdc;
    border-radius: 14px;
    background: #ffffff;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    min-height: 236px; /* From Figma */
    transition: transform 0.3s ease;
}

.wallet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0,0,0,0.05);
}

.wallet-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
}

.wallet-icon img {
    width: 100%;
    height: 100%;
}

.wallet-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    margin: 0;
    line-height: 27px;
    letter-spacing: -0.44px;
}

.wallet-card p {
    font-size: 14px;
    color: #272727;
    line-height: 23px;
    letter-spacing: -0.15px;
    margin: 0;
}

.wallet-action {
    text-align: center;
}

/* Brand & Tamper Protection Section */
.brand-protection {
    background-color: #1a1a1a; /* From Figma */
    padding: 80px 0;
    color: #fff;
}

.brand-header {
    text-align: center;
    margin-bottom: 60px;
}

.brand-protection .section-tag {
    color: #e85d2a;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 24px;
    font-weight: 600;
    display: block;
}

.brand-protection .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.brand-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto 60px;
    max-width: 1166px; /* Matches Figma content width */
    width: 100%;
}

.brand-image {
    flex-shrink: 0;
    width: 567px;
    height: 489px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    border-radius: 30px;
    border: 1px solid #838383;
}

.brand-image img {
    width: 566px;
    height: 394px;
    object-fit: contain;
}

.brand-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    /* Remove max-width to allow it to fill remaining space if needed, 
       but given space-between and fixed image width, we can just let it be. 
       However, the cards have fixed sizes in Figma? 
       In Figma CSS: container3 is width ~250px? 
       No, container3 is inside autoWrapper. 
       Let's check card widths. 
       container3 has padding 24px. width is not explicitly set in the snippet provided for container3 directly but it says "width: 542px" for the container8 wrapper in previous section. 
       In this section (550_4277), container6 has container2 (icon) and container4/container3/container5.
       container4 width is not set? 
       Wait, container4 is flex-direction column, align-self stretch.
       container6 aligns items center.
       Let's assume the right side takes the remaining space.
       1166 - 567 = 599px.
       599 / 2 ~ 300px per card?
       My previous grid had max-width 560px. 560 + 567 = 1127. Close to 1166.
       I will set brand-features width to fit.
    */
    width: 542px; /* Explicit width to match the other section's balance or flex basis */
}

.brand-card {
    background-color: #2a2a2a; /* From Figma */
    border: 1px solid #1e2939; /* From Figma */
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    min-height: 232px;
    transition: transform 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0,0,0,0.2);
}

.brand-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
}

.brand-icon img {
    width: 100%;
    height: 100%;
}

.brand-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 28px;
    letter-spacing: -0.44px;
}

.brand-card p {
    font-size: 14px;
    color: #99a1af; /* From Figma */
    line-height: 20px;
    letter-spacing: -0.15px;
    margin: 0;
}

.brand-action {
    text-align: center;
}

/* For Teams Section */
.for-teams {
    background-color: #ffffff;
    padding: 80px 0 100px;
    color: #272727;
}

.for-teams .container {
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 6%;
    padding-right: 6%;
    box-sizing: border-box;
}

.for-teams-header {
    text-align: center;
    margin-bottom: 60px;
}

.for-teams-tag {
    color: #e85d2a;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 24px;
    font-weight: 600;
    display: block;
}

.for-teams-title {
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    line-height: 1.2;
}

.for-teams-subtitle {
    font-size: 18px;
    color: #374151;
    margin: 0;
    line-height: 1.5;
}

.for-teams-content {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 56px;
    justify-content: center;
}

.for-teams-cards {
    flex: 1;
    max-width: 620px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.for-teams-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    min-height: 220px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.for-teams-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.for-teams-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.for-teams-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.for-teams-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    line-height: 1.3;
}

.for-teams-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

.for-teams-image {
    flex: 1;
    max-width: 640px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.for-teams-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.for-teams-action {
    text-align: center;
}

.for-teams-btn {
    display: inline-block;
    background-color: #e85d2a;
    color: #ffffff;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.for-teams-btn:hover {
    background-color: #d1491a;
}


/* Responsive Styles */
@media (max-width: 992px) {
    .effortless-networking .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .networking-content {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 40px;
    }

    .networking-image {
        order: 1;
        height: 400px;
    }

    .networking-image img {
        width: 100%;
        max-width: 100%;
    }

    .networking-features {
        order: 2;
        max-width: 100%;
        width: 100%;
    }

    .wallet-content, .brand-content {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .wallet-image, .wallet-features,
    .brand-image, .brand-features {
        max-width: 100%;
        width: 100%;
        height: auto;
    }
    
    .wallet-image, .brand-image {
        margin-bottom: 0;
    }

    .brand-image {
        width: 100%;
        max-width: 567px;
        height: auto;
        aspect-ratio: 567/489;
    }
    
    .brand-image img {
        width: 100%;
        height: auto;
    }

    .for-teams-content {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 40px;
    }

    .for-teams-cards {
        max-width: 100%;
        order: 1;
    }

    .for-teams-image {
        max-width: 100%;
        order: 2;
    }
}

@media (max-width: 768px) {
    .tapconnect-hero {
        height: 500px;
    }

    .tapconnect-hero .tapconnect-logo {
        width: 200px;
    }

    .tapconnect-hero .hero-subtitle {
        font-size: 18px;
        max-width: 100%;
    }

    .effortless-networking {
        padding: 48px 0;
    }

    .effortless-networking .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .networking-header {
        margin-bottom: 32px;
    }

    .effortless-networking .section-title {
        font-size: 24px;
        line-height: 1.3;
        padding: 0;
        white-space: normal;
        text-align: center;
    }

    .section-title-dark {
        font-size: 28px;
        padding: 0 20px;
    }

    .networking-content {
        gap: 24px;
        margin-bottom: 32px;
    }

    .networking-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        min-height: auto;
        padding: 20px;
    }

    .feature-card h3 {
        font-size: 17px;
    }

    .feature-card p {
        font-size: 14px;
    }

    .wallet-features, .brand-features {
        grid-template-columns: 1fr;
    }

    .for-teams {
        padding: 48px 0 64px;
    }

    .for-teams .container {
        padding-left: 6%;
        padding-right: 6%;
    }

    .for-teams-header {
        margin-bottom: 40px;
    }

    .for-teams-title {
        font-size: 32px;
    }

    .for-teams-subtitle {
        font-size: 16px;
    }

    .for-teams-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .for-teams-card {
        min-height: auto;
        padding: 20px;
    }
}
