/* Import Inter font at the top */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* CSS Variables for colors extracted from design reference */
:root {
  --brand-blue: hsl(217, 71%, 53%);
  --brand-light-blue: hsl(217, 91%, 60%);
  --brand-dark: hsl(217, 33%, 17%);
  --white: hsl(0, 0%, 100%);
  --gray-50: hsl(210, 40%, 98%);
  --gray-100: hsl(210, 40%, 96%);
  --gray-400: hsl(215, 20%, 65%);
  --gray-500: hsl(215, 16%, 47%);
  --gray-600: hsl(215, 19%, 35%);
  --gray-700: hsl(215, 25%, 27%);
  --gray-900: hsl(215, 28%, 17%);
  --green-300: hsl(134, 61%, 70%);
  --green-500: hsl(142, 71%, 45%);
  --blue-50: hsl(214, 100%, 97%);
  --blue-100: hsl(214, 95%, 93%);
  --red-500: hsl(0, 84%, 60%);
  --yellow-500: hsl(45, 93%, 47%);
  --cyan-500: hsl(188, 94%, 57%);
  --purple-500: hsl(263, 70%, 50%);
  --orange-300: hsl(20, 90%, 70%);
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--gray-900);
  background-color: var(--white);
}

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

/* Utility classes */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.hidden {
  display: none;
}

.font-semibold {
  font-weight: 600;
}

.text-brand-blue {
  color: var(--brand-blue);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: hsla(0, 0%, 100%, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  z-index: 50;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .nav-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .nav-container {
    padding: 0 2rem;
  }
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cloud-logo {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-light-blue));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cloud-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--white);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--gray-500);
  display: none;
}

@media (min-width: 640px) {
  .brand-subtitle {
    display: block;
  }
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.btn-primary {
  background-color: var(--brand-blue);
  color: var(--white);
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background-color: hsl(217, 71%, 47%);
}

.mobile-menu-toggle {
  display: block;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

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

.menu-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-menu {
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.mobile-menu-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-link {
  display: block;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover {
  color: var(--brand-blue);
}

.mobile-cta {
  width: 100%;
}

/* Hero Section */
.hero-section {
  padding-top: 6rem;
  padding-bottom: 5rem;
  background: linear-gradient(135deg, var(--blue-50), var(--white));
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-content {
  text-align: left;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-dark);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

.btn-primary-large {
  background-color: var(--brand-blue);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-primary-large:hover {
  background-color: hsl(217, 71%, 47%);
  transform: scale(1.05);
}

.btn-secondary-large {
  border: 2px solid var(--brand-blue);
  color: var(--brand-blue);
  background-color: transparent;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary-large:hover {
  background-color: var(--brand-blue);
  color: var(--white);
}

.hero-badge {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.check-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--green-500);
  margin-right: 0.5rem;
}

.hero-image {
  position: relative;
}

.hero-placeholder {
  background: linear-gradient(135deg, var(--blue-50), var(--white));
  border-radius: 1rem;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.cloud-logo-large {
  width: 6rem;
  height: 6rem;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-light-blue));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.cloud-icon-large {
  width: 3rem;
  height: 3rem;
  color: var(--white);
}

.hero-placeholder h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 0.5rem;
}

.hero-placeholder p {
  color: var(--gray-600);
  font-size: 1.125rem;
}


/* Features Section */
.features-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 48rem;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: var(--gray-50);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--brand-blue);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--white);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 0.75rem;
}

.feature-description {
  color: var(--gray-600);
  line-height: 1.6;
}

/* How It Works Section */
.how-it-works-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--gray-50), var(--blue-50));
}

