/* Sky Kernel - Professional cloud solutions theme */
:root {
  --primary-color: #0a4da3; /* Deep sky blue - represents reliability and depth */
  --secondary-color: #5c9bd1; /* Medium sky blue - represents clouds */
  --accent-color: #ff7b25; /* Sunset orange - represents energy and innovation */
  --gradient-start: #0a4da3; /* Deep sky blue */
  --gradient-end: #5c9bd1; /* Medium sky blue */
  --background-color: #f0f6ff; /* Light sky blue background */
  --card-background: #ffffff; /* White for cards */
  --text-color: #2c3e50; /* Dark blue-gray for text */
  --light-text: #ffffff; /* White text for dark backgrounds */
  --header-height: 80px;
  --border-radius: 8px;
  --box-shadow: 0 8px 30px rgba(10, 77, 163, 0.15);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  background-image: linear-gradient(135deg, rgba(92, 155, 209, 0.1) 0%, rgba(10, 77, 163, 0.05) 100%);
  background-attachment: fixed;
}

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

/* Header styles */
header {
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  box-shadow: 0 4px 20px rgba(10, 77, 163, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  color: var(--light-text);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-icon {
  margin-right: 10px;
  font-size: 1.8rem;
}

header h1 a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

header h1 a:hover {
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Navigation styles */
nav ul {
  list-style-type: none;
  display: flex;
}

nav ul li {
  position: relative;
  margin: 0 5px;
}

nav ul li a {
  color: var(--light-text);
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: var(--border-radius);
  display: inline-block;
}

nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: var(--accent-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  opacity: 0;
}

nav ul li a:hover::after {
  width: 70%;
  opacity: 1;
}

/* Main content styles */
main {
  padding-top: calc(var(--header-height) + 2rem);
  min-height: calc(100vh - var(--header-height));
}

.page {
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
}

.page.hero {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  position: relative;
  color: var(--light-text);
  padding: 4rem 2.5rem;
  text-align: center;
  overflow: hidden;
}

.page.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 10%),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.1) 0%, transparent 20%),
    radial-gradient(circle at 90% 90%, rgba(255, 255, 255, 0.1) 0%, transparent 15%),
    radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 15%);
  z-index: 0;
  animation: cloudMove 60s linear infinite;
}

@keyframes cloudMove {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(5%, 5%) rotate(5deg);
  }
}

.page.hero > * {
  position: relative;
  z-index: 1;
}

.page.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Button styles */
.cta-button {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent-color), #ff9a5a);
  color: var(--light-text);
  padding: 0.85rem 2rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(255, 123, 37, 0.3);
  z-index: 1;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #ff9a5a, var(--accent-color));
  z-index: -1;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 123, 37, 0.4);
}

.cta-button:hover::before {
  opacity: 1;
}

.cta-button.secondary {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 4px 15px rgba(10, 77, 163, 0.3);
}

.cta-button.secondary::before {
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.cta-button.secondary:hover {
  box-shadow: 0 8px 25px rgba(10, 77, 163, 0.4);
}

/* Footer styles */
footer {
  background: linear-gradient(180deg, var(--background-color) 0%, #e1ebfa 100%);
  border-top: 1px solid rgba(10, 77, 163, 0.1);
  padding: 4rem 0 2rem;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  position: relative;
  display: inline-block;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-section p {
  margin-bottom: 1.5rem;
  color: var(--text-color);
  opacity: 0.8;
}

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

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0.8;
  display: inline-block;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
  opacity: 1;
  transform: translateX(5px);
}

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

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-text);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(10, 77, 163, 0.2);
}

.social-icons a:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(10, 77, 163, 0.3);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(10, 77, 163, 0.1);
  color: var(--text-color);
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
  header {
    height: auto;
    padding: 1rem 0;
  }

  header .container {
    flex-direction: column;
  }

  nav ul {
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  main {
    padding-top: 2rem;
  }
}

/* Additional Components */
.subtitle {
  font-size: 1.2rem;
  color: var(--text-color);
  opacity: 0.8;
  margin-bottom: 2rem;
  max-width: 800px;
}

.testimonial {
  background: linear-gradient(135deg, rgba(92, 155, 209, 0.1) 0%, rgba(10, 77, 163, 0.1) 100%);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin: 2rem 0;
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 6rem;
  color: var(--primary-color);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial blockquote {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial cite {
  font-style: normal;
  font-weight: 600;
  color: var(--primary-color);
  display: block;
  text-align: right;
}

.cta-container {
  text-align: center;
  margin: 3rem 0 1rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(10, 77, 163, 0.05) 0%, rgba(92, 155, 209, 0.05) 100%);
  border-radius: var(--border-radius);
}

.cta-container h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

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

.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-top: 4px solid transparent;
  z-index: 1;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  z-index: 2;
  transition: all 0.3s ease;
}

.feature::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(92, 155, 209, 0.05) 0%, rgba(10, 77, 163, 0.05) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(10, 77, 163, 0.2);
}

.feature:hover::after {
  opacity: 1;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.feature h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.feature p {
  color: var(--text-color);
  line-height: 1.7;
}
