@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary-navy: #000036;
  --accent-cyan: #00B5CC;
  --pure-white: #FFFFFF;
  --dark-gray: #333333;
  --black: #000000;
  --light-gray: #dae2ea;
  --updates-bg: #f3f5f8;
  --dark-blue: #000036;
  --medium-blue: #0e3ea0;
  --seafoam-green: #36cca7;
  --sky-blue: #5bc6d8;
  --nickel-grey: #dae2ea;
  --white: #fff;
  --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

body {
  font-family: 'Poppins', sans-serif; /* Switched to original Poppins font */
  color: var(--black);
  line-height: 1.4;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header */
header {
  width: 100%;
  position: relative;
  z-index: 1000;
}

.top-nav {
  background-color: var(--primary-navy);
  color: white;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 500;
}

.top-nav .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 25px;
}

.distributor-login {
  background-color: var(--accent-cyan);
  color: var(--primary-navy);
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12px;
  text-transform: capitalize;
}

.main-nav {
  background-color: white;
  padding: 15px 0;
  border-bottom: 1px solid #ebebeb;
}

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

.logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links img {
    width: 20px;
}

.nav-extra {
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-icon {
  color: var(--primary-navy);
  font-size: 20px;
  font-weight: 400;
  display: flex;
  align-items: center;
}

/* Hero Section */
.hero {
  position: relative;
  height: 850px;
  background-color: var(--primary-navy);
  color: white;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-bottom: 250px;
}

.hero .hero-image-bg {
    position: absolute;
    inset: 0;
    background: url('https://binks.com/nitropack_static/DKeuCjlrqwkGGlElLmgFlKuNiIjGRaMQ/assets/desktop/optimized/rev-db664e8/binks.canto.com/direct/image/obkq61iem937h5jnk6e953ct76/4we9aT1po20s7Yfr8iL-9NnYXpk/3395949fbbcfc235da4b24322a3d20cf.original') 85% center / cover no-repeat;
    opacity: 1;
    z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 620px; /* Biraz daha daraltıldı */
  background: linear-gradient(0deg, #000036 10%, rgba(0, 0, 54, 0.95) 40%, transparent 100%);
  z-index: 5;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--primary-navy) 25%, rgba(0,0,54,0.6) 50%, rgba(0,0,54,0) 80%);
  z-index: 4;
}

.hero .container {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: 50px;
}

.hero h1 {
  font-size: 64px; /* Reduced for elegance to match original site */
  font-weight: 700; /* Bold instead of Black for a cleaner look */
  max-width: 850px;
  line-height: 1.1;
  margin-bottom: 25px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 18px;
  max-width: 650px;
  margin-bottom: 45px;
  font-weight: 500;
  opacity: 0.9;
  line-height: 1.6;
}

.btn-white {
  background-color: white;
  color: var(--primary-navy);
  padding: 16px 40px;
  font-weight: 800;
  font-size: 15px;
  border-radius: 4px;
  display: inline-block;
  letter-spacing: 0.5px;
}

.btn-white:hover {
  background-color: var(--accent-cyan);
  transform: translateY(-3px);
}

/* Category Section */
.categories {
  padding: 0 0 100px;
  background-color: var(--primary-navy);
  position: relative;
  z-index: 20;
  margin-top: -160px; /* Kutular tekrar yukarı alındı */
}

.category-grid {
  display: flex;
  gap: 15px;
  height: 450px;
}

.category-card {
  position: relative;
  flex: 1;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid var(--accent-cyan); /* Orijinal Cyan çerçeve artık hep görünür ve 2px kalınlığında */
  transition: var(--transition);
}

.category-card:hover {
  flex: 2;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

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

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 54, 1.0) 20%, transparent 100%); /* Saydamlık tamamen kaldırıldı (mat yapıldı) */
  padding: 35px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.category-card h3 {
  color: var(--accent-cyan);
  font-size: 20px;
  margin-bottom: 15px; /* Sabit boşluk */
  font-weight: 800;
  display: flex;
  align-items: flex-end;
  height: 50px; /* Sabit başlık alanı */
}

.category-card p {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  opacity: 0.9;
  height: 100px; /* Sabit açıklama alanı - Çizgi hizası için */
  transition: var(--transition);
  overflow: hidden;
}

/* Systems Section */
.systems {
  padding: 120px 0 120px;
  background: linear-gradient(180deg, var(--primary-navy) 120px, var(--light-gray) 120px);
  position: relative;
}

.systems-box {
  background-color: white;
  border-radius: 25px;
  padding: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  margin-top: -120px; /* Pulls the box up but less than before to avoid covering text */
  position: relative;
  z-index: 30;
}

.systems-text h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--primary-navy);
  margin-bottom: 25px;
}

.systems-text h2 span {
    background: linear-gradient(90deg, var(--primary-navy) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.systems-circles {
  display: flex;
  gap: 20px;
  align-items: center;
  position: relative;
  z-index: 5;
}

.circle {
  width: 140px;
  height: 140px;
  border: 4px solid var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary-navy);
  font-size: 15px;
  text-align: center;
  background-color: white;
  position: relative;
}

/* Connecting Lines - Adjusted to touch the borders perfectly */
.circle:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 20px; /* Exactly matches the gap */
    height: 4px;
    background-color: var(--accent-cyan);
    z-index: -1;
    transform: translateY(-50%);
}

