/* ===================================
   LINED NOTEBOOK DESIGN - Tech Startup
   =================================== */

:root {
  --primary-color: #454f55;
  --accent-color: #8b9467;
  --bg-color: #f7f7f7;
  --text-color: #2f343a;
  --line-spacing: 33px;
  --section-spacing: 93px;
  --margin-left: 79px;
  --dark-bg: #2a2d30;
  --electric-blue: #87ceeb;
  --cyan: #87ceeb;
}

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

body {
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif, cursive;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: var(--line-spacing);
  color: var(--text-color);
  background-color: var(--bg-color);
  background-image: repeating-linear-gradient(
    transparent,
    transparent calc(var(--line-spacing) - 1px),
    #ddd calc(var(--line-spacing) - 1px),
    #ddd var(--line-spacing)
  );
  background-size: 100% var(--line-spacing);
  background-attachment: fixed;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: var(--margin-left);
  width: 2px;
  height: 100%;
  background-color: var(--accent-color);
  z-index: 1;
  pointer-events: none;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding-left: calc(var(--margin-left) + 19px);
  padding-right: 19px;
}

.content-container {
  max-width: 800px;
  margin: 0 auto;
  padding-left: calc(var(--margin-left) + 18px);
  padding-right: 23px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif, cursive;
  font-weight: 700;
  color: var(--primary-color);
  line-height: var(--line-spacing);
}

h1 { font-size: 1.5rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1.1rem; }

a {
  color: var(--electric-blue);
  text-decoration: underline;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--cyan);
}

img {
  max-width: 100%;
  height: auto;
}

.section-spacing {
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
}

.bg-paper {
  background-color: var(--bg-color);
  position: relative;
}

.bg-paper-alt {
  background-color: #f5f4ea;
  position: relative;
}

.bg-dark {
  background-color: var(--dark-bg);
  background-image: none;
  color: #fff;
}

.bg-primary {
  background: linear-gradient(135deg, var(--electric-blue), var(--cyan));
  background-image: none;
  color: #fff;
}

/* ===================================
   NAVBAR
   =================================== */

.navbar {
  background-color: var(--bg-color) !important;
  border-bottom: 2px solid #ddd;
  padding: 1rem 0;
  z-index: 1000;
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary-color);
}

.logo-img {
  max-height: 44px;
  width: auto;
  margin-right: 0.5rem;
}

.site-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-link {
  font-size: 1.1rem;
  color: var(--text-color) !important;
  padding: 0.5rem 1rem;
  text-decoration: none;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
  pointer-events: none;
}

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

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

.hero-section {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  background-image: none;
  padding: var(--section-spacing) 0;
}

.min-vh-50 {
  min-height: 50vh;
}

.hero-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-align: center;
}

.hero-lead {
  font-size: 1.1rem;
  color: #fff;
  text-align: center;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.feature-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
}

.feature-badge i {
  color: var(--cyan);
  margin-right: 0.5rem;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif, cursive;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 0;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--electric-blue);
  color: #fff;
  border-color: var(--electric-blue);
}

.btn-primary:hover {
  background-color: var(--cyan);
  border-color: var(--cyan);
  color: #fff;
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--electric-blue);
  border-color: var(--electric-blue);
}

.btn-outline-primary:hover {
  background-color: var(--electric-blue);
  color: #fff;
}

.btn-outline-light {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline-light:hover {
  background-color: #fff;
  color: var(--electric-blue);
}

.btn-light {
  background-color: #fff;
  color: var(--electric-blue);
  border-color: #fff;
}

.btn-light:hover {
  background-color: transparent;
  border-color: #fff;
  color: #fff;
}

/* ===================================
   SECTIONS
   =================================== */

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 2rem;
}

/* ===================================
   FEATURE CARDS
   =================================== */

.feature-card {
  padding: 2rem 0;
  text-align: left;
  border-bottom: 1px dashed #ddd;
}

