/* style.css */
:root {
  --primary-color: #00bcd4;
  --primary-dark: #0097a7;
  --secondary-color: #009688;
  --bg-color: #f4fbfb;
  --text-main: #2c3e50;
  --text-light: #546e7a;
  --card-bg: rgba(255, 255, 255, 0.9);
  --border-radius: 12px;
  --box-shadow: 0 8px 30px rgba(0, 188, 212, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(120deg, var(--bg-color), #e0f7fa, #f4fbfb);
  background-size: 200% 200%;
  animation: bgShift 15s ease infinite;
  color: var(--text-main);
  line-height: 1.6;
}

@keyframes bgShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
header {
  padding: 20px 0;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.main-nav {
  display: flex;
  gap: 20px;
}

.main-nav a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 1rem;
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--primary-color);
}

.cta-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white !important;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
  display: inline-block;
  text-align: center;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
}

/* Hero Section */
.hero {
  padding: 100px 0;
  position: relative;
}

/* Full width hero background effect */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: -50vw; right: -50vw; bottom: 0;
  background-image: 
    linear-gradient(rgba(0, 188, 212, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 188, 212, 0.15) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0;
  animation: gridMove 15s linear infinite;
  z-index: -1;
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

/* Glowing Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  animation: floatOrb 8s ease-in-out infinite alternate;
}

.orb-1 {
  width: 300px; height: 300px;
  background: rgba(0, 188, 212, 0.3);
  top: 10%; left: 0%;
  animation-duration: 10s;
}

.orb-2 {
  width: 250px; height: 250px;
  background: rgba(0, 150, 136, 0.2);
  bottom: 0%; right: 40%;
  animation-duration: 12s;
  animation-delay: 2s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -30px) scale(1.2); }
}

/* Data Streams */
.data-stream {
  position: absolute;
  width: 2px;
  height: 150px;
  background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
  animation: streamFall 3s linear infinite;
  opacity: 0;
  z-index: -1;
}

.ds-1 { left: 15%; animation-delay: 0s; animation-duration: 4s; }
.ds-2 { left: 35%; animation-delay: 1.5s; animation-duration: 3s; }
.ds-3 { left: 55%; animation-delay: 0.5s; animation-duration: 5s; }
.ds-4 { left: 75%; animation-delay: 2.2s; animation-duration: 3.5s; }
.ds-5 { left: 95%; animation-delay: 1s; animation-duration: 4.5s; }

@keyframes streamFall {
  0% { transform: translateY(-100px); opacity: 0; }
  20% { opacity: 0.6; }
  80% { opacity: 0.6; }
  100% { transform: translateY(600px); opacity: 0; }
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero-text {
  flex: 1;
  text-align: left;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero .cta-btn {
  font-size: 1.2rem;
  padding: 15px 40px;
}

.hero-main-img {
  width: 100%;
  max-width: 550px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 188, 212, 0.25);
  animation: floatImg 8s ease-in-out infinite;
  display: block;
  position: relative;
  z-index: 1;
}

.hero-overlay-card {
  position: absolute;
  bottom: -30px;
  right: 10px;
  z-index: 2;
  transform-origin: bottom right;
}

/* Floating Dynamic Card Animation */
.floating-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  width: 300px;
  box-shadow: 0 20px 50px rgba(0, 188, 212, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  animation: float 6s ease-in-out infinite;
  position: relative;
}

.ping-dot {
  width: 12px;
  height: 12px;
  background-color: #00e676;
  border-radius: 50%;
  position: absolute;
  top: 35px;
  right: 30px;
  box-shadow: 0 0 10px #00e676;
  animation: pulse 2s infinite;
}

.card-title {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.card-bar {
  height: 10px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 5px;
  margin-bottom: 15px;
}

.w-100 { width: 100%; animation: loadBar 2s ease-out forwards; }
.w-80 { width: 80%; animation: loadBar 2.5s ease-out forwards; }
.w-60 { width: 60%; animation: loadBar 3s ease-out forwards; }

@keyframes float {
  0% { transform: translateY(0px) scale(0.85); }
  50% { transform: translateY(-15px) scale(0.85); }
  100% { transform: translateY(0px) scale(0.85); }
}

@keyframes floatImg {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes loadBar {
  0% { width: 0; opacity: 0; }
  100% { opacity: 1; }
}

/* Section Shared Styles */
.section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: var(--text-main);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Features Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
  border: 1px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(5px);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 188, 212, 0.15);
}

.img-wrapper {
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 20px;
  height: 200px;
  position: relative;
}

.feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover .feature-img {
  transform: scale(1.1);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: inline-block;
  background: white;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.card p {
  color: var(--text-light);
}

/* Blog Cards */
.blog-card {
  padding: 0;
  overflow: hidden;
  text-align: left;
}

.blog-card .img-wrapper {
  margin-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.blog-content {
  padding: 25px;
}

.blog-content h3 {
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: 10px;
}

.blog-content h3 a {
  color: var(--text-main);
}

.blog-content h3 a:hover {
  color: var(--primary-color);
}

.blog-content p {
  font-size: 0.95rem;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  font-weight: bold;
  color: var(--primary-color);
  font-size: 0.95rem;
  display: inline-block;
}

.read-more:hover {
  transform: translateX(5px);
}

/* Pricing */
.pricing-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.pricing-card.popular {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: 15px;
  right: -30px;
  background: var(--primary-color);
  color: white;
  padding: 5px 30px;
  transform: rotate(45deg);
  font-size: 0.8rem;
  font-weight: bold;
}

.price {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary-dark);
  margin: 20px 0;
}

.price span {
  font-size: 1rem;
  color: var(--text-light);
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
}

.pricing-features li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.pricing-card .cta-btn {
  margin-top: auto;
}

/* Streaming & AI */
.streaming-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.streaming-icon {
  background: white;
  padding: 15px 25px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  font-weight: bold;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease;
}

.streaming-icon:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 188, 212, 0.2);
  color: var(--primary-color);
}

/* Banner Images */
.banner-img-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 40px;
  border-radius: 20px;
  position: relative;
  z-index: 1;
}

