:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --action: #ea580c;
    --action-hover: #c2410c;
    --text-main: #0f172a;
    --text-muted: #475569;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 12px;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-sm {
    max-width: 800px;
}

/* Header & Nav */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
}

.logo .highlight {
    color: var(--primary);
}

.desktop-nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
}

.desktop-nav a:hover {
    color: var(--primary);
}

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

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-main);
    transition: 0.3s;
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--bg-white);
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-nav a {
    padding: 12px 0;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-action {
    background-color: var(--action);
    color: white;
}

.btn-action:hover {
    background-color: var(--action-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-lg {
    padding: 15px 32px;
    font-size: 1.1rem;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.w-full { width: 100%; }

/* Hero */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(2,132,199,0.1) 0%, rgba(255,255,255,0) 70%);
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* Trust Badges */
.trust-badges {
    padding: 40px 0;
    background: var(--bg-white);
    border-bottom: 1px solid #f1f5f9;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.badge-item i {
    font-size: 2rem;
    color: var(--primary);
}

.badge-item h4 { font-size: 1rem; }
.badge-item p { font-size: 0.875rem; color: var(--text-muted); }

/* Sections */
.section-light { background-color: var(--bg-light); padding: 80px 0; }
.text-center { text-align: center; }

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(2deg);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

/* Sidebar Layout */
.sidebar-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    padding: 60px 20px;
}

.sidebar-widget {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius);
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
}

.sidebar-logo {
    width: 100%;
    margin-bottom: 20px;
}

/* Glass Cards */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* FAQ Accordion */
.faq-accordion details {
    margin-bottom: 15px;
    background: var(--bg-white);
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.faq-accordion summary {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-accordion summary::-webkit-details-marker { display: none; }

.faq-content {
    padding: 0 20px 20px 55px;
    color: var(--text-muted);
}

/* Footer */
.main-footer {
    background-color: #0f172a;
    color: #f1f5f9;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
}

.main-footer h3, .main-footer h4 { color: white; margin-bottom: 20px; }
.main-footer a { color: #cbd5e1; text-decoration: none; transition: color 0.3s; }
.main-footer a:hover { color: var(--primary); }
.main-footer ul { list-style: none; }
.main-footer li { margin-bottom: 12px; }

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 30px 0;
}

/* Sticky Mobile Call */
.sticky-call {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--action);
    z-index: 1001;
    display: none;
}

.sticky-call a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    padding: 15px;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Technical Table */
.technical-table-container { margin: 40px 0; overflow-x: auto; }
.tech-table { width: 100%; border-collapse: collapse; background: var(--bg-white); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.tech-table th, .tech-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid #eee; }
.tech-table th { background: var(--primary); color: white; }
.tech-table tr:last-child td { border-bottom: none; }

/* Lists */
.check-list { list-style: none; }
.check-list li { margin-bottom: 15px; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.check-list i { color: var(--primary); font-size: 1.2rem; }

/* Pulse Animation */
.pulse { display: inline-block; width: 10px; height: 10px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 0 rgba(34,197,94, 0.4); animation: pulse 2s infinite; margin-right: 10px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(34,197,94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94, 0); } }

/* Grid Alts */
.intro-grid, .about-grid-alt, .contact-full-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.services-alt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.service-alt-card { padding: 40px; border-top: 4px solid var(--primary); }
.alt-icon { font-size: 3rem; color: var(--primary); margin-bottom: 20px; }

/* Protocol Logic */
.process-grid-detailed { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
    gap: 30px; 
    margin-top: 50px; 
}
.process-box {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid #f1f5f9;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}
.process-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}
.process-box .num {
    position: absolute;
    top: -20px;
    left: 40px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    border: 4px solid var(--bg-white);
    box-shadow: var(--shadow);
}
.process-box h4 { margin-top: 15px; margin-bottom: 10px; font-size: 1.25rem; }

/* Contact Form Overhaul */
.contact-form-area { padding: 50px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; color: var(--text-main); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 1rem;
    transition: all 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.1);
}

/* About Layout Fix */
.about-main .intro-image-container img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.founder-box { text-align: center; }
.founder-box img { max-width: 100%; height: auto; transition: transform 0.5s; }
.founder-box:hover img { transform: scale(1.02); }

/* Responsive */
@media (max-width: 992px) {
    .sidebar-layout, .intro-grid, .about-grid-alt, .contact-full-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: flex; }
    .hero { text-align: center; }
    .hero-btns { justify-content: center; flex-direction: column; }
    .sticky-call { display: block; }
    body { padding-bottom: 60px; }
    .footer-grid { grid-template-columns: 1fr; }
}
