/* ============================================
   INDUSTRY 4 YOU - Main Stylesheet
   Color Theme: Deep Purple #3B2FA0, Gold #F5C518, White
   ============================================ */

:root {
    --purple: #3B2FA0;
    --purple-dark: #2A1F7A;
    --purple-light: #5446C2;
    --gold: #F5C518;
    --gold-dark: #D4A800;
    --white: #ffffff;
    --gray-50: #F8F9FF;
    --gray-100: #F0F1F8;
    --gray-300: #CBD0E8;
    --gray-500: #6B7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --yellow-bg: #F5C518;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(59, 47, 160, 0.12);
    --shadow-lg: 0 12px 48px rgba(59, 47, 160, 0.2);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--gray-900);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--purple);
    padding: 0 2rem;
    transition: all 0.3s ease;
}

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

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    height: 100%;
}

.logo-icon {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-primary {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: var(--gold);
    letter-spacing: 1px;
    line-height: 1;
}

.logo-sub {
    font-size: 10px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-link {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,0.12);
}

.btn-signin {
    background: var(--white);
    color: var(--purple);
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-signin:hover {
    background: var(--gold);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    display: block;
    transition: all 0.3s;
}

/* ============ HERO ============ */
.hero {
    min-height: 100vh;
    padding: 120px 2rem 80px;
    background: linear-gradient(135deg, var(--gray-50) 0%, #EEF0FF 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(59,47,160,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1.5px solid var(--gray-300);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 28px;
}

.badge-star { color: var(--purple); }

.hero-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.25;
    margin-bottom: 20px;
}

.hero-title .psi { color: var(--purple); }

.hero-title .highlight {
    color: #5B8DB8;
    position: relative;
}

.hero-desc {
    font-size: 16px;
    color: var(--gray-500);
    max-width: 480px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--purple);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(59,47,160,0.3);
}

.btn-primary:hover {
    background: var(--purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(59,47,160,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    padding: 14px 28px;
    border-radius: 50px;
    border: 1.5px solid var(--gray-300);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.btn-outline:hover {
    border-color: var(--purple);
    color: var(--purple);
    background: rgba(59,47,160,0.04);
}

/* Hero Visual Image */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-wrap {
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
    border: 4px solid var(--white);
}

.hero-main-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

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

.hero-dots {
    position: absolute;
    right: -40px; top: 50%;
    transform: translateY(-50%);
    width: 120px; height: 200px;
    background-image: radial-gradient(circle, rgba(59,47,160,0.3) 2px, transparent 2px);
    background-size: 20px 20px;
    z-index: 1;
}

/* ============ ASSOCIATES ============ */
.associates {
    background: var(--yellow-bg);
}

.associates-top {
    padding: 60px 2rem 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.associates-count {
    text-align: center;
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    margin-bottom: 40px;
}

.associates-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.associate-card {
    text-align: center;
}

.associate-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.15);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    transition: all 0.3s;
}

.associate-img-wrap:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-4px);
}

.associate-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.associate-title {
    font-size: 14px;
    color: var(--gold);
    font-weight: 500;
}

/* Network Section */
.network-section {
    background: var(--yellow-bg);
    padding: 40px 2rem 80px;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.network-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.network-logo-img {
    width: 160px;
    height: auto;
    filter: drop-shadow(0 12px 24px rgba(59, 47, 160, 0.15));
    transition: transform 0.3s ease;
}

.network-logo-img:hover {
    transform: scale(1.05);
}

.network-content {}

.section-badge {
    display: inline-block;
    background: rgba(255,255,255,0.3);
    color: var(--gray-700);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.5);
}

.network-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.network-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: 32px;
}

.btn-white {
    background: var(--white);
    color: var(--purple);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.btn-white:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

/* ============ SERVICES ============ */
.services {
    padding: 100px 2rem;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

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

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

.section-badge-outline {
    display: inline-block;
    border: 1.5px solid var(--gray-300);
    color: var(--gray-500);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(24px, 3.5vw, 42px);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.25;
    max-width: 700px;
    margin: 0 auto 20px;
}

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

.service-card {
    background: var(--white);
    border: 1.5px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--purple), var(--gold));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    margin-bottom: 20px;
}

