/* ===== Technologics Solutions - Modern SaaS Theme ===== */
/* Fonts & Look matched to example site (Plus Jakarta Sans) */

:root {
    --bg-canvas: #f4f7fb;
    --bg-primary: #ffffff;
    --bg-secondary: #f4f7fb;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --blue: #1e40af;
    --blue-light: #3b82f6;
    --blue-dark: #1e3a8a;
    --red: #dc2626;
    --red-light: #ef4444;
    --primary-accent: #1e40af;
    --secondary-accent: #dc2626;
    --text-headline: #0f172a;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --border-subtle: #e2e8f0;
    --gradient-1: linear-gradient(135deg, #1e40af 0%, #dc2626 100%);
    --gradient-brand: linear-gradient(135deg, #1e40af 0%, #dc2626 100%);
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.07), 0 0 1px 1px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(30, 64, 175, 0.08);
    --shadow-lg: 0 10px 40px rgba(30, 64, 175, 0.12);
    --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-canvas);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.bg-animation {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--bg-canvas);
    pointer-events: none;
}

.grid-lines {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(at 0% 0%, rgba(30, 64, 175, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(220, 38, 38, 0.06) 0px, transparent 50%),
        radial-gradient(at 50% 100%, rgba(244, 247, 251, 1) 0px, transparent 100%);
}

.particles { display: none; }

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 10px 0;
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.5px;
    color: var(--text-headline);
}

.logo-text .accent {
    color: var(--red);
}

.nav-links {
    display: flex;
    gap: 2px;
}

.nav-link {
    padding: 10px 16px;
    font-weight: 500;
    font-size: 15px;
    color: #334155;
    border-radius: 10px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue) !important;
    background: rgba(30, 64, 175, 0.06);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--blue);
    border-radius: 2px;
    transition: var(--transition);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 24px 80px;
    max-width: 1140px;
    margin: 0 auto;
    gap: 50px;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 580px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border-radius: 9999px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.2px;
    margin-bottom: 20px;
    color: var(--text-headline);
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-title .line { display: block; }

.hero-title .highlight {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 480px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-brand);
    color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(30, 64, 175, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(30, 64, 175, 0.45);
}

.btn-secondary {
    background: #ffffff;
    color: var(--blue);
    border: 1.5px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.btn-secondary:hover {
    border-color: var(--blue);
    background: rgba(30, 64, 175, 0.04);
}

.btn.full-width {
    width: 100%;
    justify-content: center;
}

.hero-stats {
    display: flex;
    gap: 36px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1.2s ease 0.5s both;
}

.tech-sphere {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sphere-core {
    width: 130px;
    height: 130px;
    background: #ffffff;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-premium);
    z-index: 2;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    animation: pulse 3s ease-in-out infinite;
}

.sphere-core img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
}

.sphere-ring {
    position: absolute;
    border: 2px solid transparent;
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

.ring-1 {
    width: 190px;
    height: 190px;
    border-top-color: var(--blue);
    border-right-color: var(--blue);
    opacity: 0.4;
}

.ring-2 {
    width: 250px;
    height: 250px;
    border-bottom-color: var(--red);
    border-left-color: var(--red);
    opacity: 0.35;
    animation-direction: reverse;
    animation-duration: 25s;
}

.ring-3 {
    width: 310px;
    height: 310px;
    border-left-color: var(--blue-light);
    border-top-color: var(--red-light);
    opacity: 0.25;
    animation-duration: 30s;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
    0%, 100% { box-shadow: var(--shadow-premium); }
    50% { box-shadow: 0 20px 50px -10px rgba(30, 64, 175, 0.2); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.section {
    padding: 90px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    letter-spacing: 0.3px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.8px;
    margin-bottom: 12px;
    color: var(--text-headline);
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--gradient-brand);
    margin: 0 auto 16px;
    border-radius: 4px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

.about { background: transparent; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 28px;
    align-items: start;
}

.vision-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 36px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-premium);
}

.vision-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.1);
    border-color: rgba(30, 64, 175, 0.25);
}

.card-icon {
    width: 58px;
    height: 58px;
    background: rgba(30, 64, 175, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--blue);
    margin: 0 auto 20px;
    transition: var(--transition);
}

.vision-card:hover .card-icon {
    background: var(--gradient-brand);
    color: #fff;
    transform: scale(1.08) rotate(4deg);
}

.vision-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-headline);
}

.vision-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(30, 64, 175, 0.2);
}

.value-card i {
    font-size: 1.35rem;
    color: var(--red);
    margin-bottom: 12px;
}

.value-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-headline);
}

.value-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.products { background: transparent; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 28px 14px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(30, 64, 175, 0.25);
}

.product-icon {
    width: 52px;
    height: 52px;
    background: rgba(30, 64, 175, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.3rem;
    color: var(--blue);
    transition: var(--transition);
}

.product-card:hover .product-icon {
    background: var(--gradient-brand);
    color: #fff;
    transform: scale(1.08) rotate(4deg);
}

.product-card h3 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-headline);
}

