/* 
   Main stylesheet for imagetovideopornai.love
   Modern, teal/green gradient-based design with clean layout
*/

/* Base Styles & CSS Reset */
:root {
  --primary-color: #00C9FF;     /* Bright teal */
  --secondary-color: #92FE9D;   /* Light green */
  --dark-color: #222;           /* Near black */
  --light-color: #fff;          /* White */
  --text-color: #333;           /* Dark gray for text */
  --text-light: #777;           /* Light gray for secondary text */
  --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --box-shadow: 0 8px 30px rgba(0, 201, 255, 0.15);
  --transition: all 0.3s ease;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #f7fbfc;
  overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4 {
  margin-bottom: 1rem;
  line-height: 1.3;
  font-weight: 700;
}

h1 {
  font-size: 1.8rem;
  color: var(--dark-color);
}

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

h3 {
  font-size: 1.4rem;
  color: var(--dark-color);
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

ul {
  list-style: none;
}

section {
  padding: 5rem 0;
}

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

.logo-area {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.logo {
  margin-right: 12px;
}

.logo-area h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}

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

nav ul li a:hover {
  color: var(--primary-color);
}

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

/* Hero Section */
.hero {
  background: var(--gradient);
  color: var(--light-color);
  text-align: center;
  padding: 7rem 0;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--light-color);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.highlight {
  position: relative;
  display: inline-block;
}

.highlight:after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: -1;
  border-radius: 4px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
}

/* CTA Buttons */
.cta-button {
  display: inline-block;
  background: var(--light-color);
  color: var(--primary-color);
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
}

.cta-button:hover {
  transform: translateY(-3px);
  color: var(--light-color);
  box-shadow: 0 8px 25px rgba(0, 201, 255, 0.3);
}

.cta-button:hover:before {
  opacity: 1;
}

.cta-button.large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* Technology Section */
.technology {
  background-color: var(--light-color);
  padding-top: 7rem;
}

.tech-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.tech-item {
  text-align: center;
  padding: 2rem;
  border-radius: 15px;
  background-color: #f9f9f9;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.tech-icon {
  margin-bottom: 1.5rem;
}

.tech-item h3 {
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.tech-item p {
  margin-bottom: 0;
}

/* Examples Section */
.examples {
  background: linear-gradient(to bottom, #f9f9f9, #ffffff);
}

.examples-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.example {
  text-align: center;
  padding: 2.5rem;
  border-radius: 15px;
  background-color: var(--light-color);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.example:hover {
  transform: translateY(-8px);
}

.example-icon {
  margin-bottom: 1.5rem;
}

.example h3 {
  margin-bottom: 1rem;
}

.example p {
  margin-bottom: 1.5rem;
}

.example-link {
  display: inline-block;
  font-weight: 600;
  color: var(--primary-color);
  position: relative;
}

.example-link:after {
  content: '→';
  margin-left: 5px;
  transition: var(--transition);
}

.example-link:hover:after {
  margin-left: 10px;
}

/* Try It Section */
.try-it {
  background-color: var(--light-color);
  text-align: center;
}

.try-it p {
  max-width: 600px;
  margin: 0 auto 3rem;
}

.cta-container {
  max-width: 700px;
  margin: 0 auto;
  background: #f9f9f9;
  border-radius: 15px;
  padding: 3rem 2rem;
  box-shadow: var(--box-shadow);
}

.cta-features {
  margin-bottom: 2.5rem;
}

.feature {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature:last-child {
  margin-bottom: 0;
}

.check-icon {
  margin-right: 10px;
}

.feature span {
  font-weight: 600;
}

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

.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-logo span {
  margin-left: 10px;
  font-weight: 700;
}

.footer-links h4, 
.footer-info h4 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--secondary-color);
}

.footer-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.footer-bottom p:last-child {
  margin-bottom: 0;
}

/* Media Queries for Responsive Design */
@media (min-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 2.8rem;
  }
  
  header .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo-area {
    margin-bottom: 0;
  }
  
  .tech-container {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .examples-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-columns {
    grid-template-columns: 1fr 1fr 2fr;
  }
}

@media (max-width: 767px) {
  section {
    padding: 4rem 0;
  }
  
  .hero {
    padding: 5rem 0;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
}

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

.tech-item, .example {
  animation: fadeInUp 0.8s ease-out forwards;
}

.tech-item:nth-child(2) {
  animation-delay: 0.2s;
}

.tech-item:nth-child(3) {
  animation-delay: 0.4s;
}

/* Accessibility */
:focus {
  outline: 3px solid rgba(0, 201, 255, 0.5);
  outline-offset: 3px;
}