.service-title {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-desc {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-link {
    font-size: 13px;
    color: var(--purple);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.2s;
}

.service-link:hover { text-decoration: underline; }

/* ============ CLIENT ============ */
.client-section {
    padding: 100px 2rem;
    background: var(--white);
}

.client-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.expertise-diagram {
    margin-top: 32px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.expertise-levels {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.expertise-label {
    font-family: 'Sora', sans-serif;
    font-size: 12px;
    font-weight: 700;
    width: 90px;
    flex-shrink: 0;
    text-align: right;
}

.expertise-desc {
    font-size: 11px;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    line-height: 1.4;
    flex: 1;
}

.expertise-caption {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
}

.client-right {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.client-item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--gray-100);
    align-items: center;
}

.client-item:last-child { border-bottom: none; }

.client-img {
    height: 110px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.client-img:hover { transform: scale(1.03); }

.client-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.client-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border: 2px solid var(--purple);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    color: var(--purple);
    margin-bottom: 8px;
}

.client-title {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.client-desc {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ============ BENEFITS ============ */
.benefits {
    padding: 100px 2rem;
    background: var(--gray-50);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 32px 0;
}

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

.benefit-check {
    width: 28px; height: 28px;
    background: var(--purple);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.benefit-item p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
}

.btn-yellow {
    background: var(--gold);
    color: var(--gray-900);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-yellow:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

.benefits-visual {
    display: flex;
    justify-content: center;
}

.benefits-img {
    width: 100%;
    max-width: 420px;
    height: 320px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.benefits-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: 24px; left: 24px;
    background: var(--purple);
    color: var(--white);
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.exp-arrow { font-size: 16px; display: block; margin-bottom: 4px; color: var(--gold); }
.exp-label { font-size: 11px; color: rgba(255,255,255,0.7); display: block; }
.exp-years { font-family: 'Sora', sans-serif; font-size: 20px; font-weight: 700; display: block; }

/* ============ FAQ ============ */
.faq-section {
    padding: 100px 2rem;
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
}

.faq-sub {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin: 16px 0 32px;
}

.faq-right {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border: 1.5px solid var(--gray-100);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-item.open {
    border-color: var(--purple);
    background: rgba(59,47,160,0.03);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-900);
    gap: 12px;
}

.faq-item.open .faq-question { color: var(--purple); }

.faq-icon {
    font-size: 20px;
    color: var(--gray-500);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(90deg);
    color: var(--purple);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer { max-height: 200px; }

.faq-answer p {
    padding: 0 20px 18px;
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============ CTA ============ */
.cta-section {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    padding: 100px 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg-logo {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    font-size: 300px;
    font-weight: 800;
    color: var(--white);
    opacity: 0.08;
    line-height: 1;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    border: 1px solid rgba(255,255,255,0.3);
    margin-bottom: 20px;
}

.cta-section h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    color: rgba(255,255,255,0.4);
    margin-bottom: 12px;
}

.cta-section p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 36px;
}

.btn-cta {
    background: var(--white);
    color: var(--purple);
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-cta:hover {
    background: var(--gold);
    color: var(--gray-900);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

/* ============ FOOTER ============ */
.footer {
    background: var(--gray-900);
    padding: 60px 2rem 40px;
    color: var(--gray-300);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand-logo {
    height: 60px;
    width: auto;
    transition: opacity 0.3s ease;
}

.footer-brand-logo:hover {
    opacity: 0.8;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 48px;
    max-width: 1280px;
    margin: 0 auto;
    margin-bottom: 48px;
}

.footer-col h4 {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li, .footer-col p {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}

.footer-col ul a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--gold); }

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.newsletter-input {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.07);
    color: var(--white);
    font-size: 13px;
    outline: none;
    font-family: 'DM Sans', sans-serif;
}

.newsletter-input:focus {
    border-color: var(--gold);
}

.newsletter-btn {
    background: var(--gold);
    color: var(--gray-900);
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'DM Sans', sans-serif;
}

.newsletter-btn:hover { background: var(--gold-dark); }

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* ============ ANIMATIONS ============ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-container { gap: 2rem; }
    .network-section { grid-template-columns: 1fr; }
    .network-logo-wrap { display: none; }
}

@media (max-width: 768px) {
    .nav-links, .btn-signin { display: none; }
    .hamburger { display: flex; }
    
    .logo-img {
        height: 40px;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px; left: 0; right: 0;
        background: var(--purple-dark);
        padding: 20px;
        gap: 8px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual { display: none; }
    .hero-cta { justify-content: center; }

    .associates-grid { grid-template-columns: repeat(3, 1fr); }

    .services-grid { grid-template-columns: 1fr; }
    .client-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .client-item { grid-template-columns: 120px 1fr; }
}

@media (max-width: 480px) {
    .associates-grid { grid-template-columns: repeat(2, 1fr); }
    .hero { padding: 100px 1.5rem 60px; }
    .services, .client-section, .benefits, .faq-section { padding: 60px 1.5rem; }
}