.services { background: transparent; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 32px 28px;
    transition: var(--transition);
    box-shadow: var(--shadow-premium);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.12);
    border-color: rgba(30, 64, 175, 0.3);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(30, 64, 175, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--blue);
    margin-bottom: 18px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-brand);
    color: #fff;
    transform: scale(1.08) rotate(4deg);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-headline);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.service-link .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue);
    transition: var(--transition);
}

.service-link:hover .learn-more {
    color: var(--red);
    gap: 10px;
}

.focus { background: transparent; }

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.focus-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.98rem;
    font-weight: 550;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    color: var(--text-headline);
}

.focus-item i {
    color: var(--red);
    font-size: 1.05rem;
    width: 22px;
    text-align: center;
}

.focus-item:hover {
    border-color: var(--blue);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.solutions { background: transparent; }

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: var(--transition);
}

.solution-card:hover::before { opacity: 1; }

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.1);
    border-color: rgba(30, 64, 175, 0.25);
}

.solution-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.solution-header i {
    font-size: 1.4rem;
    color: var(--blue);
}

.solution-header h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-headline);
}

.solution-card ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.solution-card li {
    color: var(--text-secondary);
    font-size: 0.92rem;
    padding-left: 16px;
    position: relative;
}

.solution-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: 700;
}

.contact { background: transparent; }

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-card {
    display: flex;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 20px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.contact-card:hover {
    border-color: var(--blue);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 46px;
    height: 46px;
    background: rgba(30, 64, 175, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--blue);
    flex-shrink: 0;
}

.contact-card h4 {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--blue);
}

.contact-card p,
.contact-card a {
    color: var(--text-secondary);
    font-size: 0.98rem;
}

.contact-card a:hover { color: var(--red); }

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--shadow-premium);
}

.contact-form h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    color: var(--text-headline);
}

.form-group { margin-bottom: 14px; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-canvas);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.98rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
    background: #ffffff;
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.footer {
    background: #ffffff;
    border-top: 1px solid var(--border-subtle);
    padding: 50px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 36px;
    margin-bottom: 32px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 12px;
    max-width: 280px;
    font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-headline);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--red);
    padding-left: 4px;
}

.footer-contact p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--red);
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.page-hero {
    padding: 140px 24px 56px;
    background: transparent;
    text-align: center;
    position: relative;
}

.page-hero .section-tag { margin-bottom: 12px; }

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.8px;
    color: var(--text-headline);
    margin-bottom: 12px;
}

.page-hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.service-detail {
    padding: 50px 0 90px;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 36px;
    align-items: start;
}

.service-content h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-headline);
    margin-bottom: 14px;
    margin-top: 32px;
}

.service-content h2:first-child { margin-top: 0; }

.service-content p {
    color: var(--text-secondary);
    font-size: 1.02rem;
    margin-bottom: 14px;
    line-height: 1.7;
}

.service-content ul {
    margin: 14px 0 22px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.service-content li {
    color: var(--text-secondary);
    font-size: 1rem;
    padding-left: 20px;
    position: relative;
}

.service-content li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: 700;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 14px;
    margin: 20px 0;
}

.brand-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 18px 14px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-headline);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.brand-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.service-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-premium);
    margin-bottom: 16px;
}

.sidebar-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-headline);
    margin-bottom: 14px;
}

.sidebar-card ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-card a {
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.sidebar-card a:last-child { border-bottom: none; }
.sidebar-card a:hover { color: var(--red); }

.sidebar-card a i {
    color: var(--blue);
    font-size: 0.8rem;
    width: 16px;
}

.sidebar-cta {
    background: var(--gradient-brand) !important;
    color: #fff !important;
    border-radius: 9999px;
    padding: 12px 18px !important;
    text-align: center;
    font-weight: 600;
    display: block !important;
    border: none !important;
    margin-top: 12px;
    font-size: 0.9rem !important;
}

.sidebar-cta:hover {
    opacity: 0.92;
    color: #fff !important;
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 130px;
    }
    .hero-content { max-width: 100%; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { margin-top: 24px; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand p { margin-left: auto; margin-right: auto; }
    .footer-links { align-items: center; }
    .footer-contact p { justify-content: center; }
}

@media (max-width: 900px) {
    .service-detail-grid { grid-template-columns: 1fr; }
    .service-sidebar { position: static; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        padding: 80px 28px 28px;
        gap: 4px;
        transition: var(--transition);
        border-left: 1px solid var(--border);
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.08);
    }
    .nav-links.open { right: 0; }
    .menu-toggle { display: flex; z-index: 1001; }
    .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .values-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .tech-sphere { width: 260px; height: 260px; }
    .sphere-core { width: 100px; height: 100px; }
    .ring-1 { width: 150px; height: 150px; }
    .ring-2 { width: 200px; height: 200px; }
    .ring-3 { width: 250px; height: 250px; }
    .logo-img { height: 38px; }
    .logo-text { font-size: 0.95rem; }
}

@media (max-width: 480px) {
    .section { padding: 60px 0; }
    .hero-cta { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-form-wrapper { padding: 24px 16px; }
}
