/* Reset and Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #4C3DDB;
  --primary-light: #6B5CE7;
  --text-dark: #000000;
  --text-gray: #333333;
  --text-light: #525252;
  --text-muted: #8D8D9E;
  --bg-white: #FFFFFF;
  --bg-light: #F5F3FF;
  --bg-purple: #E8E4FF;
  --bg-dark: #1C1C1C;
  --border-radius: 12px;
  --border-radius-lg: 24px;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
}

.logo img {
  height: 32px;
  width: 32px;
}

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

.nav-link {
  font-size: 15px;
  color: rgba(0, 0, 0, 0.8);
  font-weight: 500;
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link.dropdown::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-login {
  font-size: 16px;
  color: var(--primary);
  font-weight: 500;
}

.btn-login:hover {
  opacity: 0.8;
}

/* Dropdown Menu */
.dropdown-container {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  margin-top: 10px;
}

.dropdown-container:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-gray);
}

.dropdown-item:hover {
  background: var(--bg-light);
  color: var(--primary);
}

/* Hero Section */
.hero {
  padding: 160px 24px 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

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

.hero h1 {
  font-size: clamp(36px, 6vw, 70px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 26px);
  color: var(--text-dark);
  margin-bottom: 48px;
  opacity: 0.9;
}

/* Products Section */
.products {
  padding: 60px 24px;
  background: var(--bg-white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  color: var(--bg-white);
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(76, 61, 219, 0.3) 100%);
  pointer-events: none;
}

.product-card-image {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50%;
  max-width: 280px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.product-card h3 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  color: var(--bg-white);
}

.product-card p {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 50%;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.learn-more {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.learn-more:hover {
  color: var(--bg-white);
}

.learn-more::after {
  content: '→';
  transition: transform 0.3s ease;
}

.learn-more:hover::after {
  transform: translateX(4px);
}

/* Company Logos */
.logos-section {
  padding: 60px 24px;
  text-align: center;
  background: var(--bg-white);
}

.logos-section p {
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 40px;
}

.logos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.logos-grid img {
  height: auto;
  max-height: 50px;
  transition: var(--transition);
}

.logos-grid img:hover {
  opacity: 0.8;
}

/* Benefits Section */
.benefits {
  padding: 100px 24px;
  text-align: center;
  background: var(--bg-light);
}

.benefits h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

.benefits-subtitle {
  font-size: 18px;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto 60px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

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

.benefit-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 20px;
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
}

.benefit-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-gray);
}

.benefit-card p {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Security Section */
.security {
  padding: 100px 24px;
  text-align: center;
  background: var(--bg-white);
}

.security h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  margin-bottom: 60px;
  line-height: 1.2;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.security-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 500px;
  margin: 0 auto;
}

.security-item {
  text-align: center;
}

.security-item img {
  height: 64px;
  margin: 0 auto 16px;
}

.security-item p {
  font-size: 13px;
  color: var(--text-dark);
}

/* Newsletter Section */
.newsletter {
  padding: 100px 24px;
  background: var(--bg-purple);
  text-align: center;
}

.newsletter h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  margin-bottom: 40px;
}

.newsletter-options {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.newsletter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.newsletter-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.newsletter-form {
  max-width: 400px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 16px;
}

.form-group input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  font-size: 16px;
  background: var(--bg-white);
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(76, 61, 219, 0.1);
}

.btn-primary {
  width: 100%;
  padding: 16px 32px;
  background: var(--primary);
  color: var(--bg-white);
  border: none;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

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

/* Footer */
.footer {
  background: var(--bg-dark);
  padding: 60px 24px 32px;
  color: var(--bg-white);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
}

.footer-brand img {
  height: 28px;
  width: 28px;
  filter: brightness(0) invert(1);
}

.footer-column h4 {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.footer-column a {
  display: block;
  font-size: 13px;
  color: var(--bg-white);
  margin-bottom: 10px;
  opacity: 0.8;
}

.footer-column a:hover {
  opacity: 1;
  color: var(--primary-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1200px;
  margin: 0 auto;
}

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

.footer-legal a {
  font-size: 12px;
  color: var(--text-light);
}

.footer-legal a:hover {
  color: var(--bg-white);
}

.footer-copyright {
  font-size: 12px;
  color: var(--text-muted);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 280px;
  }

  .product-card p {
    max-width: 60%;
  }

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

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .hero {
    padding: 120px 24px 60px;
  }

  .hero h1 {
    font-size: 36px;
  }

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

  .security-grid,
  .security-row-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .product-card p {
    max-width: 100%;
  }

  .product-card-image {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 100%;
    margin-top: 24px;
  }
}

@media (max-width: 480px) {
  .logos-grid {
    gap: 24px;
  }

  .logos-grid img {
    height: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: var(--transition);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
}