.how-it-works-content {
  display: grid;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .how-it-works-content {
    grid-template-columns: 1fr 1fr;
  }
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-number {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background-color: var(--brand-blue);
  color: var(--white);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 0.5rem;
}

.step-description {
  color: var(--gray-600);
  line-height: 1.6;
}

.process-image {
  position: relative;
}

.process-simple {
  display: flex;
  justify-content: center;
}

.code-example {
  background-color: hsla(217, 33%, 17%, 0.95);
  border-radius: 0.5rem;
  padding: 1rem;
  color: var(--white);
  font-family: 'Menlo', 'Monaco', 'Consolas', monospace;
  font-size: 0.875rem;
  max-width: 400px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.code-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.code-dots {
  display: flex;
  gap: 0.25rem;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.dot.red {
  background-color: var(--red-500);
}

.dot.yellow {
  background-color: var(--yellow-500);
}

.dot.green {
  background-color: var(--green-500);
}

.code-filename {
  color: var(--gray-400);
  margin-left: 0.5rem;
}

.code-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.keyword {
  color: hsl(207, 90%, 72%);
}

.variable {
  color: hsl(45, 90%, 72%);
}

.class {
  color: hsl(207, 90%, 72%);
}

.method {
  color: hsl(207, 90%, 72%);
}

.string {
  color: var(--orange-300);
}


/* Pricing Section */
.pricing-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.pricing-card-container {
  max-width: 32rem;
  margin: 0 auto;
}

.pricing-card {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-light-blue));
  border-radius: 1.5rem;
  padding: 2rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: hsla(0, 0%, 100%, 0.1);
  border-radius: 1.5rem;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 10;
}

.pricing-plan {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-note {
  color: var(--blue-100);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  position: relative;
  z-index: 10;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.feature-check {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--green-300);
}

.pricing-cta {
  width: 100%;
  background-color: var(--white);
  color: var(--brand-blue);
  padding: 1rem;
  border: none;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  z-index: 10;
}

.pricing-cta:hover {
  background-color: var(--gray-50);
  transform: scale(1.05);
}

.pricing-footer {
  text-align: center;
  margin-top: 3rem;
}

.pricing-footer p {
  color: var(--gray-600);
}

.contact-link {
  color: var(--brand-blue);
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-light-blue));
}

.cta-content {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}


.cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .cta-title {
    font-size: 3rem;
  }
}

.cta-subtitle {
  font-size: 1.25rem;
  color: var(--blue-100);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-actions {
    flex-direction: row;
  }
}

/* Footer */
.footer {
  background-color: var(--brand-dark);
  color: var(--white);
  padding: 4rem 0;
}

.footer-content {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-icons {
  display: flex;
  gap: 1rem;
}

.footer-icon-link {
  color: var(--gray-400);
  transition: color 0.2s ease;
  padding: 0.5rem;
  border-radius: 0.375rem;
}

.footer-icon-link:hover {
  color: var(--brand-blue);
  background-color: rgba(59, 130, 246, 0.1);
}

/* Supported Bots Section */
.supported-bots-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--gray-50), var(--blue-50));
}

.bots-grid {
  display: grid;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .bots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bots-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bot-card {
  background-color: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.bot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.bot-logo {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.bot-logo svg {
  width: 2rem;
  height: 2rem;
}

.discord-logo {
  background-color: hsl(235, 86%, 65%);
  color: var(--white);
}

.telegram-logo {
  background-color: hsl(200, 98%, 39%);
  color: var(--white);
}

.whatsapp-logo {
  background-color: hsl(142, 70%, 49%);
  color: var(--white);
}

.slack-logo {
  background-color: hsl(45, 100%, 51%);
  color: var(--white);
}

.twitter-logo {
  background-color: hsl(0, 0%, 7%);
  color: var(--white);
}

.api-logo {
  background-color: var(--purple-500);
  color: var(--white);
}

.bot-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 0.75rem;
}

.bot-description {
  color: var(--gray-600);
  line-height: 1.6;
  font-size: 0.875rem;
}

.footer-brand {
  grid-column: span 2;
}

@media (min-width: 768px) {
  .footer-brand {
    grid-column: span 1;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand-name {
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-description {
  color: var(--gray-400);
  line-height: 1.6;
  max-width: 24rem;
}

.footer-section h3 {
  font-weight: 600;
  margin-bottom: 1rem;
}

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

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

.footer-link {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  margin-top: 3rem;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  color: var(--gray-400);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-link {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Responsive adjustments */
@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .cta-title {
    font-size: 1.75rem;
  }
}
