/* ================================================
   main.css — Global styles for Sinocarta Profiles
   Shared across all templates
================================================ */

/* ---- Google Font (Poppins) ---- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

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

html { scroll-behavior: smooth; }

img, svg { display: block; max-width: 100%; }

a { text-decoration: none; }

ul, ol { list-style: none; }

/* ---- Sinocarta Brand Variables ---- */
:root {
  --sino-navy:      #020617;
  --sino-gold:      #f5b932;
  --sino-light-gold: #ffe08a;
  --sino-cream:     #fdf8f0;
  --sino-white:     #ffffff;
  --sino-gray:      #6b7280;
  --sino-light-gray: #f3f4f6;

  /* Layout */
  --card-radius:  16px;
  --btn-radius:   50px;
  --max-width:    480px;
  --page-padding: 20px;

  /* Transitions */
  --transition: 0.22s ease;
}

/* ---- Body base ---- */
body {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ---- Page wrapper ---- */
.profile-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---- Centred container ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-padding);
}

/* ================================================
   LOGO
================================================ */
.sino-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

 /* The Sinocarta logo image */
.sino-logo-img {
  width: 130px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Top bar that holds the logo (left) and Save Contact button (right) */
.top-bar {
  padding: 14px var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ================================================
   SAVE CONTACT BUTTON
================================================ */

/* Shared save-contact style — each template overrides colours */
.btn-save-contact {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 30px;
  border-radius: var(--btn-radius);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  letter-spacing: 0.2px;
}

.btn-save-contact:hover  { transform: translateY(-2px); opacity: 0.92; }
.btn-save-contact:active { transform: translateY(0);    opacity: 1; }

.btn-save-contact i { font-size: 15px; }

/* ================================================
   PROFILE SECTION
================================================ */
.profile-section {
  padding: 24px var(--page-padding) 20px;
  text-align: center;
}

/* Avatar circle */
.profile-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

/* Real photo — absolutely positioned so the LH initials stay as CSS fallback behind it */
.profile-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-name {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 4px;
}

.profile-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
  opacity: 0.8;
}

.profile-brand {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.profile-tagline {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  max-width: 340px;
  margin: 0 auto;
}

/* ================================================
   QUICK ACTION BUTTONS (Call, WhatsApp, Email, Website)
================================================ */
.quick-actions {
  padding: 12px var(--page-padding) 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 72px;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition);
}

.btn-action:hover { transform: translateY(-3px); }

.btn-action-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: box-shadow var(--transition);
}

.btn-action-label {
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

/* ================================================
   SOCIAL LINKS
================================================ */
.social-links {
  padding: 0 var(--page-padding) 24px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: transform var(--transition), opacity var(--transition);
}

.social-link:hover { transform: translateY(-2px); opacity: 0.88; }

.social-link i { font-size: 15px; }

/* ================================================
   ABOUT SECTION
================================================ */
.about-section {
  padding: 24px var(--page-padding);
  margin: 0 var(--page-padding);
  border-radius: var(--card-radius);
  margin-bottom: 24px;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.55;
}

.about-text {
  font-size: 14px;
  line-height: 1.75;
}

/* ================================================
   FEATURED / PORTFOLIO SECTION
================================================ */
.featured-section {
  padding: 0 var(--page-padding) 32px;
}

.featured-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* For templates where a 3-column feel is needed */
.featured-grid.three-col {
  grid-template-columns: 1fr 1fr 1fr;
}

.featured-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

/* Portfolio image preview cards */
.featured-card-thumb {
  height: 120px;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  position: relative;
  overflow: hidden;
}

/* Bottom scrim: fades the gradient to dark like a real photo */
.featured-card-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 20%, rgba(0,0,0,0.55) 100%),
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,0.025) 0px,
      rgba(255,255,255,0.025) 1px,
      transparent 1px,
      transparent 14px
    );
  z-index: 0;
  pointer-events: none;
}

/* Centered image-icon silhouette — signals "photo placeholder" */
.featured-card-thumb::after {
  content: '\f03e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 28px;
  color: rgba(255,255,255,0.13);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  z-index: 0;
  pointer-events: none;
}

