/* ================================================================
   TIPIDFIBER WEBSITE v2.1 - PROFESSIONAL DESIGN WITH TEAM PHOTOS
   ================================================================ */

:root {
    --primary-blue: #0A3D91;
    --accent-green: #17A34A;
    --dark-navy: #081B3A;
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --gray-600: #666666;
    --text-primary: #081B3A;
    --text-secondary: #666666;
    --border-color: #E0E4E8;
    
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --transition: 250ms ease-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    background: var(--white);
    line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ================================================================
   HEADER & NAVIGATION
   ================================================================ */

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-blue);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 8px;
}

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

.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 0.5px solid var(--border-color);
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar {
    padding: 1rem 0;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.logo {
    height: 45px;
    width: auto;
}

.brand-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-grow: 1;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    position: relative;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: width var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.header-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    cursor: pointer;
    transition: all var(--transition);
}

.social-icon:hover {
    background: var(--accent-green);
    color: var(--white);
    transform: translateY(-2px);
}

/* ================================================================
   HERO SECTION
   ================================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #081B3A 0%, #0A3D91 50%, rgba(23, 163, 74, 0.1) 100%);
    overflow: hidden;
    padding: 4rem 1rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.fiber-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 100%;
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(23, 163, 74, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.light-rays circle {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.9; }
}

.wifi-symbol {
    animation: rotate 8s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-right {
    color: var(--white);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.95;
}

/* Feature Grid */

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

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(23, 163, 74, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
    animation: slideUp 0.6s ease-out forwards;
    opacity: 0;
}

.feature-item:nth-child(1) { animation-delay: 100ms; }
.feature-item:nth-child(2) { animation-delay: 200ms; }
.feature-item:nth-child(3) { animation-delay: 300ms; }
.feature-item:nth-child(4) { animation-delay: 400ms; }

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

/* ================================================================
   STATUS BANNER
   ================================================================ */

