/*
Theme Name: Synexis
Theme URI: https://synexis.hk
Author: Synexis Limited
Author URI: https://synexis.hk
Description: Enterprise telecom technology and AI solutions theme for Synexis Limited. Features ClearlyRated-inspired design with blue/red brand colors, responsive layout, and sections for Voice Systems, SMS Platform, Omnichannel, and AI for Telecom.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: synexis
Tags: one-column, custom-logo, custom-menu, featured-images, full-width-template, theme-options
*/

/* ========================================
   CSS RESET & VARIABLES
   ======================================== */
*{margin:0;padding:0;box-sizing:border-box}
:root{
--cr-navy:#0a0e1a;
--cr-dark:#0f1424;
--cr-blue:#1a6fff;
--cr-blue-hover:#1560e6;
--cr-blue-light:#3b8aff;
--cr-red:#e63946;
--cr-red-hover:#d42e3b;
--cr-red-glow:rgba(230,57,70,.25);
--cr-blue-glow:rgba(26,111,255,.2);
--cr-white:#ffffff;
--cr-off-white:#f8fafc;
--cr-light-gray:#f1f5f9;
--cr-border:#e2e8f0;
--cr-text-dark:#0f172a;
--cr-text-gray:#64748b;
--cr-text-light:#94a3b8;
--cr-text-muted:#cbd5e1;
--cr-orange:#f59e0b;
--cr-section-label:#1a6fff;
--font-heading:'Plus Jakarta Sans', sans-serif;
--font-body:'DM Sans', sans-serif;
}
html{scroll-behavior:smooth}
body{font-family:var(--font-body);color:var(--cr-text-dark);background:var(--cr-white);-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{text-decoration:none;color:inherit;transition:color .2s}
img{max-width:100%;display:block}
.container{max-width:1200px;margin:0 auto;padding:0 2rem}

/* ========================================
   HEADER
   ======================================== */
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.97);border-bottom:1px solid var(--cr-border);backdrop-filter:blur(16px)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:0 2rem;height:72px;max-width:1200px;margin:0 auto}
.logo-img{height:42px;width:auto}
.main-nav{display:flex;align-items:center;gap:2.5rem}
.main-nav a{font-size:.9rem;color:var(--cr-text-gray);font-weight:500;transition:color .2s}
.main-nav a:hover, .main-nav .current-menu-item a{color:var(--cr-text-dark)}
.nav-cta{display:flex;align-items:center;gap:1rem}
.btn-primary{font-size:.875rem;font-weight:600;color:var(--cr-white);background:var(--cr-blue);padding:.625rem 1.5rem;border-radius:8px;border:none;cursor:pointer;transition:all .25s;font-family:var(--font-body);display:inline-block}
.btn-primary:hover{background:var(--cr-blue-hover);transform:translateY(-1px);box-shadow:0 4px 14px var(--cr-blue-glow);color:var(--cr-white)}
.mobile-toggle{display:none;background:none;border:none;cursor:pointer;padding:.5rem}

/* WordPress Menu Reset */
.main-nav ul{list-style:none;display:flex;gap:2.5rem;margin:0;padding:0}
.main-nav ul li a{font-size:.9rem;color:var(--cr-text-gray);font-weight:500;transition:color .2s}
.main-nav ul li a:hover{color:var(--cr-text-dark)}
.main-nav ul li.current-menu-item a{color:var(--cr-text-dark)}

/* ========================================
   HERO
   ======================================== */
