@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400&display=swap');
:root {
    --primary-color: #6c5ce7;
    --secondary-color: #a29bfe;
    --text-color: #f5f6fa;
    --text-secondary: #dcdde1;
    --bg-color: #000000;
    --bg-secondary: #111111;
    --card-bg: #151515;
    --border-color: #4b4b4b;
    --success-color: #00b894;
    --warning-color: #fdcb6e;
    --danger-color: #d63031;
    --hero-text-color: #f5f6fa;
    --hero-text-shadow: rgba(255, 255, 255, 0.8);
    /* orbit */
    --bg: #000000;
    --text: #e5e7eb;
    --ring-alpha: .45;
    --neon: rgba(56,189,248,.55);
    --shadow-strong: rgba(255,255,255,0.15);
    --shadow-color: rgba(99,102,241,0.2);
    --orbit-grad: conic-gradient(from 140deg, #3b82f6 0%, #8b5cf6 25%, #a855f7 50%, #ec4899 75%, #3b82f6 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body.light-mode {
    --primary-color: #6c5ce7;
    --text-color: #2d3436;
    --text-secondary: #636e72;
    --bg-color: #ffffff;
    --bg-secondary: #f5f5f5;
    --card-bg: #f0f0f0;
    --border-color: #ddd;
    --hero-text-color: #2d3436;
    --hero-text-shadow: rgba(0, 0, 0, 0.5);
    /* orbit */
    --bg: #f8fafc;
    --text: #0f172a;
    --ring-alpha: .45;
    --neon: rgba(99,102,241,.45);
    --shadow-strong: rgba(0,0,0,.35);
    --shadow-color: rgba(255,255,255,.06);
    --orbit-grad: conic-gradient(from 140deg, #22c55e 0%, #22c55e 25%, #f59e0b 60%, #fb923c 85%, #22c55e 100%);
}

body.light-mode .hero::after {
    background: radial-gradient(
        ellipse at center,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,1.0) 80%
    );
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: all 0.3s ease;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Header styles */
.header {
    background-color: var(--bg-secondary);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    position: relative;
}

.menu-items {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-weight: 600;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    height: 32px;
    width: auto;
    vertical-align: middle;
    margin-right: 8px;
}


.right-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

.navbar ul {
    display: flex;
}

.navbar ul li {
    margin-left: 30px;
}

.navbar ul li a {
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar ul li a:hover {
    color: var(--primary-color);
}

.navbar ul li a i {
    margin-right: 5px;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: var(--card-bg);
    border-radius: 5px;
    padding: 5px 10px;
    margin: 0 20px;
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-color);
    padding: 8px;
    width: 200px;
}

.search-box button {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-box button:hover {
    color: var(--primary-color);
}

.theme-toggle {
    cursor: pointer;
    font-size: 1.0rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    color: var(--primary-color);
    transform: rotate(30deg);
}

.hero {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,1.0) 90%
    );
    z-index: -1;
}
.hero::before {
    content: '';
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 30% 30%, rgba(108,92,231,0.3), transparent 70%),
                radial-gradient(circle at 70% 70%, rgba(0,184,148,0.2), transparent 60%);
    background-size: 250% 250%;
    background-position: 0% 0%, 100% 100%;
    animation: moveGradient 15s ease-in-out infinite alternate;
    z-index: -2;
}
@keyframes moveGradient {
  0% {
    background-position: 0% 0%, 100% 100%;
    background-size: 150% 150%, 150% 150%;
  }
  50% {
    background-position: 50% 50%, 50% 50%;
    background-size: 120% 120%, 120% 120%;
  }
  100% {
    background-position: 100% 100%, 100% 100%;
    background-size: 150% 150%, 150% 150%;
  }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
    background: linear-gradient(90deg, #9b81f1, #55e6c1, #ffeaa7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: transparent;
    background-clip: unset;
    -webkit-text-fill-color: unset;
    text-shadow: 0 0 1px var(--hero-text-shadow);
}
.hero a {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: transparent;
    background-clip: unset;
    -webkit-text-fill-color: unset;
    text-shadow: 0 0 1px var(--hero-text-shadow);
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 25px;
    border-radius: 10px;
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.hero a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Products section */
.products {
    padding: 80px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    display:flex;
    flex-direction:column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
    display:flex;
    flex-direction:column;
    flex:1
}

.product-info h3 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.product-info p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.product-meta {
    margin-top:auto;
    display: flex;
    justify-content: flex-end;
    color: var(--text-secondary);
    font-size: 0.9rem;
    align-items:center
}

.product-meta span i {
    margin-right: 5px;
    color: var(--warning-color);
}

/* About section */
.about {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.9rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Contact section */
.contact {
    padding: 80px 0;
}

.contact-content {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info p i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--card-bg);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-color);
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}


/* Orbit Section */
.orbit-section {
  padding: 80px 0;
  text-align: center;
  background: radial-gradient(1200px 600px at 50% -200px, rgba(99,102,241,.12), transparent 60%);
  background-color: var(--bg);
  color: var(--text);
}

.orbit{
  position:relative;
  --logo-size: 120px;
  --Rmax: min(92vw, 720px);
  --ring-w: 3px;
  width:min(92vw,720px); height:min(92vw,720px);
  margin:28px auto 18px;
  filter: drop-shadow(0 0 30px rgba(139,92,246,.12));
}

.orbit-center{ position:absolute; inset:0; display:grid; place-items:center; }
.orbit-center img{
  width:var(--logo-size); height:var(--logo-size); object-fit:contain; border-radius:50%;
  background:transparent; border:0; padding:0;
  filter: drop-shadow(0 6px 18px var(--shadow-strong)); z-index: -1;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
}

.orbit-center::before{
  content:"";
  position:absolute;
  width:calc(var(--logo-size)*2.4);
  height:calc(var(--logo-size)*2.4);
  border-radius:50%;
  background: radial-gradient(
    closest-side,
    rgba(255, 215, 0, 0.6),
    rgba(255, 215, 0, 0.2) 40%,
    transparent 80%
  );
  filter: blur(20px);
  animation: pulse-glow 3s ease-in-out infinite;
  z-index: 0;
}

.orbit-ring {
  --s: 1; --dur: 36s;
  position: absolute;
  top: 50%; left: 50%;
  width: calc(var(--Rmax) * var(--s));
  height: calc(var(--Rmax) * var(--s));
  transform: translate(-50%, -50%);
  animation: spin-cw var(--dur) linear infinite;
}

.orbit-ring::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--orbit-grad);
  border-radius: 50%;
  -webkit-mask:
    radial-gradient(farthest-side, transparent calc(100% - var(--ring-w)), #000 calc(100% - var(--ring-w)));
          mask:
    radial-gradient(farthest-side, transparent calc(100% - var(--ring-w)), #000 calc(100% - var(--ring-w)));
  opacity: var(--ring-alpha);
}

.ring-0{ --s:.35; --dur:25s; }
.ring-1{ --s:.55; --dur:33s; }
.ring-2{ --s:.80; --dur:42s; }
.ring-3{ --s:1.05; --dur:53s; }

.ccw{ animation-name:spin-ccw; }

.orbit-item {
  --pos: 0deg;
  position: absolute;
  top: 50%; left: 50%;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.12) 0%,
    rgba(255,255,255,0.05) 100%
  );
  backdrop-filter: blur(10px) saturate(180%) contrast(120%);;
  -webkit-backdrop-filter: blur(10px) saturate(180%) contrast(120%);;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 20px var(--shadow-strong), inset 0 0 6px var(--shadow-color);

  transform: translate(-50%, -50%) rotate(var(--pos))
             translateY(calc(var(--Rmax) * var(--s) / 2 - var(--ring-w) / 2))
             rotate(calc(-1 * var(--pos)));
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  will-change: transform;
  overflow: hidden;
  z-index: 1;
}