.status-banner {
    background: linear-gradient(90deg, #0A3D91 0%, #17A34A 100%);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
    font-size: 1rem;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.banner-icon {
    font-size: 1.5rem;
}

.status-banner p {
    margin: 0;
}

.highlight {
    color: #B8E6D5;
    font-weight: 600;
}

/* ================================================================
   EQUIPMENT SECTION
   ================================================================ */

.equipment-section {
    padding: 5rem 1rem;
    background: #F5F7FA;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
}

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

.equipment-item {
    text-align: center;
}

.equipment-image {
    aspect-ratio: 1;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.equipment-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #E8F1F8 0%, #F0F8F5 100%);
}

.equipment-placeholder.huawei {
    color: var(--primary-blue);
    background: linear-gradient(135deg, #E8F1F8 0%, #F5F5F5 100%);
}

.equipment-placeholder.vsol {
    color: var(--accent-green);
    background: linear-gradient(135deg, #E8F8F0 0%, #F5F5F5 100%);
}

.equipment-item h3 {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.equipment-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.equipment-details {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.detail-card h4 {
    color: var(--accent-green);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.detail-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.detail-list li {
    font-size: 0.95rem;
    color: var(--accent-green);
    font-weight: 600;
}

/* ================================================================
   PLANS SECTION
   ================================================================ */

.plans-section {
    padding: 5rem 1rem;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

.plan-card {
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    background: var(--light-gray);
    border: 2px solid var(--border-color);
    position: relative;
    transition: all var(--transition);
    animation: slideUp 0.6s ease-out forwards;
    opacity: 0;
}

.plan-card:nth-child(1) { animation-delay: 100ms; }
.plan-card:nth-child(2) { animation-delay: 200ms; }
.plan-card:nth-child(3) { animation-delay: 300ms; }

.plan-card.featured {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-green) 100%);
    color: var(--white);
    border-color: var(--accent-green);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(10, 61, 145, 0.3);
}

.plan-card:hover:not(.featured) {
    transform: translateY(-5px);
    border-color: var(--accent-green);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-green);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.plan-label {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.plan-card.featured .plan-label {
    color: var(--white);
}

.plan-speed {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

.plan-card.featured .plan-speed {
    color: var(--white);
}

.plan-speed span {
    font-size: 1rem;
    display: block;
    font-weight: 600;
    margin-top: 0.5rem;
}

.plan-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.plan-card.featured .plan-price {
    color: var(--white);
}

.plan-price span {
    font-size: 0.9rem;
    display: block;
    font-weight: 500;
    margin-top: 0.3rem;
}

.plan-features {
    list-style: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.plan-card.featured .plan-features {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.plan-features li {
    font-size: 0.9rem;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.plan-card.featured .plan-features li {
    color: var(--white);
}

/* ================================================================
   COVERAGE & WHY CHOOSE SECTION
   ================================================================ */

.coverage-why-section {
    padding: 5rem 1rem;
    background: #F5F7FA;
}

.grid-2col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.coverage-card,
.why-choose-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    padding: 1rem;
    background: linear-gradient(90deg, var(--accent-green) 0%, var(--accent-green) 100%);
    color: var(--white);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 0.5px;
}

.map-placeholder {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #E8F1F8 0%, #E8F8F0 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.coverage-list {
    margin-bottom: 1.5rem;
}

.coverage-list h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.coverage-list ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.coverage-list li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.coverage-list li.serving {
    color: var(--accent-green);
    font-weight: 600;
}

.coverage-list li.coming {
    color: var(--text-secondary);
    opacity: 0.7;
}

.coverage-note {
    font-size: 0.9rem;
    color: var(--accent-green);
    font-weight: 600;
    text-align: center;
    margin: 0;
}

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

.benefits-list li {
    padding: 0.75rem 0;
    font-size: 0.95rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.cta-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.question-box {
    background: linear-gradient(135deg, var(--primary-blue) 0%, rgba(10, 61, 145, 0.9) 100%);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.question-box h4 {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.question-box p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.95;
}

.qr-code {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border-color);
}

.qr-code svg {
    width: 100%;
    max-width: 120px;
    height: auto;
    margin-bottom: 0.5rem;
}

.qr-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 0.3px;
    margin: 0;
}

/* ================================================================
   SUPPORT SECTION
   ================================================================ */

.support-section {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #081B3A 0%, #0A3D91 100%);
    color: var(--white);
}

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

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.support-member {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(23, 163, 74, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all var(--transition);
    animation: slideUp 0.6s ease-out forwards;
    opacity: 0;
}

.support-member:nth-child(1) { animation-delay: 100ms; }
.support-member:nth-child(2) { animation-delay: 200ms; }
.support-member:nth-child(3) { animation-delay: 300ms; }

.support-member:hover {
    background: rgba(23, 163, 74, 0.2);
    border-color: var(--accent-green);
    transform: translateY(-5px);
}

.member-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-green) 0%, rgba(23, 163, 74, 0.7) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    color: var(--white);
}

.support-member h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.member-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all var(--transition);
}

.member-phone:hover {
    color: var(--white);
    transform: scale(1.05);
}

.contact-message {
    text-align: center;
    padding: 2rem;
    background: rgba(23, 163, 74, 0.2);
    border-radius: 12px;
    border: 1px solid var(--accent-green);
}

.contact-message p {
    font-size: 1.1rem;
    margin: 0;
    color: var(--white);
}

/* ================================================================
   BEHIND THE SCENES SECTION
   ================================================================ */

.behind-scenes {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #F5F7FA 0%, #E8F5E9 100%);
}

.behind-scenes .section-title {
    color: var(--primary-blue);
}

.team-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.team-photo-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all var(--transition);
    animation: slideUp 0.6s ease-out forwards;
    opacity: 0;
}

.team-photo-card:nth-child(1) { animation-delay: 100ms; }
.team-photo-card:nth-child(2) { animation-delay: 200ms; }
.team-photo-card:nth-child(3) { animation-delay: 300ms; }

.team-photo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.team-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(8, 27, 58, 0.95) 100%);
    color: var(--white);
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    transform: translateY(0);
    transition: all var(--transition);
}

.team-photo-card:hover .photo-caption {
    transform: translateY(-10px);
}

.caption-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--white);
}

.caption-subtext {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
    color: #B8E6D5;
}

.behind-message {
    background: var(--white);
    border-left: 4px solid var(--accent-green);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.behind-message p {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.6;
}

/* ================================================================
   FOOTER
   ================================================================ */

.footer {
    background: var(--dark-navy);
    color: var(--white);
    padding: 2rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.footer-item {
    font-size: 0.95rem;
}

.footer-link {
    color: var(--accent-green);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-link:hover {
    color: var(--white);
}

.footer-text {
    margin: 0;
    opacity: 0.8;
}

.footer-divider {
    opacity: 0.3;
}

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

.footer-accent {
    margin: 0;
    color: var(--accent-green);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ================================================================
   RESPONSIVE DESIGN
   ================================================================ */

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-left {
        order: 2;
    }

    .hero-right {
        order: 1;
    }

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

    .feature-item {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
    }

    .feature-icon {
        font-size: 2rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .cta-section {
        grid-template-columns: 1fr;
    }

    .plan-card.featured {
        transform: scale(1);
    }

    .equipment-showcase {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

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

    .grid-2col {
        grid-template-columns: 1fr;
    }

    .team-photos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-photo {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        gap: 0.5rem;
    }

    .brand-name {
        font-size: 14px;
    }

    .hero {
        min-height: auto;
        padding: 2rem 1rem;
    }

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

    .hero-title {
        font-size: 2rem;
    }

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

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

    section {
        padding: 3rem 1rem;
    }

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

    .plan-card {
        padding: 1.5rem;
    }

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

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

    .team-photo {
        height: 300px;
    }

    .behind-message p {
        font-size: 0.95rem;
    }

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

    .footer-divider {
        display: none;
    }
}