.banner-img {
  width: 100%;
  display: block;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 188, 212, 0.2);
}

.animated-float-container {
  animation: floatImg 8s ease-in-out infinite;
}

.animated-pulse-img {
  animation: bannerPulse 15s ease-in-out infinite alternate;
}

@keyframes bannerPulse {
  0% { transform: scale(1); filter: brightness(1); }
  100% { transform: scale(1.08); filter: brightness(1.15); }
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

details {
  background: white;
  margin-bottom: 15px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
}

summary {
  padding: 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
}

summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: var(--transition);
}

details[open] summary::after {
  content: '-';
}

details p {
  padding: 0 20px 20px;
  color: var(--text-light);
}

/* Reviews */
.review-card {
  text-align: left;
}

.review-text {
  font-style: italic;
  margin-bottom: 15px;
  color: var(--text-light);
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Footer */
footer {
  background: #1a252f;
  color: #ecf0f1;
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a {
  color: #bdc3c7;
}

.footer-links a:hover {
  color: white;
}

.copyright {
  text-align: center;
  color: #7f8c8d;
  font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .main-nav {
    display: none; /* Hide nav on small screens for simplicity */
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1rem;
    margin: 0 auto 30px;
  }

  .hero-visual {
    margin-top: 40px;
  }
  
  .pricing-card.popular {
    transform: none;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Inner Pages Styles */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  color: white;
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  -webkit-text-fill-color: white;
}

.page-content {
  background: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin: -30px auto 40px;
  position: relative;
  max-width: 800px;
}

.page-content h2 {
  color: var(--primary-dark);
  margin: 25px 0 15px;
}

.page-content p {
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-content ul {
  margin-left: 20px;
  margin-bottom: 15px;
  color: var(--text-light);
}

.article-content h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.article-content h2 {
  font-size: 1.6rem;
  margin-top: 35px;
  border-bottom: 1px solid rgba(0, 188, 212, 0.2);
  padding-bottom: 10px;
}

.article-content h3 {
  font-size: 1.3rem;
  margin-top: 25px;
  color: var(--text-main);
}

.article-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.article-content img {
  max-width: 100%;
  border-radius: 12px;
  margin: 25px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.sitemap-list {
  list-style: none;
  margin: 0;
}

.sitemap-list li {
  margin-bottom: 15px;
}

.sitemap-list a {
  font-size: 1.2rem;
  font-weight: 600;
  display: inline-block;
  padding: 10px 20px;
  background: var(--bg-color);
  border-radius: 8px;
  width: 100%;
}
