/* =============================================
   RANJIT ENTERPRISES — 3D ANIMATED WEBSITE
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;600;700&family=Exo+2:ital,wght@0,100;0,400;0,700;1,400&display=swap');

:root {
  --gold:    #f5a623;
  --gold2:   #e8850a;
  --dark:    #0a0a0f;
  --dark2:   #12121a;
  --dark3:   #1a1a2e;
  --accent:  #00d4ff;
  --accent2: #7b2fff;
  --white:   #f0f4ff;
  --gray:    #8888aa;
  --card-bg: rgba(255,255,255,0.04);
  --border:  rgba(245,166,35,0.2);
}

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

html { scroll-behavior: smooth; }

body.ranjit-body {
  font-family: 'Exo 2', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ── */
.r-cursor {
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99999;
  transition: transform 0.1s;
  mix-blend-mode: difference;
}
.r-cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99998;
  transition: all 0.15s ease;
  opacity: 0.6;
}

/* ── CANVAS BACKGROUND ── */
#ranjit-canvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  opacity: 0.4;
}

/* ── LAYOUT ── */
.r-wrap { position: relative; z-index: 1; min-height: 100vh; }

/* ── NAVBAR ── */
.r-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 60px;
  background: rgba(10,10,15,0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.r-nav.scrolled { padding: 12px 60px; background: rgba(10,10,15,0.95); }
.r-logo {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.6rem; font-weight: 700;
  color: var(--gold); letter-spacing: 2px;
  text-decoration: none;
}
.r-logo span { color: var(--accent); }
.r-nav-links { display: flex; gap: 8px; list-style: none; }
.r-nav-links a {
  color: var(--white); text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem; font-weight: 600; letter-spacing: 1px;
  padding: 8px 18px; border-radius: 6px;
  position: relative; transition: all 0.3s;
  text-transform: uppercase;
}
.r-nav-links a::after {
  content: ''; position: absolute; bottom: 4px; left: 18px; right: 18px;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transition: transform 0.3s;
}
.r-nav-links a:hover { color: var(--gold); }
.r-nav-links a:hover::after, .r-nav-links a.active::after { transform: scaleX(1); }
.r-nav-links a.active { color: var(--gold); }
.r-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.r-hamburger span { width: 26px; height: 2px; background: var(--gold); transition: all 0.3s; }

/* ── HERO SECTION ── */
.r-hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 100px 40px 60px;
  position: relative;
  perspective: 1200px;
}
.r-hero-content { transform-style: preserve-3d; animation: heroFloat 6s ease-in-out infinite; }
@keyframes heroFloat {
  0%,100% { transform: translateY(0) rotateX(0deg); }
  50%      { transform: translateY(-20px) rotateX(2deg); }
}
.r-hero-tag {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 4px;
  color: var(--accent); text-transform: uppercase;
  border: 1px solid var(--accent); padding: 6px 20px; border-radius: 50px;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease both;
}
.r-hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700; line-height: 1;
  margin-bottom: 12px;
  animation: fadeInUp 0.9s ease 0.2s both;
}
.r-hero h1 .gold { color: var(--gold); }
.r-hero h1 .outline {
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
}
.r-hero p {
  font-size: 1.15rem; color: var(--gray); max-width: 540px; margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInUp 0.9s ease 0.4s both;
}
.r-btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  animation: fadeInUp 0.9s ease 0.6s both; }
.r-btn {
  padding: 14px 36px; border-radius: 8px;
  font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; text-decoration: none;
  cursor: pointer; border: none; transition: all 0.3s;
  position: relative; overflow: hidden;
}
.r-btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.4s;
}
.r-btn:hover::before { transform: translateX(100%) skewX(-15deg); }
.r-btn-primary { background: var(--gold); color: var(--dark); }
.r-btn-primary:hover { background: var(--gold2); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(245,166,35,0.4); }
.r-btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.r-btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

