/* SMware — company site. Design system carried over from the previous build (navy #0B1628, cyan #00B4D8). */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #0B1628; }
body { color: #fff; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.5; }
a { color: inherit; }
button { font-family: inherit; }

.bg-canvas { position: fixed; inset: 0; z-index: 0; }

/* ── animations (from the previous build) ── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes coinFlip {
  0% { transform: perspective(1000px) rotateY(0deg); }
  50% { transform: perspective(1000px) rotateY(90deg); opacity: 0.5; }
  100% { transform: perspective(1000px) rotateY(0deg); opacity: 1; }
}
.flip-animation { animation: coinFlip 0.6s ease-in-out; transform-style: preserve-3d; }
@keyframes gradientFlow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.gradient-text {
  background: linear-gradient(90deg, #00B4D8, #7B2FF7, #00B4D8, #4ECDC4); background-size: 300% 100%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: gradientFlow 4s ease infinite;
}
@keyframes revealUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.reveal-item { opacity: 0; transform: translateY(40px); }
.reveal-item.revealed { animation: revealUp 0.6s ease-out forwards; }
.cursor-glow {
  position: fixed; width: 400px; height: 400px; border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(0,180,216,0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%); transition: opacity 0.3s; opacity: 0;
}
input::placeholder, textarea::placeholder { color: #5A6A7A; }

/* ── layout ── */
.main-container { position: relative; z-index: 10; padding: 32px 80px; min-height: 100vh; display: flex; flex-direction: column; max-width: 1400px; margin: 0 auto; }
.header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; }
.header-logo { height: 250px; object-fit: contain; margin-top: -80px; margin-bottom: -110px; margin-left: -80px; }
.contact-btn {
  padding: 10px 24px; border-radius: 24px; background: rgba(0,180,216,0.1); border: 1px solid rgba(0,180,216,0.3);
  color: #4ECDC4; font-size: 14px; cursor: pointer; transition: transform 0.2s ease-out, box-shadow 0.2s;
}
.main-content { display: flex; gap: 40px; flex: 1; justify-content: center; align-items: flex-start; }
.left-side { flex: 0 0 auto; margin-top: 60px; max-width: 560px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #4ECDC4; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #00FF64; box-shadow: 0 0 8px #00FF64; }
.section-title { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.section-desc { color: #6A7A8A; font-size: 14px; margin-bottom: 32px; max-width: 480px; line-height: 1.7; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 560px; }

.project-card {
  position: relative; background: rgba(20, 35, 60, 0.08); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0,180,216,0.15); border-radius: 18px; padding: 28px; cursor: pointer; min-height: 160px; text-align: left; color: inherit;
  transition: transform 0.15s ease-out, border-color 0.3s, box-shadow 0.3s;
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg) scale(1);
}
.project-card.selected { border-color: rgba(0,180,216,0.5); }
.project-card:focus-visible { outline: 2px solid #00B4D8; outline-offset: 3px; }
.project-card.featured { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; min-height: 0; }
.card-icon { object-fit: contain; display: flex; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.project-card.featured .card-icon { margin: 0; flex-shrink: 0; }
.project-card h3 { color: #fff; font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.project-card p { color: #7A8A9A; font-size: 13px; line-height: 1.5; }
.badge { position: absolute; top: 16px; right: 16px; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: #0B1628; background: #00B4D8; padding: 4px 9px; border-radius: 999px; }
.badge.soon { background: rgba(0,180,216,0.12); color: #4ECDC4; border: 1px solid rgba(0,180,216,0.35); }
.mini-countdown { display: flex; gap: 6px; margin-top: 14px; }
.mini-countdown span { min-width: 42px; text-align: center; padding: 6px 4px; border-radius: 8px; background: rgba(0,180,216,0.08); border: 1px solid rgba(0,180,216,0.18);
  color: #00B4D8; font: 700 14px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.mini-countdown small { display: block; margin-top: 3px; color: #6A7A8A; font: 600 9px/1 Inter, system-ui, sans-serif; letter-spacing: 1px; }

.right-panel {
  width: 380px; background: rgba(20, 35, 60, 0.12); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,180,216,0.25); border-radius: 28px; padding: 32px; align-self: flex-start; margin-top: 60px;
  box-shadow: 0 0 60px rgba(0,180,216,0.15), 0 20px 40px rgba(0,0,0,0.3); position: relative; z-index: 10; flex: 0 0 auto;
}
.panel-logo { object-fit: contain; display: flex; margin: 6px 0 18px; }
.panel-head { margin-bottom: 22px; }
.panel-head h2 { color: #fff; font-size: 18px; font-weight: 600; }
.panel-head p { color: #7A8A9A; font-size: 12px; }
.panel-desc { color: #A0AAB5; line-height: 1.8; margin-bottom: 24px; font-size: 14px; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.stat-item { background: rgba(0,180,216,0.08); border-radius: 12px; padding: 16px 10px; text-align: center; }
.stat-value { color: #00B4D8; font-size: 20px; font-weight: 700; line-height: 1.2; }
.stat-value.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 26px; }
.stat-label { color: #8A9AAA; font-size: 11px; margin-top: 4px; }
.status { background: rgba(0,255,100,0.08); border: 1px solid rgba(0,255,100,0.2); border-radius: 10px; padding: 14px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.status.soon { background: rgba(0,180,216,0.08); border-color: rgba(0,180,216,0.25); }
.status i { width: 10px; height: 10px; border-radius: 50%; background: #00FF64; box-shadow: 0 0 8px #00FF64; flex-shrink: 0; }
.status.soon i { background: #00B4D8; box-shadow: 0 0 8px #00B4D8; animation: pulseDot 1.6s ease-in-out infinite; }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.status span { color: #9AAA9A; font-size: 13px; }
.status.soon span { color: #9AB0BA; }
.panel-btn {
  display: block; width: 100%; padding: 14px; background: #00B4D8; color: #0B1628; border: none; border-radius: 10px;
  font-size: 14px; font-weight: 600; cursor: pointer; text-align: center; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
}
.panel-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,180,216,0.3); }

.site-footer { text-align: center; padding: 20px 0; margin-top: auto; }
.site-footer p { color: #5A6A7A; font-size: 12px; margin-bottom: 12px; }
.link-btn { background: none; border: none; color: #00B4D8; cursor: pointer; font-size: 12px; padding: 0; }
.footer-social { display: flex; justify-content: center; gap: 16px; }
.footer-social a { color: #5A6A7A; transition: color 0.2s; }
.footer-social a:hover { color: #00B4D8; }

/* ── modals ── */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center; z-index: 1000; animation: fadeIn 0.3s ease-out; padding: 16px; }
.modal.open { display: flex; }
.modal-box { background: rgba(20, 35, 60, 0.95); border: 1px solid rgba(0,180,216,0.3); border-radius: 24px; padding: 40px; width: 450px; max-width: 90vw;
  box-shadow: 0 0 80px rgba(0,180,216,0.2), 0 20px 60px rgba(0,0,0,0.5); animation: slideUp 0.4s ease-out; }
.modal-box.wide { width: 700px; max-height: 80vh; overflow-y: auto; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.modal-head h2 { color: #fff; font-size: 24px; font-weight: 600; }
.modal-close { background: none; border: none; color: #7A8A9A; font-size: 24px; cursor: pointer; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input, .contact-form textarea { padding: 14px 18px; background: rgba(0,180,216,0.08); border: 1px solid rgba(0,180,216,0.2); border-radius: 12px;
  color: #fff; font-size: 14px; outline: none; font-family: inherit; resize: none; }
.send-btn { padding: 16px; background: linear-gradient(135deg, #00B4D8, #4ECDC4); border: none; border-radius: 12px; color: #0B1628; font-size: 16px; font-weight: 600;
  cursor: pointer; margin-top: 8px; transition: transform 0.2s, box-shadow 0.2s; }
.send-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,180,216,0.3); }
.modal-note { color: #7A8A9A; font-size: 12px; text-align: center; margin-top: 20px; }
.modal-note span, .policy .accent { color: #00B4D8; }
.policy { color: #A0AAB5; font-size: 14px; line-height: 1.8; }
.policy p { margin-bottom: 12px; }
.policy .date { color: #7A8A9A; margin-bottom: 20px; }
.policy h3 { color: #00B4D8; font-size: 16px; font-weight: 600; margin: 24px 0 12px; }
.policy strong { color: #4ECDC4; }

/* ── business card (/serdar, /maryam) ── */
.card-page { min-height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; padding: 20px; }
.card-wrap { position: relative; z-index: 10; width: 100%; max-width: 400px; }
.business-card { background: rgba(20, 35, 60, 0.4); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); border: 1px solid rgba(0,180,216,0.3);
  border-radius: 32px; padding: 40px; position: relative; overflow: hidden; box-shadow: 0 20px 80px rgba(0,180,216,0.2); text-align: center; transition: transform .3s, box-shadow .3s, border-color .3s; }
.business-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,180,216,0.2) !important; border-color: rgba(0,180,216,0.6) !important; }
.bc-glow { position: absolute; top: -10%; right: -10%; width: 200px; height: 200px; background: radial-gradient(circle, rgba(0,180,216,0.15) 0%, transparent 70%); z-index: 0; }
.bc-inner { position: relative; z-index: 1; }
.bc-logo { display: flex; justify-content: center; height: 120px; position: relative; margin-bottom: 40px; }
.bc-logo img { height: 350px; position: absolute; top: -110px; object-fit: contain; }
.bc-name { color: #fff; font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.bc-role { color: #00B4D8; font-size: 16px; font-weight: 600; margin-bottom: 40px; letter-spacing: 2px; text-transform: uppercase; }
.bc-links { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.bc-links a { display: flex; align-items: center; justify-content: center; gap: 15px; color: #fff; text-decoration: none; font-size: 18px;
  background: rgba(255,255,255,0.05); padding: 15px; border-radius: 16px; border: 1px solid rgba(0,180,216,0.1); }
.bc-section { color: #5A6A7A; font-size: 12px; text-transform: uppercase; margin-bottom: 20px; font-weight: 600; letter-spacing: 1px; }
.bc-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 40px; }
.bc-product { background: rgba(255,255,255,0.03); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  border: 1px solid rgba(0,180,216,0.05); height: 100px; text-decoration: none; }
.bc-product img { object-fit: contain; }
.bc-product span { color: #A0AAB5; font-size: 10px; font-weight: 600; text-transform: uppercase; text-align: center; letter-spacing: .5px; }
.save-contact-btn { width: 100%; padding: 18px; background: linear-gradient(135deg, #00B4D8, #4ECDC4); border: none; border-radius: 16px; color: #0B1628;
  font-size: 16px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 10px 20px rgba(0,180,216,0.2); }

/* ── responsive (from the previous build) ── */
.mobile-logo-orbital { display: none; }
@media only screen and (max-width: 992px) {
  .main-content { flex-direction: column !important; align-items: center !important; }
  .right-panel { width: 100% !important; max-width: 560px !important; margin-top: 40px !important; }
  .left-side { width: 100% !important; max-width: 560px !important; }
}
@media only screen and (max-width: 768px) {
  .main-container { padding: 20px !important; }
  .header { flex-direction: row !important; justify-content: space-between !important; align-items: center !important; gap: 10px !important; padding-right: 10px !important; }
  img.header-logo { height: 200px !important; min-height: 200px !important; width: auto !important; max-width: none !important; margin: -60px 0 -70px -30px !important; }
  .project-grid { grid-template-columns: 1fr !important; }
  .section-title { font-size: 24px !important; text-align: center !important; }
  .section-desc { text-align: center !important; }
  .mobile-logo-orbital { display: flex !important; flex-direction: row; justify-content: center; align-items: flex-end; gap: 16px; padding: 10px 16px 20px; width: 100%; position: relative; margin-bottom: 10px; }
  .orbital-logo-item { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; background: transparent; border: none; transition: all 0.3s ease; opacity: 0.6; }
  .orbital-logo-item:active { opacity: 0.8; }
  .orbital-logo-item.selected { opacity: 1; transform: scale(1.4); filter: drop-shadow(0 0 15px rgba(0,180,216,0.7)); }
  .orbital-logo-item img { object-fit: contain; }
  .left-side { display: none !important; }
  .main-content { flex-direction: column !important; align-items: center !important; padding: 0 !important; width: 100% !important; }
  .right-panel { width: 100% !important; max-width: none !important; margin: 0 !important; border-radius: 0 !important; flex: 1 !important; }
  .business-card { width: 100% !important; max-width: 400px; }
}
@media only screen and (max-width: 480px) {
  .main-container { padding: 16px !important; }
  .right-panel { padding: 20px !important; }
  .stats-grid { grid-template-columns: 1fr 1fr !important; }
  .stat-value { font-size: 17px !important; }
  .stat-value.mono { font-size: 22px !important; }
}
@media only screen and (max-width: 480px) {
  .modal-box { padding: 26px 22px; }
  .modal-head h2 { font-size: 20px; }
  .business-card { padding: 32px 22px; }
  .bc-links a { font-size: 16px; gap: 12px; padding: 13px; }
  .bc-name { font-size: 24px; }
}
@media only screen and (max-width: 360px) {
  .mobile-logo-orbital { gap: 10px; padding: 10px 8px 20px; }
  .bc-links a { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .gradient-text, .reveal-item.revealed, .flip-animation, .status.soon i { animation: none !important; }
  .reveal-item { opacity: 1; transform: none; }
}