.hero{background:linear-gradient(160deg,#060a14 0%,#0a1228 30%,#0f1a35 60%,#0d1530 100%);padding:6rem 2rem 5rem;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;top:-40%;right:-25%;width:70%;height:180%;background:radial-gradient(ellipse at center,rgba(26,111,255,.1) 0%,transparent 65%);pointer-events:none}
.hero::after{content:'';position:absolute;bottom:-30%;left:-15%;width:50%;height:80%;background:radial-gradient(ellipse at center,rgba(230,57,70,.06) 0%,transparent 65%);pointer-events:none}
.hero-inner{max-width:1200px;margin:0 auto;position:relative;z-index:2}
.hero-label{display:inline-flex;align-items:center;gap:.5rem;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);padding:.375rem 1rem;border-radius:100px;font-size:.8rem;color:rgba(255,255,255,.6);font-weight:500;margin-bottom:1.5rem;text-transform:uppercase;letter-spacing:.08em}
.hero-label-dot{width:6px;height:6px;background:var(--cr-red);border-radius:50%;box-shadow:0 0 8px var(--cr-red-glow)}
.hero h1{font-family:var(--font-heading);font-size:3.5rem;font-weight:800;color:var(--cr-white);line-height:1.1;max-width:750px;margin-bottom:1.5rem;letter-spacing:-.03em}
.hero h1 .grad-blue{background:linear-gradient(135deg,#3b8aff,#1a6fff);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.hero h1 .grad-red{background:linear-gradient(135deg,#e63946,#ff6b6b);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.hero-sub{font-size:1.15rem;color:rgba(255,255,255,.55);max-width:580px;line-height:1.7;margin-bottom:2.5rem}
.hero-actions{display:flex;align-items:center;gap:1rem;margin-bottom:3rem}
.btn-hero{font-size:.95rem;font-weight:600;padding:.8rem 2rem;border-radius:8px;cursor:pointer;transition:all .25s;font-family:var(--font-body);border:none;display:inline-block}
.btn-hero-primary{background:var(--cr-red);color:var(--cr-white)}
.btn-hero-primary:hover{background:var(--cr-red-hover);transform:translateY(-1px);box-shadow:0 6px 24px var(--cr-red-glow);color:var(--cr-white)}
.btn-hero-outline{background:transparent;color:var(--cr-white);border:1.5px solid rgba(255,255,255,.2)}
.btn-hero-outline:hover{border-color:rgba(255,255,255,.45);background:rgba(255,255,255,.04);color:var(--cr-white)}
.hero-ratings{display:flex;align-items:center;gap:2rem}
.hero-rating-item{display:flex;align-items:center;gap:.5rem}
.hero-stars{display:flex;gap:2px}
.hero-stars svg{width:16px;height:16px}
.hero-rating-text{font-size:.8rem;color:rgba(255,255,255,.4)}
.hero-rating-value{font-size:.85rem;font-weight:600;color:var(--cr-white)}
.hero-visual{margin-top:4rem;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07);border-radius:16px;padding:2rem;min-height:300px;overflow:hidden}
.hero-visual-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;width:100%}
.hero-stat-card{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.07);border-radius:12px;padding:1.5rem;text-align:center;transition:border-color .3s}
.hero-stat-card:hover{border-color:rgba(26,111,255,.3)}
.hero-stat-number{font-family:var(--font-heading);font-size:2rem;font-weight:800;margin-bottom:.25rem}
.hero-stat-number.blue{color:var(--cr-blue-light)}
.hero-stat-number.red{color:var(--cr-red)}
.hero-stat-number.white{color:rgba(255,255,255,.85)}
.hero-stat-label{font-size:.8rem;color:rgba(255,255,255,.4);text-transform:uppercase;letter-spacing:.05em}

/* ========================================
   SECTIONS
   ======================================== */
.section{padding:5rem 2rem}
.section-label{font-size:.75rem;color:var(--cr-section-label);text-transform:uppercase;letter-spacing:.12em;font-weight:700;margin-bottom:.75rem}
.section-title{font-family:var(--font-heading);font-size:2.25rem;font-weight:800;color:var(--cr-text-dark);line-height:1.2;margin-bottom:1rem;letter-spacing:-.02em}
.section-sub{font-size:1.05rem;color:var(--cr-text-gray);max-width:600px;line-height:1.7;margin-bottom:3rem}
.section-center{text-align:center}
.section-center .section-sub{margin-left:auto;margin-right:auto}

