/* Root Colors and Variables */
:root {
  --primary-bg: #F5F8FA;
  --primary-accent: #0288D1;
  --dark-blue: #01579B;
  --light-blue: #4FC3F7;
  --very-light-blue: #B3E5FC;
  --white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-light: #666666;
  --border-radius: 20px;
}

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

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-dark);
  line-height: 1.8;
  font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

h1 {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
}

h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 18px;
}

a {
  color: var(--primary-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--dark-blue);
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: transparent;
  padding: 20px 40px;
  z-index: 1000;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header.scrolled {
  background-color: rgba(2, 136, 209, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 15px 40px;
}

.logo {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  cursor: pointer;
  transition: color 0.3s ease;
}

header.scrolled .logo {
  color: var(--white);
}

.logo:hover {
  opacity: 0.8;
}

nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

nav a {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

header.scrolled nav a {
  color: var(--white);
}

nav a:hover {
  color: var(--primary-accent);
}

header.scrolled nav a:hover {
  color: var(--very-light-blue);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-bg) 0%, rgba(179, 229, 252, 0.3) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
  margin-top: 80px;
}

.hero-content {
  max-width: 1600px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 30px;
  color: var(--dark-blue);
}

.hero-text p {
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 40px;
  color: var(--text-light);
}

.hero-image {
  width: 100%;
  max-width: 500px;
  border-radius: var(--border-radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.8s ease;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  display: block;
}

/* Section Styles */
section {
  padding: 120px 40px;
  max-width: 1620px;
  margin: 0 auto;
}

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

.section-title h2 {
  color: var(--dark-blue);
  margin-bottom: 20px;
}

.section-title p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.two-column:nth-child(even) {
  direction: rtl;
}

.two-column > * {
  direction: ltr;
}

.two-column-text h3 {
  color: var(--primary-accent);
  margin-bottom: 20px;
  font-weight: 600;
}

.two-column-text p {
  margin-bottom: 16px;
}

.two-column-image {
  width: 100%;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  animation: fadeInUp 0.8s ease;
}

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

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}

.card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease;
}

.card:hover {
  border-color: var(--primary-accent);
  box-shadow: 0 20px 50px rgba(2, 136, 209, 0.15);
  transform: translateY(-5px);
}

.card h3 {
  color: var(--primary-accent);
  margin-bottom: 16px;
  font-size: 22px;
}

.card-icon {
  width: 50px;
  height: 50px;
  background-color: var(--very-light-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

/* Table Styles */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  margin-bottom: 80px;
}

.comparison-table th {
  background-color: var(--primary-accent);
  color: var(--white);
  padding: 20px;
  text-align: left;
  font-weight: 600;
}

.comparison-table td {
  padding: 18px 20px;
  border-bottom: 1px solid #E0E0E0;
  color: var(--text-light);
}

.comparison-table tbody tr:hover {
  background-color: var(--very-light-blue);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

/* Accordion Styles */
.accordion {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  margin-bottom: 80px;
}

.accordion-item {
  border-bottom: 1px solid #E0E0E0;
}

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

.accordion-header {
  padding: 24px 32px;
  background-color: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  font-weight: 600;
  color: var(--dark-blue);
}

.accordion-header:hover {
  background-color: var(--very-light-blue);
  color: var(--primary-accent);
}

.accordion-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-accent);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-toggle {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
  padding: 0 32px;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding: 0 32px 24px 32px;
}

.accordion-content p {
  margin-bottom: 12px;
}

/* Full Width Highlight Section */
.highlight-section {
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--very-light-blue) 100%);
  padding: 80px 40px;
  margin: 80px 0;
  border-radius: var(--border-radius);
  text-align: center;
}

.highlight-section h2 {
  color: var(--dark-blue);
  margin-bottom: 30px;
}

.highlight-section p {
  color: var(--text-dark);
  max-width: 900px;
  margin: 0 auto;
  font-size: 18px;
}

/* Contact Section */
.contact-section {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 80px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: var(--dark-blue);
  font-size: 16px;
}

.form-group input,
.form-group textarea {
  padding: 16px 20px;
  border: 2px solid #E0E0E0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: var(--primary-bg);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-accent);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(2, 136, 209, 0.1);
}

.form-disclaimer {
  font-size: 14px;
  color: var(--text-light);
  background-color: var(--very-light-blue);
  padding: 16px;
  border-radius: 8px;
  margin: 20px 0;
  border-left: 4px solid var(--primary-accent);
}

.btn {
  padding: 16px 40px;
  background-color: var(--primary-accent);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
  margin-top: 10px;
}

.btn:hover {
  background-color: var(--dark-blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(2, 136, 209, 0.3);
}

.btn:active {
  animation: pulse 0.5s ease;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.98); }
}

.contact-image {
  width: 100%;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

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

/* Footer */
footer {
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 60px 40px 30px;
}

.footer-content {
  max-width: 1620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.footer-section a {
  color: var(--light-blue);
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--very-light-blue);
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 30px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--white);
  padding: 60px;
  border-radius: var(--border-radius);
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 32px;
  cursor: pointer;
  color: var(--text-light);
  background: none;
  border: none;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--primary-accent);
}

.modal-content h2 {
  color: var(--dark-blue);
  margin-bottom: 30px;
}

.modal-content p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.modal-content h3 {
  color: var(--primary-accent);
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 20px;
}

.modal-content ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.modal-content li {
  margin-bottom: 10px;
  color: var(--text-light);
  line-height: 1.8;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 20px 40px;
  z-index: 1500;
  display: none;
  animation: slideUp 0.4s ease;
  border-top: 4px solid var(--primary-accent);
}

.cookie-banner.active {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cookie-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-text a {
  color: var(--light-blue);
}

.cookie-buttons {
  display: flex;
  gap: 16px;
  white-space: nowrap;
}

.cookie-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.cookie-accept {
  background-color: var(--primary-accent);
  color: var(--white);
}

.cookie-accept:hover {
  background-color: var(--light-blue);
}

.cookie-reject {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.cookie-reject:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Thank You Message */
.thank-you-message {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--white);
  padding: 60px 80px;
  border-radius: var(--border-radius);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
  z-index: 2500;
  animation: slideUp 0.4s ease;
}

.thank-you-message.active {
  display: block;
}

.thank-you-message h2 {
  color: var(--primary-accent);
  margin-bottom: 20px;
}

.thank-you-message p {
  color: var(--text-light);
  margin-bottom: 30px;
  font-size: 16px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content,
  .two-column,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  section {
    padding: 80px 30px;
  }

  nav {
    gap: 20px;
  }

  .cookie-banner.active {
    flex-direction: column;
    gap: 20px;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  p {
    font-size: 16px;
  }

  header {
    padding: 15px 20px;
  }

  nav {
    gap: 15px;
    font-size: 14px;
  }

  section {
    padding: 60px 20px;
  }

  .hero {
    min-height: auto;
    padding: 100px 20px 60px;
    margin-top: 70px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    padding: 24px;
  }

  .contact-section {
    padding: 40px 20px;
  }

  .modal-content {
    padding: 40px 20px;
    max-width: 90%;
  }

  .cookie-banner.active {
    padding: 20px;
    font-size: 13px;
  }

  .footer-content {
    gap: 30px;
  }

  .thank-you-message {
    padding: 40px;
    max-width: 90%;
  }

  .two-column {
    gap: 30px;
  }
}
