/* Cloud Storage Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');

:root {
  --red: #DC2626;
  --red-dark: #B91C1C;
  --red-light: #EF4444;
  --red-pink: #EC4899;
  --red-rose: #F43F5E;
  --gray-dark: #1E293B;
  --gray: #475569;
  --gray-light: #94A3B8;
  --gray-lighter: #E2E8F0;
  --white: #FFFFFF;
  --bg-light: #FFFFFF;
  --bg-dark: #0F172A;
}

.cloud-storage-page {
  font-family: "Mulish", sans-serif;
  background: var(--white);
  color: var(--gray-dark);
  min-height: 100vh;
}

/* Hero Section */
.cloud-hero {
  position: relative;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 25%, #EF4444 50%, #EC4899 75%, #DC2626 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  overflow: hidden;
}

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

.cloud-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
  radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cloud-hero__container {
  max-width: 1296px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 1;
}

.cloud-hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cloud-hero__badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cloud-hero__title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--white);
  letter-spacing: -1px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.cloud-hero__title .highlight {
  color: var(--white);
  background: linear-gradient(135deg, #FFFFFF 0%, #FEE2E2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.cloud-hero__text {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 40px;
  max-width: 560px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

.cloud-hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cloud-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cloud-btn--primary {
  background: linear-gradient(135deg, var(--white) 0%, #FEE2E2 100%);
  color: var(--red-dark);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.25);
  font-weight: 700;
}

.cloud-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(220, 38, 38, 0.35);
  background: linear-gradient(135deg, #FFFFFF 0%, #FEE2E2 100%);
}

.cloud-btn--secondary {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}

.cloud-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
}

.cloud-btn--large {
  padding: 20px 48px;
  font-size: 18px;
}

.cloud-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.cloud-visual {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cloud-icon {
  position: relative;
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}

.cloud-icon--large {
  filter: drop-shadow(0 20px 60px rgba(220, 38, 38, 0.4));
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.cloud-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  opacity: 0.7;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  animation: particleFloat 4s ease-in-out infinite;
}

.particle--1 {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.particle--2 {
  top: 40%;
  right: 20%;
  animation-delay: 0.8s;
}

.particle--3 {
  bottom: 30%;
  left: 30%;
  animation-delay: 1.6s;
}

.particle--4 {
  top: 60%;
  right: 30%;
  animation-delay: 2.4s;
}

.particle--5 {
  bottom: 20%;
  right: 10%;
  animation-delay: 3.2s;
}

@keyframes particleFloat {
  0%, 100% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-30px) translateX(20px) scale(1.2);
    opacity: 1;
  }
}

/* Features Section */
.cloud-features {
  padding: 100px 0;
  background: var(--white);
}

.cloud-features__container {
  max-width: 1296px;
  margin: 0 auto;
  padding: 0 48px;
}

.cloud-features__header {
  text-align: center;
  margin-bottom: 64px;
}

.cloud-features__title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--gray-dark);
}

.cloud-features__title .highlight {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cloud-features__subtitle {
  font-size: 20px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.cloud-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 64px;
}

.cloud-feature-card {
  background: var(--white);
  border: 1px solid var(--gray-lighter);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.cloud-feature-card:hover {
  background: var(--white);
  border-color: var(--red-light);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(220, 38, 38, 0.15);
}

.cloud-feature-card__icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.cloud-feature-card__icon svg {
  stroke: var(--red);
}

.cloud-feature-card__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--gray-dark);
}

.cloud-feature-card__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray);
}

/* How It Works - Roadmap Style */
.cloud-how {
  padding: 100px 0;
  background: var(--white);
}

.cloud-how__container {
  max-width: 1296px;
  margin: 0 auto;
  padding: 0 48px;
}

.cloud-how__header {
  text-align: center;
  margin-bottom: 80px;
}

.cloud-how__title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--gray-dark);
}

