/* SmartCloudAI SEO Website Styles */
:root {
  --primary: #1a365d;
  --primary-light: #2c5282;
  --secondary: #3182ce;
  --accent: #ed8936;
  --bg-light: #f7fafc;
  --text-dark: #1a202c;
  --text-gray: #4a5568;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
}

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

/* Header */
header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

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

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--secondary);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu span {
  width: 25px;
  height: 3px;
  background: var(--primary);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--white);
  margin-left: 1rem;
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
}

/* Products Grid */
.section {
  padding: 60px 20px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto 3rem;
}

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

.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-card .icon {
  font-size: 3rem;
  text-align: center;
  padding: 2rem;
  background: var(--bg-light);
}

.product-card h3 {
  padding: 1rem 1.5rem 0;
  color: var(--primary);
}

.product-card p {
  padding: 0.5rem 1.5rem 1rem;
  color: var(--text-gray);
}

.product-card .price {
  padding: 1rem 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

.product-card a {
  display: block;
  padding: 1rem;
  background: var(--bg-light);
  text-align: center;
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  color: var(--text-gray);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

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

/* Product Page Styles */
.product-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 60px 20px;
}

.product-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.product-hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 700px;
}

.product-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 20px;
}

.product-content h2 {
  color: var(--primary);
  margin: 2rem 0 1rem;
  font-size: 1.75rem;
}

.product-content h3 {
  color: var(--primary-light);
  margin: 1.5rem 0 0.75rem;
  font-size: 1.25rem;
}

.product-content p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

.product-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
}

.product-content li {
  margin-bottom: 0.5rem;
  color: var(--text-gray);
}

.cta-box {
  background: var(--bg-light);
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
}

.cta-box h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.cta-box p {
  margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
  background: var(--bg-light);
  padding: 3rem 20px;
}

.faq-item {
  max-width: 800px;
  margin: 0 auto 1.5rem;
  background: var(--white);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.faq-item h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* About Page */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 20px;
}

.about-content h2 {
  color: var(--primary);
  margin: 2rem 0 1rem;
}

/* Footer */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 3rem 20px;
  text-align: center;
}

footer a {
  color: var(--white);
  opacity: 0.8;
}

footer a:hover {
  opacity: 1;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 10px 24px;
  }
  
  .btn-secondary {
    margin-left: 0;
    margin-top: 1rem;
  }
  
  .section {
    padding: 40px 20px;
  }
  
  .products-grid, .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* JSON-LD Schema Styles */
script {
  display: block;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero, .product-card, .blog-card {
  animation: fadeIn 0.6s ease-out;
}

/* Trust badges */
.trust-section {
  background: var(--bg-light);
  padding: 2rem;
  text-align: center;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

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

.trust-item .number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.trust-item .label {
  color: var(--text-gray);
  font-size: 0.875rem;
}
