/* 
   Modern CSS for x-pictures.pro
   Clean, minimal design with unique color scheme
*/

:root {
  --primary: #00bcd4;
  --secondary: #673ab7;
  --dark: #212121;
  --light: #f7f7f7;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  --radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
}

.page-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

/* Header */
header {
  background-color: var(--white);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

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

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

.logo {
  margin-right: 1rem;
}

.logo-area span {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--dark);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2.5rem;
}

nav ul li a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--gradient);
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 2;
}

.menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--dark);
  border-radius: 3px;
  position: absolute;
  transition: all 0.3s ease;
}

.menu-btn span:nth-child(1) {
  top: 0;
}

.menu-btn span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.menu-btn span:nth-child(3) {
  bottom: 0;
}

.menu-btn.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 10px;
}

/* Hero Section */
.hero {
  padding: 6rem 0;
  background-color: var(--light);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 188, 212, 0.05) 0%, transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(103, 58, 183, 0.05) 0%, transparent 30%);
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2.5rem;
}

.hero-visual {
  flex: 1;
  max-width: 500px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-button {
  display: inline-block;
  background: var(--gradient);
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0, 188, 212, 0.2);
  transition: all 0.3s ease;
  text-align: center;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 188, 212, 0.3);
  color: var(--white);
}

/* Features Section */
.features {
  padding: 6rem 0;
  background-color: var(--white);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background-image: 
    linear-gradient(to bottom right, rgba(0, 188, 212, 0.03), rgba(103, 58, 183, 0.03));
  z-index: 0;
  transform: skewY(-3deg);
  transform-origin: top left;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  text-align: center;
}

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

.card-icon {
  margin: 0 auto 2rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: var(--gradient);
  color: var(--white);
  text-align: center;
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
  margin: 2rem 0;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta-section p {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

.cta-section .cta-button {
  background: var(--white);
  color: var(--secondary);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.cta-section .cta-button:hover {
  background: var(--light);
  color: var(--primary);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 5rem 0 2rem;
  margin-top: auto;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-text {
  margin-left: 1rem;
}

.footer-text p {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.footer-text .tagline {
  font-size: 0.9rem;
  opacity: 0.7;
  font-weight: normal;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.link-group h4 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.link-group ul {
  list-style: none;
}

.link-group ul li {
  margin-bottom: 0.7rem;
}

.link-group ul li a {
  color: #aaa;
  text-decoration: none;
  transition: all 0.3s ease;
}

.link-group ul li a:hover {
  color: var(--primary);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Open Graph Image */
.og-image {
  width: 1200px;
  height: 630px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  padding: 2rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    max-width: 100%;
    margin-bottom: 3rem;
    text-align: center;
  }
  
  .hero-visual {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  .menu-btn {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100vh;
    background: white;
    z-index: 999;
    padding: 80px 20px 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.4s ease;
    overflow-y: auto;
  }
  
  nav.active {
    transform: translateX(0);
  }
  
  nav ul {
    flex-direction: column;
  }
  
  nav ul li {
    margin: 0 0 20px 0;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-links {
    margin-top: 2rem;
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.2rem;
  }
  
  p {
    font-size: 0.95rem;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .features, .cta-section {
    padding: 4rem 0;
  }
  
  .cards {
    gap: 1.5rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}
