/* ============================================
   YEKIN Art Studio — Coming Soon
   Cream Modern Theme
   ============================================ */

:root {
  --cream-50: #fdfbf7;
  --cream-100: #f9f3eb;
  --cream-200: #f0e6d8;
  --cream-300: #e5d5c3;
  --cream-400: #d4bc9e;
  --cream-500: #c4a882;
  --cream-600: #a68b6a;
  --rose-gold: #b8956f;
  --warm-white: #fffefb;
  --charcoal: #2d2a2e;
  --charcoal-light: #5a555c;
  --white: #ffffff;
  --glass: rgba(255, 254, 251, 0.72);
  --glass-border: rgba(255, 255, 255, 0.85);
  --shadow-soft: 0 8px 32px rgba(166, 139, 106, 0.14);
  --shadow-card: 0 4px 24px rgba(166, 139, 106, 0.1);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Vazirmatn', sans-serif;
  background: var(--cream-50);
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Background gradient */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, var(--cream-200) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 80%, var(--cream-100) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 50%, var(--warm-white) 0%, transparent 70%),
    linear-gradient(160deg, var(--cream-50) 0%, var(--cream-100) 50%, var(--warm-white) 100%);
  z-index: -2;
}

/* Floating shapes */
.bg-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
  animation: float 20s ease-in-out infinite;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--cream-300), transparent 70%);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--cream-200), transparent 70%);
  bottom: 10%;
  left: -80px;
  animation-delay: -5s;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--rose-gold), transparent 70%);
  top: 40%;
  right: 10%;
  animation-delay: -10s;
  opacity: 0.2;
}

.shape-4 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--cream-400), transparent 70%);
  bottom: 30%;
  right: 20%;
  animation-delay: -15s;
  opacity: 0.25;
}

.shape-5 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--cream-100), transparent 70%);
  top: 60%;
  left: 30%;
  animation-delay: -8s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(20px, -30px) scale(1.05); }
  50% { transform: translate(-15px, 20px) scale(0.95); }
  75% { transform: translate(25px, 15px) scale(1.02); }
}

/* Grain texture */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  box-shadow: var(--shadow-soft);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--charcoal);
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.nav-logo img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--white);
  padding: 5px;
  box-shadow: 0 2px 10px rgba(166, 139, 106, 0.15);
}

.nav-instagram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--cream-500);
  background: var(--cream-100);
  transition: var(--transition);
  text-decoration: none;
}

.nav-instagram svg {
  width: 20px;
  height: 20px;
}

.nav-instagram:hover {
  background: var(--cream-500);
  color: var(--white);
  transform: scale(1.08);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cream-600);
  margin-bottom: 2rem;
  animation: fadeInDown 0.8s ease both;
}

.icon-sparkle {
  width: 14px;
  height: 14px;
  color: var(--cream-400);
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.6; transform: scale(1.2) rotate(15deg); }
}

.hero-logo {
  width: clamp(240px, 38vw, 320px);
  height: clamp(240px, 38vw, 320px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 50%;
  margin-bottom: 2rem;
  box-shadow:
    0 24px 64px rgba(166, 139, 106, 0.14),
    0 0 0 8px rgba(255, 254, 251, 0.7),
    0 0 0 9px rgba(229, 213, 195, 0.55);
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-logo img {
  width: 88%;
  height: auto;
  animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease 0.4s both;
}

.title-en {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--charcoal);
}

.title-fa {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 400;
  color: var(--charcoal-light);
  letter-spacing: 0.05em;
}

.hero-slogan {
  font-family: 'Vazirmatn', sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--cream-500);
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease 0.5s both;
}

.hero-desc {
  max-width: 520px;
  font-size: 1rem;
  font-weight: 300;
  color: var(--charcoal-light);
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 1s ease 0.7s both;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cream-400), var(--cream-500));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(166, 139, 106, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(166, 139, 106, 0.38);
}