/* Trust / About */
.trust-section{background:var(--cr-white)}
.trust-content{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center;max-width:1200px;margin:0 auto}
.trust-text h3{font-family:var(--font-heading);font-size:1.3rem;font-weight:700;color:var(--cr-text-dark);margin-bottom:1rem}
.trust-text p{color:var(--cr-text-gray);line-height:1.7;margin-bottom:1.5rem;font-size:.95rem}

/* Steps */
.steps-section{background:var(--cr-off-white)}
.steps-tabs{display:flex;gap:.5rem;margin-bottom:3rem;border-bottom:2px solid var(--cr-border);padding-bottom:0}
.step-tab{padding:.75rem 1.5rem;font-size:.9rem;font-weight:600;color:var(--cr-text-gray);cursor:pointer;border-bottom:3px solid transparent;margin-bottom:-2px;transition:all .2s;background:none;border-top:none;border-left:none;border-right:none;font-family:var(--font-body)}
.step-tab.active{color:var(--cr-blue);border-bottom-color:var(--cr-blue)}
.step-tab:hover{color:var(--cr-text-dark)}
.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;max-width:1200px;margin:0 auto}
.step-card{background:var(--cr-white);border:1px solid var(--cr-border);border-radius:12px;padding:2rem;transition:all .3s}
.step-card:hover{border-color:var(--cr-blue);box-shadow:0 8px 24px var(--cr-blue-glow);transform:translateY(-2px)}
.step-number{font-family:var(--font-heading);font-size:.75rem;font-weight:700;color:var(--cr-blue);background:rgba(26,111,255,.08);width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;margin-bottom:1rem}
.step-card h4{font-family:var(--font-heading);font-size:1.05rem;font-weight:700;color:var(--cr-text-dark);margin-bottom:.5rem}
.step-card p{font-size:.9rem;color:var(--cr-text-gray);line-height:1.6}

/* Features */
.platform-section{background:var(--cr-white)}
.feature-row{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center;max-width:1200px;margin:0 auto 4rem}
.feature-row:last-child{margin-bottom:0}
.feature-row.reverse{direction:rtl}
.feature-row.reverse > *{direction:ltr}
.feature-img{background:var(--cr-light-gray);border:1px solid var(--cr-border);border-radius:16px;padding:2.5rem;min-height:300px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.feature-img-visual{width:100%;display:flex;flex-direction:column;gap:.75rem}
.feature-bar{height:8px;border-radius:4px;background:rgba(26,111,255,.12)}
.feature-bar.active{background:var(--cr-blue)}
.feature-bar.red{background:var(--cr-red)}
.feature-bar.mixed{background:linear-gradient(90deg,var(--cr-blue),var(--cr-red))}
.feature-text .section-label{margin-bottom:.5rem}
.feature-text h3{font-family:var(--font-heading);font-size:1.6rem;font-weight:800;color:var(--cr-text-dark);margin-bottom:1rem;letter-spacing:-.02em}
.feature-text p{color:var(--cr-text-gray);line-height:1.7;font-size:.95rem;margin-bottom:1rem}
.feature-list{list-style:none;padding:0;margin-top:1.5rem}
.feature-list li{display:flex;align-items:flex-start;gap:.75rem;margin-bottom:.75rem;font-size:.9rem;color:var(--cr-text-gray)}
.feature-list li svg{width:18px;height:18px;color:var(--cr-blue);flex-shrink:0;margin-top:2px}

/* Testimonials */
.testimonials-section{background:var(--cr-off-white)}
.testimonials-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;max-width:1200px;margin:0 auto}
.testimonial-card{background:var(--cr-white);border:1px solid var(--cr-border);border-radius:12px;padding:2rem;transition:all .3s}
.testimonial-card:hover{box-shadow:0 8px 24px rgba(0,0,0,.06);transform:translateY(-2px)}
.testimonial-quote{font-size:.95rem;color:var(--cr-text-dark);line-height:1.7;margin-bottom:1.5rem;font-style:italic}
.testimonial-author{display:flex;align-items:center;gap:.75rem}
.testimonial-avatar{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:700;color:var(--cr-white)}
.testimonial-info h5{font-size:.85rem;font-weight:600;color:var(--cr-text-dark)}
.testimonial-info p{font-size:.75rem;color:var(--cr-text-light)}