.cloud-how__title .highlight {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cloud-roadmap {
  position: relative;
  padding: 60px 0;
}

.roadmap-svg {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  transform: translateY(-50%);
  z-index: 1;
  overflow: visible;
}

.roadmap-line {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawRoadmap 3s ease forwards;
  opacity: 0;
  stroke: var(--red);
}

.roadmap-vertical-line {
  opacity: 0;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawConnector 0.8s ease forwards;
  stroke: var(--red);
}

.roadmap-vertical-line[data-connector="1"] { animation-delay: 3s; }
.roadmap-vertical-line[data-connector="2"] { animation-delay: 3.2s; }
.roadmap-vertical-line[data-connector="3"] { animation-delay: 3.4s; }
.roadmap-vertical-line[data-connector="4"] { animation-delay: 3.6s; }

@keyframes drawRoadmap {
  0% { stroke-dashoffset: 1200; opacity: 0; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes drawConnector {
  0% { stroke-dashoffset: 100; opacity: 0; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

.cloud-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 2;
  align-items: start;
}

.cloud-step {
  position: relative;
  text-align: center;
  padding: 0 20px;
  opacity: 0;
  animation: stepAppear 0.8s ease forwards;
}

.cloud-step[data-step="1"] { animation-delay: 0.5s; }
.cloud-step[data-step="2"] { animation-delay: 1s; }
.cloud-step[data-step="3"] { animation-delay: 1.5s; }
.cloud-step[data-step="4"] { animation-delay: 2s; }

@keyframes stepAppear {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.cloud-step__number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-pink) 100%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 8px rgba(220, 38, 38, 0.15), 0 0 20px rgba(220, 38, 38, 0.3);
  transition: all 0.3s ease;
}

.cloud-step__number.active {
  box-shadow: 0 0 0 12px rgba(220, 38, 38, 0.2), 0 0 30px rgba(220, 38, 38, 0.4);
  transform: scale(1.05);
}

.cloud-step__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--gray-dark);
}

.cloud-step__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray);
}

/* Stats Section */
.cloud-stats {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.03) 0%, rgba(236, 72, 153, 0.03) 100%);
}

.cloud-stats__container {
  max-width: 1296px;
  margin: 0 auto;
  padding: 0 48px;
}

.cloud-stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.cloud-stat-card {
  text-align: center;
  padding: 40px 20px;
  background: var(--white);
  border: 1px solid var(--gray-lighter);
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.cloud-stat-card:hover {
  background: var(--white);
  border-color: var(--red-light);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(220, 38, 38, 0.15);
}

.cloud-stat-card__number {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1;
}

.cloud-stat-card__label {
  font-size: 16px;
  color: var(--gray);
  font-weight: 600;
}

/* CTA Section */
.cloud-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-pink) 50%, var(--red-rose) 100%);
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
  position: relative;
  overflow: hidden;
}

.cloud-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cloud-cta__container {
  max-width: 1296px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 1;
}

.cloud-cta__content {
  text-align: center;
}

.cloud-cta__title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.cloud-cta__text {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.cloud-faq {
  padding: 100px 0;
  background: var(--bg-light);
}

.cloud-faq__container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 48px;
}

.cloud-faq__header {
  text-align: center;
  margin-bottom: 64px;
}

.cloud-faq__title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--gray-dark);
}

.cloud-faq__title .highlight {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cloud-faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cloud-faq-item {
  background: var(--white);
  border: 1px solid var(--gray-lighter);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cloud-faq-item:hover {
  border-color: var(--red-light);
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.1);
}

.cloud-faq-item.active {
  border-color: var(--red);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.15);
}

.cloud-faq-item__question {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cloud-faq-item__question:hover {
  background: rgba(220, 38, 38, 0.05);
}

.cloud-faq-item__question h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-dark);
  margin: 0;
}

.cloud-faq-item__icon {
  font-size: 24px;
  font-weight: 300;
  color: var(--red);
  transition: transform 0.3s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.1);
}

.cloud-faq-item.active .cloud-faq-item__icon {
  transform: rotate(45deg);
}

.cloud-faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.cloud-faq-item.active .cloud-faq-item__answer {
  max-height: 500px;
  padding: 0 24px 24px;
}

.cloud-faq-item__answer p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray);
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .cloud-hero__content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cloud-hero__title {
    font-size: 42px;
  }

  .cloud-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .roadmap-svg {
    display: none;
  }
}

@media (max-width: 768px) {
  .cloud-hero {
    padding: 80px 0 60px;
  }

  .cloud-hero__title {
    font-size: 32px;
  }

  .cloud-hero__text {
    font-size: 18px;
  }

  .cloud-features__title,
  .cloud-how__title,
  .cloud-faq__title,
  .cloud-cta__title {
    font-size: 36px;
  }

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

  .cloud-features__grid {
    grid-template-columns: 1fr;
  }

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

  .cloud-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .cloud-hero__container,
  .cloud-features__container,
  .cloud-how__container,
  .cloud-stats__container,
  .cloud-cta__container,
  .cloud-faq__container {
    padding: 0 24px;
  }

  .cloud-stats__grid {
    grid-template-columns: 1fr;
  }
}