/* ── SCROLL INDICATOR ── */
.r-scroll-ind {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: bounce 2s infinite;
}
.r-scroll-ind span { font-size: 0.72rem; letter-spacing: 3px; color: var(--gray); text-transform: uppercase; }
.r-scroll-line { width: 1px; height: 50px; background: linear-gradient(to bottom, var(--gold), transparent); }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(10px)} }

/* ── SECTION ── */
.r-section { padding: 100px 60px; }
.r-section-header { text-align: center; margin-bottom: 70px; }
.r-section-tag {
  display: inline-block; font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem; letter-spacing: 4px; color: var(--gold);
  text-transform: uppercase; margin-bottom: 16px;
}
.r-section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700; line-height: 1.1; margin-bottom: 16px;
}
.r-section-title .accent { color: var(--gold); }
.r-section-desc { color: var(--gray); font-size: 1.05rem; max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ── 3D CARDS ── */
.r-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.r-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 36px 28px;
  transition: all 0.4s cubic-bezier(.23,1,.32,1);
  transform-style: preserve-3d;
  position: relative; overflow: hidden;
  cursor: pointer;
}
.r-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(245,166,35,0.08), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.r-card:hover::before { opacity: 1; }
.r-card:hover {
  transform: translateY(-12px) rotateX(6deg) rotateY(3deg);
  border-color: var(--gold);
  box-shadow: 0 30px 80px rgba(245,166,35,0.2), 0 0 0 1px rgba(245,166,35,0.1);
}
.r-card-icon {
  font-size: 2.8rem; margin-bottom: 20px;
  display: block;
  transition: transform 0.4s;
}
.r-card:hover .r-card-icon { transform: translateZ(20px) scale(1.2); }
.r-card h3 {
  font-family: 'Rajdhani', sans-serif; font-size: 1.3rem; font-weight: 700;
  color: var(--white); margin-bottom: 10px;
}
.r-card p { color: var(--gray); font-size: 0.95rem; line-height: 1.6; }

/* ── STATS ── */
.r-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px; background: var(--border); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; margin-top: 80px;
}
.r-stat {
  background: var(--dark2); padding: 40px 20px; text-align: center;
  transition: background 0.3s;
}
.r-stat:hover { background: var(--dark3); }
.r-stat-num {
  font-family: 'Rajdhani', sans-serif; font-size: 3rem; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.r-stat-label { color: var(--gray); font-size: 0.88rem; letter-spacing: 2px; text-transform: uppercase; margin-top: 8px; }

/* ── PRODUCT GRID ── */
.r-products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.r-product-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  transition: all 0.4s cubic-bezier(.23,1,.32,1);
  transform-style: preserve-3d;
}
.r-product-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 24px 60px rgba(245,166,35,0.2);
}
.r-product-img {
  height: 200px; background: var(--dark3);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; position: relative; overflow: hidden;
}
.r-product-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(10,10,15,0.8));
}
.r-product-info { padding: 20px; }
.r-product-info h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.r-product-info p { color: var(--gray); font-size: 0.88rem; margin-bottom: 14px; }
.r-product-price { color: var(--gold); font-family: 'Rajdhani', sans-serif; font-size: 1.4rem; font-weight: 700; }
.r-product-btn {
  display: block; width: 100%; margin-top: 14px; padding: 10px;
  background: transparent; border: 1px solid var(--gold);
  color: var(--gold); border-radius: 8px;
  font-family: 'Rajdhani', sans-serif; font-weight: 700; letter-spacing: 1px;
  cursor: pointer; transition: all 0.3s; text-align: center;
}
.r-product-btn:hover { background: var(--gold); color: var(--dark); }

