/* Global styles for PocketOption website */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  --po-dark-blue: #001333;
  --po-blue: #0052cc;
  --po-light-blue: #0099ff;
  --po-bright-blue: #00a3ff;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--po-dark-blue);
  color: white;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Button styles */
.btn-blue {
  background: linear-gradient(90deg, #0066cc 0%, #0099ff 100%);
  color: white;
  border-radius: 4px;
  padding: 10px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Header styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 19, 51, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
}

.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  margin-left: 10px;
}

.logo-highlight {
  color: var(--po-light-blue);
}

.desktop-nav {
  display: none;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}

.desktop-nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  transition: color 0.3s ease;
}

.desktop-nav a:hover {
  color: var(--po-light-blue);
}

.header-right {
  display: flex;
  align-items: center;
}

.language-selector {
  position: relative;
  margin-right: 20px;
  cursor: pointer;
  display: none;
}

@media (min-width: 768px) {
  .language-selector {
    display: flex;
    align-items: center;
  }
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--po-dark-blue);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 10px;
  min-width: 150px;
  display: none;
  z-index: 50;
}

.language-dropdown.active {
  display: block;
}

.language-option {
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
}

.language-option:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.language-flag {
  width: 20px;
  height: 15px;
  margin-right: 8px;
  object-fit: cover;
}

.auth-buttons {
  display: none;
}

@media (min-width: 768px) {
  .auth-buttons {
    display: flex;
    align-items: center;
  }
}

.auth-buttons a {
  margin-left: 15px;
  color: white;
  text-decoration: none;
}

.auth-buttons a:last-child {
  background-color: var(--po-light-blue);
  padding: 8px 16px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.auth-buttons a:last-child:hover {
  background-color: var(--po-blue);
}

.mobile-menu-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 5px;
  display: block;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--po-dark-blue);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 20px;
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.close-menu-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 5px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav a {
  color: white;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav a:hover {
  color: var(--po-light-blue);
}

.mobile-language-selector {
  margin-top: 20px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
}

.mobile-language-options {
  margin-top: 10px;
  padding-left: 15px;
}

.mobile-language-option {
  display: flex;
  align-items: center;
  padding: 8px 0;
}

.mobile-auth-buttons {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}

.mobile-auth-buttons a {
  margin-bottom: 10px;
  color: white;
  text-decoration: none;
  padding: 10px;
  text-align: center;
}

.mobile-auth-buttons a:last-child {
  background-color: var(--po-light-blue);
  border-radius: 4px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Hero section */
.hero-section {
  padding-top: 80px;
  background: linear-gradient(90deg, #001333 0%, #002255 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 0;
}

@media (min-width: 768px) {
  .hero-content {
    padding: 100px 0;
  }
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.hero-description {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    align-items: center;
  }
}

.hero-image {
  width: 100%;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .hero-image {
    position: absolute;
    right: -5%;
    top: 10%;
    width: 60%;
    margin-top: 0;
  }
}

/* Social icons */
.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.social-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background-color: var(--po-light-blue);
  transform: translateY(-3px);
}

/* Features section */
.features-section {
  padding: 60px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: linear-gradient(135deg, #002255 0%, #001333 100%);
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 153, 255, 0.2);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.feature-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
}

.feature-link {
  color: var(--po-light-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.feature-link:hover {
  text-decoration: underline;
}

/* Stats section */
.stats-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #001333 0%, #002255 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--po-light-blue);
  margin-bottom: 10px;
}

.stat-label {
  color: white;
  font-size: 1rem;
}

/* Platform preview */
.platform-section {
  padding: 60px 0;
}

.platform-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.8);
}

.platform-preview {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
}

.platform-cta {
  text-align: center;
}

/* Mobile app section */
.app-section {
  padding: 60px 0;
  background: linear-gradient(to bottom, var(--po-dark-blue), #001a33);
}

.app-container {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .app-container {
    flex-direction: row;
    align-items: center;
  }
}

.app-content {
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .app-content {
    width: 50%;
    margin-bottom: 0;
    padding-right: 30px;
  }
}

.app-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.app-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
}

.app-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

@media (min-width: 640px) {
  .app-buttons {
    flex-direction: row;
  }
}

.app-button {
  display: flex;
  align-items: center;
  background-color: black;
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.app-button:hover {
  background-color: #333;
}

.app-button-icon {
  margin-right: 10px;
}

.app-button-text {
  display: flex;
  flex-direction: column;
}

.app-button-small {
  font-size: 0.75rem;
}

.app-button-large {
  font-size: 1.125rem;
  font-weight: 600;
}

.app-rating {
  display: flex;
  align-items: center;
}

.rating-stars {
  display: flex;
  margin-right: 10px;
}

.app-image {
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .app-image {
    width: 50%;
  }
}

/* Testimonials */
.testimonials-section {
  padding: 60px 0;
}

.testimonials-container {
  position: relative;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 20px;
  height: 100%;
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.testimonial-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.testimonial-stars {
  display: flex;
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.8);
}

/* CTA section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(to right, var(--po-blue), var(--po-light-blue));
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-description {
  max-width: 700px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
  max-width: 400px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.btn-white {
  background-color: white;
  color: var(--po-blue);
  border-radius: 4px;
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-white:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid white;
  border-radius: 4px;
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  background-color: #000b21;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  text-decoration: none;
  color: white;
}

.footer-about {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}

.footer-disclaimer {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 15px;
  font-size: 0.875rem;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  text-align: center;
}

/* Page header for inner pages */
.page-header {
  padding-top: 80px;
  background: linear-gradient(90deg, #001333 0%, #002255 100%);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(0, 82, 204, 0.1) 0%, transparent 60%);
  z-index: 1;
}

.page-header-content {
  position: relative;
  z-index: 2;
  padding: 60px 0;
  text-align: center;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-description {
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.8);
}

/* Content sections for inner pages */
.content-section {
  padding: 60px 0;
}

.content-container {
  max-width: 800px;
  margin: 0 auto;
}

.content-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.content-text {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.content-list {
  margin-bottom: 20px;
  padding-left: 20px;
}

.content-list li {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}

.slide-up {
  animation: slideUp 1s ease forwards;
}

.slide-in-right {
  animation: slideInRight 1s ease forwards;
}

/* Animation delays */
.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

.hidden {
  display: none;
}