/* Industries */
.industries-section{background:var(--cr-white)}
.industries-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;max-width:1200px;margin:0 auto}
.industry-card{background:var(--cr-off-white);border:1px solid var(--cr-border);border-radius:12px;padding:1.5rem;text-align:center;transition:all .3s;cursor:pointer}
.industry-card:hover{border-color:var(--cr-blue);background:var(--cr-white);box-shadow:0 4px 16px var(--cr-blue-glow)}
.industry-icon{width:48px;height:48px;background:rgba(26,111,255,.08);border-radius:12px;display:flex;align-items:center;justify-content:center;margin:0 auto 1rem}
.industry-icon svg{width:24px;height:24px;color:var(--cr-blue)}
.industry-card h4{font-family:var(--font-heading);font-size:.95rem;font-weight:700;color:var(--cr-text-dark);margin-bottom:.35rem}
.industry-card p{font-size:.8rem;color:var(--cr-text-light)}

/* CTA */
.cta-section{background:linear-gradient(160deg,#060a14 0%,#0a1228 40%,#0f1a35 100%);padding:5rem 2rem;text-align:center;position:relative;overflow:hidden}
.cta-section::before{content:'';position:absolute;top:-50%;right:-20%;width:50%;height:180%;background:radial-gradient(ellipse at center,rgba(230,57,70,.06) 0%,transparent 65%);pointer-events:none}
.cta-section::after{content:'';position:absolute;bottom:-40%;left:-20%;width:50%;height:120%;background:radial-gradient(ellipse at center,rgba(26,111,255,.08) 0%,transparent 65%);pointer-events:none}
.cta-inner{max-width:700px;margin:0 auto;position:relative;z-index:2}
.cta-section h2{font-family:var(--font-heading);font-size:2.25rem;font-weight:800;color:var(--cr-white);margin-bottom:1rem;letter-spacing:-.02em}
.cta-section p{font-size:1.05rem;color:rgba(255,255,255,.55);margin-bottom:2.5rem;line-height:1.7}

/* Integrations */
.integrations-section{background:var(--cr-off-white)}
.integrations-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;max-width:1200px;margin:0 auto}
.integration-card{background:var(--cr-white);border:1px solid var(--cr-border);border-radius:12px;padding:1.5rem;display:flex;align-items:flex-start;gap:1rem;transition:all .3s}
.integration-card:hover{border-color:var(--cr-blue);box-shadow:0 4px 12px var(--cr-blue-glow)}
.integration-icon{width:40px;height:40px;background:rgba(26,111,255,.08);border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.integration-icon svg{width:20px;height:20px;color:var(--cr-blue)}
.integration-icon.red-icon{background:rgba(230,57,70,.08)}
.integration-icon.red-icon svg{color:var(--cr-red)}
.integration-card h4{font-family:var(--font-heading);font-size:.9rem;font-weight:700;color:var(--cr-text-dark);margin-bottom:.25rem}
.integration-card p{font-size:.8rem;color:var(--cr-text-light);line-height:1.5}

/* ========================================
   FOOTER
   ======================================== */
.site-footer{background:var(--cr-navy);color:rgba(255,255,255,.55);padding:4rem 2rem 2rem}
.footer-inner{max-width:1200px;margin:0 auto}
.footer-top{display:grid;grid-template-columns:1.5fr repeat(4,1fr);gap:3rem;margin-bottom:3rem}
.footer-brand p{font-size:.85rem;line-height:1.7;max-width:260px;margin-top:1rem}
.footer-brand-address{margin-top:1rem;font-size:.8rem;line-height:1.8}
.footer-logo{height:34px;width:auto;margin-bottom:.25rem}
.footer-col h4{font-size:.75rem;text-transform:uppercase;letter-spacing:.1em;color:rgba(255,255,255,.3);font-weight:600;margin-bottom:1.25rem}
.footer-col a{display:block;font-size:.875rem;color:rgba(255,255,255,.55);margin-bottom:.625rem;transition:color .2s}
.footer-col a:hover{color:var(--cr-white)}
.footer-col ul{list-style:none;margin:0;padding:0}
.footer-col ul li{margin-bottom:.625rem}
.footer-col ul li a{font-size:.875rem;color:rgba(255,255,255,.55)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.07);padding-top:2rem;display:flex;justify-content:space-between;align-items:center;font-size:.8rem;color:rgba(255,255,255,.3)}
.footer-bottom-links{display:flex;gap:1.5rem}
.footer-bottom-links a{color:rgba(255,255,255,.3);transition:color .2s}
.footer-bottom-links a:hover{color:rgba(255,255,255,.55)}

/* ========================================
   WORDPRESS DEFAULTS
   ======================================== */
.wp-block-image img{height:auto}
.aligncenter{display:block;margin-left:auto;margin-right:auto}
.alignleft{float:left;margin-right:1.5rem}
.alignright{float:right;margin-left:1.5rem}
.wp-caption{max-width:100%}
.screen-reader-text{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute;width:1px}

/* ========================================
   BLOG / POSTS
   ======================================== */
.blog-container{max-width:800px;margin:0 auto;padding:4rem 2rem}
.blog-container h1{font-family:var(--font-heading);font-size:2.5rem;font-weight:800;margin-bottom:1rem}
.blog-container h2{font-family:var(--font-heading);font-size:1.75rem;font-weight:700;margin:2rem 0 1rem}
.blog-container p{line-height:1.8;margin-bottom:1.5rem;color:var(--cr-text-gray)}
.blog-container .entry-meta{font-size:.85rem;color:var(--cr-text-light);margin-bottom:2rem}
.post-card{border:1px solid var(--cr-border);border-radius:12px;padding:2rem;margin-bottom:2rem;transition:all .3s}
.post-card:hover{border-color:var(--cr-blue);box-shadow:0 4px 16px var(--cr-blue-glow)}
.post-card h2 a{color:var(--cr-text-dark);font-family:var(--font-heading)}
.post-card h2 a:hover{color:var(--cr-blue)}

/* ========================================
   RESPONSIVE
   ======================================== */
@media(max-width:968px){
.main-nav{display:none}
.mobile-toggle{display:block}
.hero h1{font-size:2.5rem}
.trust-content,.feature-row,.feature-row.reverse{grid-template-columns:1fr;gap:2rem;direction:ltr}
.steps-grid,.testimonials-grid,.integrations-grid{grid-template-columns:1fr}
.industries-grid{grid-template-columns:repeat(2,1fr)}
.footer-top{grid-template-columns:1fr 1fr;gap:2rem}
.hero-visual-grid{grid-template-columns:1fr}
.hero-ratings{flex-direction:column;align-items:flex-start;gap:1rem}
}
@media(max-width:600px){
.hero{padding:4rem 1.5rem 3rem}
.hero h1{font-size:2rem}
.hero-actions{flex-direction:column;align-items:stretch}
.industries-grid{grid-template-columns:1fr}
.footer-top{grid-template-columns:1fr}
.footer-bottom{flex-direction:column;gap:1rem;text-align:center}
.steps-tabs{overflow-x:auto;-webkit-overflow-scrolling:touch}
}

/* Animations */
@keyframes fadeUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
.fade-up{animation:fadeUp .6s ease forwards}
.delay-1{animation-delay:.1s}
.delay-2{animation-delay:.2s}
.delay-3{animation-delay:.3s}