.feature-icon {
  font-size: 2rem;
  color: var(--electric-blue);
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-text {
  font-size: 1.1rem;
  color: var(--text-color);
  line-height: var(--line-spacing);
}

/* ===================================
   SERVICE CARDS
   =================================== */

.service-card {
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 1rem;
}

.service-image {
  margin-bottom: 1rem;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

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

.service-content {
  padding: 1rem 0;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-text {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  line-height: var(--line-spacing);
}

.service-link {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--electric-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.service-link:hover {
  color: var(--cyan);
}

/* ===================================
   PRICING CARDS
   =================================== */

.pricing-card {
  border: 2px solid var(--primary-color);
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
  background-color: transparent;
}

.pricing-card.featured {
  border-color: var(--accent-color);
  border-width: 3px;
}

.pricing-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-color);
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px dashed #ddd;
}

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

.pricing-price {
  font-size: 1.1rem;
  color: var(--text-color);
}

.price-currency {
  font-size: 1.1rem;
}

.price-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.price-period {
  font-size: 1.1rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.pricing-features li {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  line-height: var(--line-spacing);
}

.pricing-features li i {
  margin-right: 0.5rem;
  color: var(--electric-blue);
}

.pricing-features li.disabled {
  opacity: 0.5;
}

.pricing-features li.disabled i {
  color: #999;
}

/* ===================================
   TESTIMONIALS
   =================================== */

.testimonial-card {
  padding: 2rem 0;
  border-bottom: 1px dashed #ddd;
}

.testimonial-rating {
  color: #ffc107;
  font-size: 1.1rem;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--text-color);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: var(--line-spacing);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 60px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-color);
}

.author-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.author-role {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 0;
}

/* ===================================
   TEAM
   =================================== */

.team-card {
  margin-bottom: 2rem;
  text-align: center;
}

.team-image {
  margin-bottom: 1rem;
  overflow: hidden;
  border: 2px solid var(--accent-color);
}

.team-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

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

.team-content {
  padding: 1rem 0;
}

.team-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.team-role {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.team-social a {
  font-size: 1.5rem;
  color: var(--electric-blue);
  text-decoration: none;
}

.team-social a:hover {
  color: var(--cyan);
}

/* ===================================
   STATS
   =================================== */

.stat-item {
  padding: 2rem 0;
}

.stat-icon {
  color: var(--cyan);
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0;
}

/* ===================================
   FAQ ACCORDION
   =================================== */

.accordion-item {
  border: 2px solid var(--primary-color);
  background-color: transparent;
  margin-bottom: 1rem;
}

.accordion-header {
  margin: 0;
}

.accordion-button {
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif, cursive;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  background-color: transparent;
  border: none;
  padding: 1rem;
  text-align: left;
  line-height: var(--line-spacing);
}

.accordion-button:not(.collapsed) {
  background-color: transparent;
  color: var(--electric-blue);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.accordion-button::after {
  background-image: none;
  content: '+';
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  width: auto;
  height: auto;
  transform: none;
}

.accordion-button:not(.collapsed)::after {
  content: '-';
  transform: none;
}

.accordion-body {
  font-size: 1.1rem;
  color: var(--text-color);
  padding: 1rem;
  background-color: transparent;
  line-height: var(--line-spacing);
}

.accordion-collapse {
  border-top: 1px dashed #ddd;
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
  background-image: none;
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.cta-text {
  font-size: 1.1rem;
  color: #fff;
}

/* ===================================
   INTEGRATIONS
   =================================== */

.integration-logo {
  text-align: center;
  padding: 1rem;
}

.integration-logo i {
  color: var(--electric-blue);
  transition: color 0.3s ease;
}

.integration-logo:hover i {
  color: var(--cyan);
}

.integration-logo p {
  font-size: 1.1rem;
  color: var(--text-color);
}

/* ===================================
   BLOG CARDS
   =================================== */

.blog-card {
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 1rem;
}

.blog-image {
  margin-bottom: 1rem;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

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

.blog-meta {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.blog-meta i {
  margin-right: 0.5rem;
  color: var(--electric-blue);
}

.blog-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.blog-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.blog-title a:hover {
  color: var(--electric-blue);
}

.blog-excerpt {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  line-height: var(--line-spacing);
}

.blog-link {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--electric-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.blog-link:hover {
  color: var(--cyan);
}

/* ===================================
   CASE STUDY CARDS
   =================================== */

.case-study-card {
  margin-bottom: 2rem;
  border: 2px solid var(--primary-color);
  overflow: hidden;
}

.case-study-image {
  overflow: hidden;
}

.case-study-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.case-study-image img:hover {
  transform: scale(1.05);
}

.case-study-content {
  padding: 1.5rem;
}

.case-study-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.case-study-text {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  line-height: var(--line-spacing);
}

.case-study-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.case-study-tag {
  font-size: 1.1rem;
  color: var(--electric-blue);
  border: 1px solid var(--electric-blue);
  padding: 0.25rem 0.75rem;
  background-color: transparent;
}

.case-study-link {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--electric-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.case-study-link:hover {
  color: var(--cyan);
}

/* ===================================
   CONTACT FORM
   =================================== */

.form-label {
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif, cursive;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif, cursive;
  font-size: 1.1rem;
  color: var(--text-color);
  background-color: transparent;
  border: 2px solid var(--primary-color);
  border-radius: 0;
  padding: 0.75rem;
  line-height: var(--line-spacing);
}

.form-control:focus,
.form-select:focus {
  background-color: transparent;
  border-color: var(--electric-blue);
  box-shadow: none;
  color: var(--text-color);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

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

.footer {
  background-color: var(--bg-color);
  border-top: 2px solid #ddd;
  margin-top: 3rem;
}

.footer-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.footer-text {
  font-size: 1.1rem;
  color: var(--text-color);
  line-height: var(--line-spacing);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 1.1rem;
  color: var(--text-color);
  text-decoration: none;
}

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

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: var(--text-color);
  display: flex;
  align-items: center;
}

.footer-contact i {
  color: var(--electric-blue);
  margin-right: 0.5rem;
}

.footer-contact a {
  color: var(--text-color);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--electric-blue);
}

.social-links a {
  font-size: 1.5rem;
  color: var(--electric-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--cyan);
}

.footer-link {
  font-size: 1.1rem;
  color: var(--text-color);
  text-decoration: none;
}

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

.border-line {
  border-color: #ddd;
  opacity: 1;
}

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

@media (max-width: 768px) {
  :root {
    --margin-left: 41px;
    --section-spacing: 65px;
  }

  .container,
  .content-container {
    padding-left: calc(var(--margin-left) + 17px);
    padding-right: 18px;
  }

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

  .hero-lead {
    font-size: 1.1rem;
  }

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

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 576px) {
  :root {
    --margin-left: 20px;
    --section-spacing: 47px;
  }

  body {
    font-size: 1.1rem;
  }

  h1, h2, h3, h4 {
    font-size: 1.5rem;
  }

  .logo-img {
    max-height: 37px;
  }

  .site-name {
    font-size: 1.1rem;
  }
}

/* ===================================
   ARTICLE PAGE
   =================================== */

.article-header {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--accent-color);
}

.article-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.article-meta {
  font-size: 1.1rem;
  color: var(--text-color);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.article-meta i {
  color: var(--electric-blue);
  margin-right: 0.5rem;
}

.article-image {
  margin-bottom: 2rem;
  overflow: hidden;
  border: 2px solid var(--accent-color);
}

.article-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-content {
  font-size: 1.1rem;
  color: var(--text-color);
  line-height: var(--line-spacing);
}

.article-content h2,
.article-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-content p {
  margin-bottom: 1rem;
  line-height: var(--line-spacing);
}

.article-content ul,
.article-content ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.article-content li {
  margin-bottom: 0.5rem;
  line-height: var(--line-spacing);
}

/* ===================================
   LEGAL PAGES
   =================================== */

.legal-content {
  font-size: 1.1rem;
  color: var(--text-color);
  line-height: var(--line-spacing);
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: var(--line-spacing);
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  line-height: var(--line-spacing);
}

/* ===================================
   UTILITIES
   =================================== */

.text-primary {
  color: var(--electric-blue) !important;
}

.text-accent {
  color: var(--accent-color) !important;
}

.bg-gradient {
  background: linear-gradient(135deg, var(--electric-blue), var(--cyan));
}