/* ── BLOG GRID ── */
.r-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.r-blog-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  transition: all 0.4s cubic-bezier(.23,1,.32,1);
}
.r-blog-card:hover {
  transform: translateY(-8px) rotateX(3deg);
  border-color: var(--accent);
  box-shadow: 0 24px 60px rgba(0,212,255,0.15);
}
.r-blog-thumb {
  height: 200px; background: linear-gradient(135deg, var(--dark3), var(--dark2));
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; position: relative;
}
.r-blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.r-blog-meta { padding: 24px; }
.r-blog-cat {
  font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 10px; display: block;
}
.r-blog-meta h3 {
  font-family: 'Rajdhani', sans-serif; font-size: 1.3rem; font-weight: 700;
  margin-bottom: 10px; line-height: 1.3;
}
.r-blog-meta h3 a { color: var(--white); text-decoration: none; transition: color 0.3s; }
.r-blog-meta h3 a:hover { color: var(--gold); }
.r-blog-excerpt { color: var(--gray); font-size: 0.9rem; line-height: 1.6; margin-bottom: 16px; }
.r-blog-footer { display: flex; justify-content: space-between; align-items: center; }
.r-blog-date { font-size: 0.8rem; color: var(--gray); }
.r-read-more {
  font-family: 'Rajdhani', sans-serif; font-size: 0.88rem; font-weight: 700;
  color: var(--gold); text-decoration: none; letter-spacing: 1px;
  display: flex; align-items: center; gap: 6px; transition: gap 0.3s;
}
.r-read-more:hover { gap: 10px; }