.btn-secondary {
  background: var(--glass);
  backdrop-filter: blur(12px);
  color: var(--charcoal);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--white);
  padding: 1rem 2rem;
  font-size: 1.05rem;
  box-shadow: 0 4px 24px rgba(220, 39, 67, 0.3);
}

.btn-instagram:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 32px rgba(220, 39, 67, 0.4);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

.feature-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: var(--cream-200);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--cream-100), var(--cream-200));
  border-radius: 16px;
  margin-bottom: 1.25rem;
  color: var(--cream-500);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.feature-card p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--charcoal-light);
  line-height: 1.6;
}

/* Preview Section */
.preview {
  max-width: 1100px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-500);
  background: var(--cream-100);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-family: 'Vazirmatn', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.section-header p {
  color: var(--charcoal-light);
  font-weight: 300;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.product-image {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--cream-100), var(--cream-50));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.06);
}

.coming-soon-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--white);
  color: var(--cream-500);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  box-shadow: var(--shadow-card);
}

.product-card h3 {
  font-size: 1rem;
  font-weight: 600;
  padding: 1.25rem 1.25rem 0.25rem;
  color: var(--charcoal);
}

.product-card p {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--charcoal-light);
  padding: 0 1.25rem 1.25rem;
}

/* Instagram CTA */
.instagram-cta {
  max-width: 700px;
  margin: 5rem auto;
  padding: 0 2rem;
}

.instagram-content {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.instagram-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(240, 148, 51, 0.05), rgba(188, 24, 136, 0.05));
  pointer-events: none;
}

.instagram-icon-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--cream-100), var(--cream-200));
  border-radius: 20px;
  margin-bottom: 1.5rem;
  color: var(--cream-500);
}

.instagram-icon-large svg {
  width: 36px;
  height: 36px;
}

.instagram-content h2 {
  font-family: 'Vazirmatn', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.instagram-content p {
  color: var(--charcoal-light);
  font-weight: 300;
  margin-bottom: 2rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  text-align: center;
  padding: 3rem 2rem 2rem;
  border-top: 1px solid var(--cream-200);
  margin-top: 2rem;
}

.footer-logo {
  width: 56px;
  height: 56px;
  padding: 8px;
  background: var(--white);
  border-radius: 50%;
  object-fit: contain;
  margin-bottom: 1rem;
  box-shadow: 0 2px 12px rgba(166, 139, 106, 0.14);
}

.footer-slogan {
  font-family: 'Vazirmatn', sans-serif;
  font-weight: 600;
  color: var(--cream-500);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.instagram-handle {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--charcoal-light);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--cream-500);
  background: var(--cream-100);
  transition: var(--transition);
  text-decoration: none;
}

.footer-instagram svg {
  width: 22px;
  height: 22px;
}

.footer-instagram:hover {
  background: var(--cream-500);
  color: var(--white);
  transform: scale(1.1);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 42, 46, 0.4);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transform: translateY(20px) scale(0.95);
  transition: var(--transition);
}

.modal.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--cream-100);
  border-radius: 50%;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-close:hover {
  background: var(--cream-200);
}

.modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--cream-100), var(--cream-200));
  border-radius: 50%;
  margin-bottom: 1.25rem;
  color: var(--cream-500);
}

.modal-icon svg {
  width: 32px;
  height: 32px;
}

.modal-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.modal-content p {
  font-size: 0.9rem;
  color: var(--charcoal-light);
  font-weight: 300;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 640px) {
  .header {
    padding: 0.75rem 1rem;
  }

  .nav {
    padding: 0.6rem 1rem;
  }

  .hero {
    padding: 7rem 1.25rem 3rem;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .features {
    padding: 1rem;
  }

  .preview {
    padding: 0 1rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .product-card h3 {
    font-size: 0.9rem;
  }

  .product-card p {
    font-size: 0.75rem;
  }
}

@media (max-width: 400px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
