/* ==========================================================================
   ringtechnik - Strict Class-Based CSS (No direct element selectors)
   Theme: Modern Dark Tech
   ========================================================================== */

/* ─── VARIABLES ─── */
:root {
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --bg-dark: #0a0a0c;
  --bg-card: #151518;
  --bg-card-hover: #1e1e24;
  --text-main: #f0f0f5;
  --text-muted: #a0a0b0;
  --cyan: #00F0B5;
  --cyan-glow: rgba(0, 240, 181, 0.2);
  --border: #2a2a35;
}

/* ─── CSS RESET (Via Classes Only) ─── */
.rt-html, .rt-body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
}

.rt-img {
  max-width: 100%;
  height: auto;
  display: block;
}

.rt-a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.rt-ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rt-h1, .rt-h2, .rt-h3, .rt-p {
  margin: 0;
}

/* ─── TYPOGRAPHY ─── */
.rt-h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.rt-h2 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.rt-h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.rt-p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.rt-kicker {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cyan);
  margin-bottom: 1rem;
  display: block;
}

/* ─── LAYOUT & CONTAINERS ─── */
.rt-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.rt-section {
  padding: 100px 0;
}

.rt-section-dark {
  background-color: var(--bg-card);
}

/* ─── BUTTONS ─── */
.rt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: inherit;
}

.rt-btn-primary {
  background-color: var(--cyan);
  color: var(--bg-dark);
  box-shadow: 0 0 20px var(--cyan-glow);
}

.rt-btn-primary:hover {
  background-color: #00cfa0;
  transform: translateY(-2px);
  box-shadow: 0 4px 25px var(--cyan-glow);
}

.rt-btn-outline {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--text-main);
}

.rt-btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ─── HEADER & NAV ─── */
.rt-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.rt-header.scrolled {
  border-bottom-color: var(--border);
  padding: 8px 0;
}

.rt-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

.rt-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.rt-logo-accent {
  color: var(--cyan);
}

.rt-nav-list {
  display: flex;
  gap: 32px;
}

.rt-nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.rt-nav-link:hover, .rt-nav-link.active {
  color: var(--cyan);
}

/* ─── HERO SECTION ─── */
.rt-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.rt-hero-bg {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
  z-index: -1;
  opacity: 0.6;
}

.rt-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.rt-hero-img-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border: 1px solid var(--border);
}

.rt-hero-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
  border-radius: 24px;
}

/* ─── FEATURES GRID ─── */
.rt-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.rt-feature-card {
  background-color: var(--bg-card);
  padding: 40px 32px;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.rt-feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan);
  background-color: var(--bg-card-hover);
}

.rt-feature-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(0, 240, 181, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 24px;
  margin-bottom: 24px;
}

/* ─── REVIEW ARTICLE ─── */
.rt-article-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.rt-article-img {
  width: 100%;
  border-radius: 16px;
  margin: 32px 0;
  border: 1px solid var(--border);
}

.rt-divider {
  height: 1px;
  background-color: var(--border);
  margin: 48px 0;
  border: none;
}

/* ─── GALLERY (Order Page) ─── */
.rt-gallery-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.rt-gallery-main {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  background-color: var(--bg-card);
  overflow: hidden;
  margin-bottom: 16px;
}

.rt-gallery-thumbs {
  display: flex;
  gap: 16px;
}

.rt-thumb {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  border: 2px solid var(--border);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}

.rt-thumb:hover, .rt-thumb.active {
  border-color: var(--cyan);
}

.rt-order-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rt-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 24px;
}

/* ─── CONTACT PAGE ─── */
.rt-contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
}

.rt-contact-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
}

.rt-info-card {
  background: linear-gradient(135deg, var(--bg-card), #0a0a0c);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.rt-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: var(--cyan);
  filter: blur(100px);
  opacity: 0.1;
}

/* ─── FOOTER ─── */
.rt-footer {
  background-color: #050507;
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}

.rt-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.rt-footer-title {
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 24px;
}

.rt-footer-link {
  display: block;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.rt-footer-link:hover {
  color: var(--cyan);
}

.rt-footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ─── LOADER ─── */
.rt-loader {
  position: fixed;
  inset: 0;
  background-color: var(--bg-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}

.rt-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.rt-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--border);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: rtSpin 1s infinite linear;
}

@keyframes rtSpin {
  to { transform: rotate(360deg); }
}

/* ─── COOKIE BANNER ─── */
.rt-cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 24px;
  z-index: 9998;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
}

.rt-cookie.show {
  transform: translateY(0);
}

.rt-cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.rt-cookie-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.rt-cookie-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 992px) {
  .rt-hero-grid, .rt-features, .rt-gallery-wrap, .rt-contact-grid, .rt-footer-grid {
    grid-template-columns: 1fr;
  }
  .rt-h1 { font-size: 2.8rem; }
  .rt-hero { min-height: auto; padding: 120px 0 60px; }
}

@media (max-width: 768px) {
  .rt-nav-wrap {
    flex-direction: column;
    padding: 16px 0;
    gap: 16px;
  }
  .rt-nav-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .rt-cookie-inner {
    flex-direction: column;
    text-align: center;
  }
  .rt-cookie-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .rt-footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}