.featured-card-thumb.g1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.featured-card-thumb.g2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.featured-card-thumb.g3 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.featured-card-thumb.g4 { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.featured-card-thumb.g5 { background: linear-gradient(135deg, #fa709a, #fee140); }
.featured-card-thumb.g6 { background: linear-gradient(135deg, #a18cd1, #fbc2eb); }

/* Tag pill floats above both pseudo-elements */
.featured-card-tag {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.28);
}

.featured-card-info {
  padding: 10px 12px 12px;
}

.featured-card-name {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.featured-card-sub {
  font-size: 11px;
  opacity: 0.6;
}

/* ================================================
   DIVIDER
================================================ */
.divider {
  height: 1px;
  margin: 0 var(--page-padding) 24px;
  opacity: 0.12;
  background: currentColor;
}

/* ================================================
   FOOTER
================================================ */
.profile-footer {
  margin-top: auto;
  padding: 20px var(--page-padding) 28px;
  text-align: center;
  font-size: 12px;
  opacity: 0.5;
}

.profile-footer a {
  font-weight: 700;
  opacity: 1;
}

/* ================================================
   UTILITY CLASSES
================================================ */

/* Text alignment */
.text-center { text-align: center; }

/* Spacers */
.spacer-sm { height: 12px; }
.spacer-md { height: 24px; }




































































































/* ===========================
   SINOCARTA MAIN COMING SOON PAGE
   Smart Connection / Security / Tracking
=========================== */


/* ===========================
   GLOBAL RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', Arial, sans-serif;
}

body{
    min-height:100vh;
    background:#020617;
    color:white;
}

a{
    text-decoration:none;
}



/* ===========================
   PAGE WRAPPER
=========================== */

.coming-soon-page{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:30px 16px;
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(circle at top left, rgba(245,185,50,.20), transparent 35%),
        radial-gradient(circle at bottom right, rgba(37,99,235,.22), transparent 38%),
        #020617;
}


/* ===========================
   BACKGROUND GLOWS
=========================== */

.coming-glow{
    position:absolute;
    border-radius:50%;
    filter:blur(55px);
    opacity:.55;
}

.glow-one{
    width:230px;
    height:230px;
    background:#f5b932;
    top:-80px;
    left:-80px;
}

.glow-two{
    width:260px;
    height:260px;
    background:#2563eb;
    bottom:-100px;
    right:-100px;
}

.glow-three{
    width:180px;
    height:180px;
    background:#22c55e;
    top:45%;
    left:-90px;
    opacity:.22;
}


/* ===========================
   MAIN CARD
=========================== */

.coming-card{
    width:100%;
    max-width:560px;
    padding:38px 24px;
    border-radius:34px;
    background:linear-gradient(
        180deg,
        rgba(255,255,255,.13),
        rgba(255,255,255,.06)
    );
    border:1px solid rgba(255,255,255,.14);
    box-shadow:0 30px 80px rgba(0,0,0,.45);
    backdrop-filter:blur(18px);
    text-align:center;
    position:relative;
    z-index:2;
}


/* ===========================
   LOGO
=========================== */

.coming-logo{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    margin-bottom:22px;
}

.coming-logo img{
    width:180px;
    height:auto;
    object-fit:contain;
}

.coming-logo span{
    color:#f5b932;
    font-size:18px;
    font-weight:800;
    letter-spacing:2px;
}


/* ===========================
   BADGE
=========================== */

.coming-badge{
    width:max-content;
    max-width:100%;
    margin:0 auto 20px;
    padding:10px 15px;
    border-radius:30px;
    background:rgba(245,185,50,.13);
    border:1px solid rgba(245,185,50,.24);
    color:#fde68a;
    font-size:12px;
    font-weight:600;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
}

.coming-badge i{
    color:#f5b932;
}


/* ===========================
   MAIN TEXT
=========================== */

.coming-card h1{
    max-width:500px;
    margin:0 auto 16px;
    font-size:38px;
    line-height:1.15;
    font-weight:800;
    color:white;
}

.coming-text{
    max-width:470px;
    margin:0 auto;
    font-size:14px;
    line-height:1.8;
    color:#cbd5e1;
}


/* ===========================
   FEATURES
=========================== */

.coming-features{
    margin-top:28px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
}

.coming-features div{
    padding:16px 8px;
    border-radius:22px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.10);
}

.coming-features i{
    width:42px;
    height:42px;
    margin:0 auto 10px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(135deg,#f5b932,#ffe08a);
    color:#020617;
    font-size:17px;
}

.coming-features span{
    display:block;
    font-size:10px;
    font-weight:600;
    color:#e5e7eb;
}


/* ===========================
   BUSINESS PROMISE
=========================== */

.coming-promise{
    margin-top:24px;
    padding:18px;
    border-radius:24px;
    background:rgba(255,255,255,.075);
    border:1px solid rgba(255,255,255,.10);
    display:flex;
    align-items:flex-start;
    gap:14px;
    text-align:left;
}

.coming-promise i{
    width:42px;
    height:42px;
    border-radius:50%;
    background:rgba(37,99,235,.18);
    color:#93c5fd;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:18px;
    flex-shrink:0;
}

.coming-promise p{
    font-size:13px;
    line-height:1.7;
    color:#d1d5db;
}


/* ===========================
   ACTION BUTTONS
=========================== */

.coming-actions{
    margin-top:28px;
    display:flex;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
}

.coming-actions a{
    min-width:145px;
    padding:14px 18px;
    border-radius:30px;
    text-decoration:none;
    font-size:13px;
    font-weight:700;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
}

.coming-whatsapp{
    background:#22c55e;
    color:white;
    box-shadow:0 15px 30px rgba(34,197,94,.22);
}

.coming-preview{
    background:white;
    color:#020617;
}


/* ===========================
   FOOTER
=========================== */

.coming-footer{
    margin-top:28px;
}

.coming-footer p{
    font-size:12px;
    color:#94a3b8;
}

.coming-footer strong{
    color:#f5b932;
}

.coming-footer span{
    display:block;
    margin-top:6px;
    font-size:11px;
    color:#64748b;
}


/* ===========================
   MOBILE RESPONSIVE
=========================== */

@media(max-width:480px){

    .coming-soon-page{
        padding:24px 14px;
        align-items:flex-start;
    }

    .coming-card{
        padding:32px 20px;
        border-radius:30px;
    }

    .coming-logo img{
        width:42px;
    }

    .coming-logo span{
        font-size:16px;
    }

    .coming-card h1{
        font-size:30px;
    }

    .coming-text{
        font-size:13px;
    }

    .coming-features{
        grid-template-columns:repeat(2,1fr);
        gap:9px;
    }

    .coming-features div{
        padding:14px 8px;
        border-radius:18px;
    }

    .coming-features i{
        width:38px;
        height:38px;
        font-size:15px;
    }

    .coming-features span{
        font-size:10px;
    }

    .coming-promise{
        padding:16px;
        gap:12px;
    }

    .coming-promise i{
        width:38px;
        height:38px;
        font-size:16px;
    }

    .coming-promise p{
        font-size:12px;
    }

    .coming-actions{
        flex-direction:column;
    }

    .coming-actions a{
        width:100%;
    }
}