.orbit-item img{
  width:36px; height:36px; object-fit:contain; display:block; pointer-events:none;
  filter: drop-shadow(0 0 0 transparent);
  animation: icon-counter-rotate var(--dur) linear infinite;
}

.orbit-item:hover {
  transform: translate(-50%, -50%) rotate(var(--pos))
             translateY(calc(var(--Rmax) * var(--s) / 2 - var(--ring-w) / 2))
             rotate(calc(-1 * var(--pos))) scale(1.08);
  box-shadow:
    0 0 18px var(--neon),
    0 12px 28px rgba(99,102,241,.35),
    inset 0 2px 8px rgba(255,255,255,.08);
}
.orbit-item:hover img{
  filter: drop-shadow(0 0 10px var(--neon));
}

@keyframes spin-cw{
  from{ transform: translate(-50%,-50%) rotate(0deg); }
  to  { transform: translate(-50%,-50%) rotate(360deg); }
}
@keyframes icon-counter-rotate{
  from{ transform: rotate(0deg); }
  to  { transform: rotate(-360deg); }
}
@keyframes spin-ccw{
  from{ transform: translate(-50%,-50%) rotate(360deg); }
  to  { transform: translate(-50%,-50%) rotate(0deg); }
}


/* Footer styles */
.footer {
    background-color: var(--bg-secondary);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Popup */
#popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#popup.popup-show {
  display: flex;
}

.popup-inner {
  background: var(--card-bg);
  color: var(--text-color);
  padding: 24px;
  border-radius: 12px;
  max-width: 600px;
  position: relative;
  box-shadow: 0 8px 24px var(--shadow-strong);
  border: 1px solid var(--border-color);
}

#popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-color);
  cursor: pointer;
}

.popup-content-hidden {
  display: none;
}

@media screen and (max-width: 1000px) {
    .menu-items {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 10px;
        background-color: rgba(25, 25, 25, 0.7);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 10px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        border-radius: 10px;
        z-index: 999;
    }
    body.light-mode .menu-items {
        background-color: rgba(255, 255, 255, 0.7);
        color: #222;
    }

    .menu-toggle {
        display: block;
    }

    .menu-items.show {
        display: flex;
    }

    .navbar {
        margin: 10px;
        background: transparent;
        border-radius: 8px;
        padding: 5px;
    }

    .navbar ul {
        flex-direction: column;
        margin: 0;
        padding: 0;
    }

    .navbar ul li {
        margin: 10px;
    }

    .about-content,
    .contact-content {
        flex-direction: column;
    }
    
    .about-image,
    .contact-info,
    .contact-form {
        width: 100%;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 1000px) {
    .orbit{--logo-size:96px; --Rmax: min(85vw, 600px);}
}

@media screen and (max-width: 700px) {
    .orbit{--logo-size:80px; --Rmax: min(80vw, 450px);}
}

@media screen and (max-width: 500px) {
    .search-box {
        display: none;
    }
    .orbit{--logo-size:72px; --Rmax: min(80vw, 360px);}
    .orbit-item{ width:48px; height:48px; }
    .orbit-item img{ width:30px; height:30px; }
}