/* Eriscale Billing Suite - Microsoft Software Download Theme Stylesheet */

:root {
  --ms-blue: #0067b8;
  --ms-blue-hover: #005da6;
  --text-dark: #242424;
  --text-muted: #505050;
  --text-light: #616161;
  --bg-light: #f2f2f2;
  --border-color: #e6e6e6;
  --font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
  --container-max-width: 1160px;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Layout container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Header Section */
header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
  height: 48px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

/* Modern Logo styled like Microsoft but custom for Eriscale */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  width: 20px;
  height: 20px;
}

.logo-square {
  width: 9px;
  height: 9px;
}
.logo-square.red { background-color: #f25022; }
.logo-square.green { background-color: #7fba00; }
.logo-square.blue { background-color: #00a4ef; }
.logo-square.yellow { background-color: #ffb900; }

.brand-name {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 16px;
  border-right: 2px solid #707070;
  padding-right: 15px;
  display: flex;
  align-items: center;
  height: 24px;
}

.sub-brand-name {
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 400;
}

/* Nav Links */
.header-nav {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
}

.header-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.header-nav a:hover {
  color: #000;
  border-bottom: 2px solid var(--text-muted);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-right-nav {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}

.header-right-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
}

.header-right-nav a:hover {
  text-decoration: underline;
  color: #000;
}

/* Icons styling */
.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.icon-btn:hover {
  background-color: var(--bg-light);
  color: #000;
}

/* Blue Banner Section */
.hero-banner {
  background-color: var(--ms-blue);
  color: #ffffff;
  padding: 24px 0;
}

.hero-banner h1 {
  font-size: 38px;
  font-weight: 300;
  letter-spacing: -0.5px;
}

/* Gray Notification/Update Banner */
.update-section {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
  padding: 40px 0;
}

.update-content {
  max-width: 800px;
}

.update-content h2 {
  color: var(--ms-blue);
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 16px;
}

.update-content p {
  color: var(--text-dark);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 28px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background-color 0.15s ease-in-out;
}

.btn-primary {
  background-color: var(--ms-blue);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--ms-blue-hover);
}

.privacy-link {
  display: block;
  font-size: 13px;
  color: var(--ms-blue);
  text-decoration: none;
  margin-top: 16px;
}

.privacy-link:hover {
  text-decoration: underline;
  color: var(--ms-blue-hover);
}

/* Main Content Section */
.main-content {
  padding: 48px 0;
}

.media-creation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.media-creation-text h2 {
  color: var(--ms-blue);
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 16px;
}

.media-creation-text p {
  color: var(--text-dark);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* CSS Laptop Mockup */
.laptop-mockup-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 20px 0;
}

.laptop-screen-bezel {
  width: 90%;
  max-width: 460px;
  aspect-ratio: 16 / 10;
  background-color: #1a1a1a;
  border: 12px solid #1a1a1a;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}

/* Camera Dot */
.laptop-screen-bezel::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background-color: #333;
  border-radius: 50%;
  z-index: 10;
}

.laptop-screen-content {
  width: 100%;
  height: 100%;
  background-color: #008080; /* Classic Windows 95 teal fallback */
  position: relative;
  overflow: hidden;
}

.laptop-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.laptop-base {
  width: 102%;
  max-width: 520px;
  height: 12px;
  background: linear-gradient(to bottom, #d0d2d3, #9fa1a4);
  border-radius: 0 0 16px 16px;
  position: relative;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  z-index: 5;
}

/* Base notch / opening groove */
.laptop-base::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #55585a;
  border-radius: 0 0 4px 4px;
}

/* Feet/Shadow under laptop */
.laptop-shadow {
  width: 96%;
  max-width: 490px;
  height: 6px;
  background-color: rgba(0,0,0,0.1);
  border-radius: 50%;
  filter: blur(4px);
  margin-top: 4px;
}

/* Accordion Styling */
.accordions-container {
  border-top: 1px solid var(--border-color);
  margin-top: 24px;
}

.accordion-item {
  border-bottom: 1px solid var(--border-color);
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: var(--ms-blue);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.15s;
  outline: none;
}

.accordion-header:hover {
  color: var(--ms-blue-hover);
}

/* Plus/Minus Icon inside circle */
.accordion-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--ms-blue);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.15s, transform 0.25s ease;
}

.accordion-header:hover .accordion-icon {
  border-color: var(--ms-blue-hover);
}

/* Draw Plus sign with pseudo elements */
.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background-color: var(--ms-blue);
  transition: background-color 0.15s, transform 0.25s ease;
}

.accordion-header:hover .accordion-icon::before,
.accordion-header:hover .accordion-icon::after {
  background-color: var(--ms-blue-hover);
}

/* Horizontal line */
.accordion-icon::before {
  width: 10px;
  height: 1.5px;
  left: 4.5px;
  top: 8.5px;
}

/* Vertical line */
.accordion-icon::after {
  width: 1.5px;
  height: 10px;
  left: 8.5px;
  top: 4.5px;
}

/* Rotation when expanded */
.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

/* Collapse the vertical line to form a minus (-) */
.accordion-item.active .accordion-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

/* Content wrapper */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding-left: 32px;
}

.accordion-item.active .accordion-content {
  max-height: 1000px; /* high value for content extension */
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.accordion-inner-content {
  padding-bottom: 24px;
  color: var(--text-dark);
  font-size: 15px;
}

/* Lists styling inside accordion */
.feature-list {
  list-style: none;
  margin-top: 12px;
}

.feature-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ms-blue);
  font-weight: bold;
}

/* Footer Section */
footer {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
  padding: 36px 0 24px 0;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 60px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.footer-column h3 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: var(--text-light);
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
  color: #000;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 16px;
}

.footer-bottom-links {
  display: flex;
  list-style: none;
  gap: 16px;
}

.footer-bottom-links a {
  color: var(--text-light);
  text-decoration: none;
}

.footer-bottom-links a:hover {
  text-decoration: underline;
  color: #000;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .media-creation-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .laptop-mockup-container {
    order: -1; /* Display laptop on top of download block for mobile */
  }

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

@media (max-width: 600px) {
  .hero-banner {
    padding: 12px 0;
  }

  .header-nav {
    display: none; /* simple mobile responsive layout hide menu */
  }
  
  .brand-name {
    border-right: none;
  }
  
  .sub-brand-name {
    display: none;
  }

  .hero-banner .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0 !important;
  }

  .hero-banner img {
    margin: 0 !important;
    order: -1;
  }

  .hero-banner h1 {
    font-size: 28px;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