/* Brands Section - Base BG fix */
.brands-section {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.brands-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.brands-image img {
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    width: 100%;
}

.brands-content h2 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--primary-navy);
}

.brands-content h2 span {
    color: var(--accent-cyan);
}

.brands-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--primary-navy);
    margin-bottom: 40px;
}

.brand-logos {
    display: flex;
    gap: 30px;
    align-items: center;
}

.brand-logos img {
    height: 30px;
    opacity: 0.9;
}

/* Updates Section - Completely Redesigned for Horizontal Layout */
.updates-section {
    padding: 60px 0 100px;
    background-color: var(--light-gray);
}

.updates-slider {
    background-color: var(--updates-bg);
    border-radius: 12px;
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slider-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.slider-nav-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--primary-navy);
    cursor: pointer;
    padding: 10px;
    transition: var(--transition);
}

.slider-nav-btn:hover {
    color: var(--accent-cyan);
}

.update-card-slim {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 40px;
}

.update-thumbnail {
    width: 150px;
    height: 100px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.update-thumbnail img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.update-details {
    flex: 1;
}

.update-label-blue {
    color: var(--primary-navy);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
}

.update-details h4 {
    font-size: 20px;
    font-weight: 500;
    color: #333;
}

.btn-update-action {
    border: 1px solid var(--primary-navy);
    padding: 12px 25px;
    border-radius: 4px;
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-update-action:hover {
    background-color: var(--primary-navy);
    color: white;
}

.slider-dots-bottom {
    display: flex;
    gap: 8px;
    margin-top: 30px;
}

.dot-mini {
    width: 6px;
    height: 6px;
    background-color: #A0B0C0;
    border-radius: 50%;
    cursor: pointer;
}

.dot-mini.active {
    background-color: #333;
}

/* Testimonial Section */
.testimonial-section {
    padding: 100px 0;
    background: url('https://binks.com/nitropack_static/DKeuCjlrqwkGGlElLmgFlKuNiIjGRaMQ/assets/images/optimized/rev-db664e8/binks.com/wp-content/themes/binks/images/gradientBackground.png') center/cover no-repeat;
    color: white;
    text-align: center;
}

.testimonial-content {
    max-width: 900px;
    margin: 0 auto;
}

.quote-icon {
    font-size: 40px;
    margin-bottom: 30px;
    display: block;
    color: white;
}

.testimonial-text {
    font-size: 24px;
    line-height: 1.5;
    font-weight: 400;
    position: relative;
    padding: 0 40px;
}

/* Technology & Info Combined Section */
.tech-info-combined {
    padding: 100px 0;
    background-color: white; /* Section background is now white */
}

.spotlight-block {
    text-align: center;
    margin-bottom: 80px;
}

.spotlight-block h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 50px;
}

.spotlight-card {
    background: white;
    border-radius: 20px;
    padding: 60px 80px;
    display: flex;
    align-items: center;
    gap: 60px;
    text-align: left;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid rgba(0, 0, 54, 0.1); /* Subtle transparent border */
}

.spotlight-info {
    flex: 1;
}

.spotlight-info h3 {
    font-size: 20px;
    color: #555;
    font-weight: 400;
    margin-bottom: 30px;
}

.spotlight-list {
    list-style: none;
    margin-bottom: 40px;
}

.spotlight-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-blue);
}

.spotlight-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 12px;
    background-color: var(--seafoam-green);
    border-radius: 10px;
}

.spotlight-image {
    flex: 0 0 400px;
}

.spotlight-image img {
    width: 100%;
}

.btn-primary-blue {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--medium-blue);
    color: white;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary-blue:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
}

/* Need More Info Section (Now a block inside combined section) */
.info-hub {
    padding: 80px 0;
    background-color: var(--dark-blue);
    color: white;
    border-radius: 20px;
    width: 100%;
}

.info-hub-content {
    text-align: center;
}

.info-hub h2 {
    color: var(--seafoam-green);
    font-size: 42px;
    margin-bottom: 10px;
    font-weight: 800;
}

.info-hub p.subtitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 60px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    text-align: left;
    padding: 0 80px;
}

.info-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.info-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    color: var(--sky-blue);
}

.info-text h4 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 25px;
    line-height: 1.5;
}

.btn-hub-outline {
    display: inline-block;
    padding: 12px 25px;
    border: 1px solid var(--sky-blue);
    color: white;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-hub-outline:hover {
    background-color: var(--sky-blue);
    color: var(--dark-blue);
}

/* Contact CTA Section */
.contact-cta {
    background-color: #5bc6d8;
    padding: 80px 0;
    overflow: hidden;
}

.cta-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.cta-content {
    flex: 1;
    max-width: 600px;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--dark-blue);
    line-height: 1.1;
    margin-bottom: 25px;
}