/* ── ABOUT ── */
.r-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.r-about-visual {
  perspective: 1000px;
  height: 420px; display: flex; align-items: center; justify-content: center;
}
.r-cube-wrap { animation: cubeRotate 8s linear infinite; transform-style: preserve-3d; }
@keyframes cubeRotate { from{transform:rotateX(20deg) rotateY(0deg)} to{transform:rotateX(20deg) rotateY(360deg)} }
.r-cube { width: 160px; height: 160px; transform-style: preserve-3d; position: relative; }
.r-cube-face {
  position: absolute; width: 160px; height: 160px;
  background: rgba(245,166,35,0.08); border: 1px solid rgba(245,166,35,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
}
.r-cube-face.front  { transform: translateZ(80px); }
.r-cube-face.back   { transform: rotateY(180deg) translateZ(80px); }
.r-cube-face.left   { transform: rotateY(-90deg) translateZ(80px); }
.r-cube-face.right  { transform: rotateY(90deg) translateZ(80px); }
.r-cube-face.top    { transform: rotateX(90deg) translateZ(80px); }
.r-cube-face.bottom { transform: rotateX(-90deg) translateZ(80px); }
.r-about-text h2 { font-family: 'Rajdhani', sans-serif; font-size: 2.8rem; font-weight: 700; margin-bottom: 20px; }
.r-about-text p { color: var(--gray); line-height: 1.8; margin-bottom: 16px; font-size: 1.02rem; }
.r-about-list { list-style: none; margin: 24px 0; }
.r-about-list li { padding: 8px 0; color: var(--gray); display: flex; align-items: center; gap: 12px; }
.r-about-list li::before { content: '▹'; color: var(--gold); font-size: 1.1rem; }

/* ── CONTACT ── */
.r-contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; }
.r-contact-info h2 { font-family: 'Rajdhani', sans-serif; font-size: 2.2rem; font-weight: 700; margin-bottom: 16px; }
.r-contact-info p { color: var(--gray); line-height: 1.8; margin-bottom: 32px; }
.r-contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.r-contact-icon { font-size: 1.4rem; width: 48px; height: 48px; background: var(--card-bg); border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.r-contact-item h4 { font-family: 'Rajdhani', sans-serif; font-size: 0.85rem; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; margin-bottom: 4px; }
.r-contact-item p { color: var(--gray); font-size: 0.95rem; margin: 0; }
.r-form { display: flex; flex-direction: column; gap: 18px; }
.r-input, .r-textarea {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 18px;
  color: var(--white); font-family: 'Exo 2', sans-serif; font-size: 0.95rem;
  transition: all 0.3s; outline: none; resize: none;
}
.r-input:focus, .r-textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,166,35,0.1); }
.r-textarea { height: 140px; }
.r-form-msg { text-align: center; padding: 10px; border-radius: 8px; font-size: 0.9rem; display: none; }
.r-form-msg.ok  { background: rgba(0,255,128,0.1); color: #00ff80; border: 1px solid rgba(0,255,128,0.3); }
.r-form-msg.err { background: rgba(255,50,50,0.1);  color: #ff5050;  border: 1px solid rgba(255,50,50,0.3); }

/* ── FOOTER ── */
.r-footer {
  padding: 60px; border-top: 1px solid var(--border);
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  background: var(--dark2);
}
.r-footer-brand p { color: var(--gray); font-size: 0.9rem; margin-top: 12px; line-height: 1.7; max-width: 260px; }
.r-footer h4 { font-family: 'Rajdhani', sans-serif; font-size: 0.85rem; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; margin-bottom: 20px; }
.r-footer ul { list-style: none; }
.r-footer ul li { margin-bottom: 10px; }
.r-footer ul li a { color: var(--gray); text-decoration: none; font-size: 0.92rem; transition: color 0.3s; }
.r-footer ul li a:hover { color: var(--gold); }
.r-footer-bottom { padding: 24px 60px; text-align: center; color: var(--gray); font-size: 0.85rem; border-top: 1px solid var(--border); background: var(--dark2); }

/* ── ANIMATIONS ── */
@keyframes fadeInDown { from{opacity:0;transform:translateY(-30px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeInUp   { from{opacity:0;transform:translateY(30px)}  to{opacity:1;transform:translateY(0)} }

.r-reveal { opacity: 0; transform: translateY(40px); transition: all 0.7s cubic-bezier(.23,1,.32,1); }
.r-reveal.visible { opacity: 1; transform: translateY(0); }

/* ── GLITCH TEXT ── */
.r-glitch { position: relative; }
.r-glitch::before, .r-glitch::after {
  content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%;
}
.r-glitch::before {
  color: var(--accent); animation: glitch1 3s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}
.r-glitch::after {
  color: var(--accent2); animation: glitch2 3s infinite;
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}
@keyframes glitch1 { 0%,90%,100%{transform:translate(0)} 92%{transform:translate(-3px,1px)} 94%{transform:translate(3px,-1px)} 96%{transform:translate(-2px,2px)} }
@keyframes glitch2 { 0%,90%,100%{transform:translate(0)} 92%{transform:translate(3px,-1px)} 94%{transform:translate(-3px,1px)} 96%{transform:translate(2px,-2px)} }

/* ── DIVIDER ── */
.r-divider { height: 1px; background: linear-gradient(to right, transparent, var(--gold), transparent); margin: 0 60px; opacity: 0.3; }

/* ── HERO 3D SHAPES ── */
.r-floating-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.r-shape {
  position: absolute; border: 1px solid rgba(245,166,35,0.15);
  border-radius: 50%; animation: shapeFloat linear infinite;
}
.r-shape:nth-child(1) { width: 400px; height: 400px; top: 10%; right: -100px; animation-duration: 20s; }
.r-shape:nth-child(2) { width: 200px; height: 200px; bottom: 20%; left: 5%; animation-duration: 15s; animation-delay: -5s; }
.r-shape:nth-child(3) { width: 600px; height: 600px; top: -150px; left: 30%; animation-duration: 25s; animation-delay: -10s; opacity: 0.5; }
@keyframes shapeFloat { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }

/* ── MOBILE ── */
@media (max-width: 900px) {
  .r-nav { padding: 16px 24px; }
  .r-nav.scrolled { padding: 10px 24px; }
  .r-nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10,10,15,0.97); padding: 24px; gap: 4px; }
  .r-nav-links.open { display: flex; }
  .r-hamburger { display: flex; }
  .r-section { padding: 70px 24px; }
  .r-about-grid, .r-contact-grid { grid-template-columns: 1fr; }
  .r-about-visual { height: 280px; }
  .r-footer { grid-template-columns: 1fr 1fr; padding: 40px 24px; }
  .r-footer-bottom { padding: 20px 24px; }
  .r-hero { padding: 120px 24px 80px; }
}

/* ── HIDE COMMENTS EVERYWHERE ── */
#comments, .comment-respond, .comments-area,
.ast-comment-list, .comment-form, .comment-list,
#respond, .wp-block-post-comments { display: none !important; }