.cta-content h2 span {
    color: white;
}

.cta-content p {
    font-size: 18px;
    color: var(--dark-blue);
    margin-bottom: 40px;
    font-weight: 500;
}

.cta-btns {
    display: flex;
    gap: 20px;
}

.btn-cta-white {
    background-color: white;
    color: var(--dark-blue);
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.btn-cta-white:hover {
    background-color: var(--dark-blue);
    color: white;
}

.btn-cta-outline {
    border: 1px solid var(--dark-blue);
    color: var(--dark-blue);
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.btn-cta-outline:hover {
    background-color: var(--dark-blue);
    color: white;
}

.cta-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.image-cutout {
    width: 450px;
    height: 450px;
    border-radius: 225px 225px 0 225px; /* Creates the unique cutout shape seen in screenshot */
    overflow: hidden;
    position: relative;
}

.image-cutout img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer Section - High Fidelity Version */
.main-footer {
  background-color: var(--dark-blue);
  color: white;
  padding: 100px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer-line-img {
    position: absolute;
    top: 0;
    right: 0;
    pointer-events: none;
    z-index: 1;
}

.footer-line-img img {
    height: 350px; /* Adjust based on screenshot feel */
    opacity: 1;
}

.main-footer .container {
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 80px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 30px;
    filter: brightness(0) invert(1);
}

.legal-links {
    list-style: none;
}

.legal-links li {
    margin-bottom: 10px;
}

.legal-links a {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul {
    list-style: none;
    margin-top: 5px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--sky-blue);
}

.social-col h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    font-size: 20px;
    color: var(--sky-blue);
    transition: var(--transition);
}

.social-icons a:hover {
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.bottom-links {
    display: flex;
    gap: 30px;
}

.bottom-links a {
    color: white;
    font-size: 12px;
    text-decoration: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  margin-bottom: 25px;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.footer-col li {
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  font-size: 20px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
/* Mobile Menu Toggle & Close Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-navy);
    cursor: pointer;
    padding: 5px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-header {
    display: none;
}

.mobile-close-btn {
    display: none; /* hidden on desktop */
    background: none;
    border: none;
    font-size: 28px;
    color: var(--primary-navy);
    cursor: pointer;
    padding: 5px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    .hero h1 {
        font-size: 52px;
    }
    .category-grid {
        height: auto;
        flex-wrap: wrap;
    }
    .category-card {
        flex: 1 1 calc(33.33% - 15px);
        height: 400px;
    }
    .category-card:hover {
        flex: 1 1 calc(33.33% - 15px);
    }
}

@media (max-width: 991px) {
    .top-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        padding-bottom: 5px;
    }
    .top-nav::-webkit-scrollbar {
        height: 3px;
    }
    .top-nav::-webkit-scrollbar-thumb {
        background-color: var(--accent-cyan);
    }
    .top-nav .container {
        justify-content: flex-start;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 1px solid #ebebeb;
    }
    .mobile-logo {
        height: 40px; /* same as main logo */
        width: auto !important; /* override the .nav-links img width: 20px constraint */
    }
    .mobile-close-btn {
        display: block;
    }
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 30px;
        gap: 15px;
        transition: 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    .nav-links.active {
        left: 0;
    }
    .hero {
        height: auto;
        padding: 80px 0 180px; /* Increased bottom padding */
    }
    .hero h1 {
        font-size: 36px;
    }
    .btn-white {
        margin-bottom: 30px; /* Added margin below button */
    }
    .category-card {
        flex: 1 1 calc(50% - 15px);
        height: 350px;
    }
    .systems-box {
        flex-direction: column;
        padding: 60px 20px; /* Increased top/bottom padding */
        text-align: center;
    }
    .systems-text h2 {
        font-size: 32px;
    }
    .systems-text {
        margin-bottom: 50px; /* Increased space below text */
    }
    .systems-circles {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    .brands-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .brands-content h2 {
        font-size: 32px;
        word-wrap: break-word;
    }
    .updates-slider {
        padding: 30px 15px;
    }
    .slider-container {
        flex-direction: row;
        gap: 15px;
    }
    .update-card-slim {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    .update-thumbnail {
        width: 100%;
        height: auto;
        max-height: 200px;
    }
    .update-details h4 {
        font-size: 18px;
    }
    .btn-update-action {
        width: 100%;
        text-align: center;
        white-space: normal;
    }
    .spotlight-card {
        flex-direction: column;
        padding: 30px 20px;
    }
    .spotlight-image {
        width: 100%;
    }
    .info-hub {
        padding: 60px 20px;
    }
    .info-hub h2 {
        font-size: 32px;
        line-height: 1.2;
    }
    .info-grid {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 40px;
    }
    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    .cta-content h2 {
        font-size: 32px;
    }
    .cta-btns {
        flex-direction: column;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    .brands-content h2 {
        font-size: 28px;
    }
    .testimonial-text {
        font-size: 18px;
        padding: 0;
    }
    .info-hub h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 30px;
    }
    .category-card {
        flex: 1 1 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .brand-col, .social-col {
        grid-column: span 1;
    }
}
