/*
Theme Name: oosoft Pro
Theme URI: https://oosoft.co.in
Author: oosoft
Author URI: https://oosoft.co.in
Description: Professional corporate theme for oosoft — web hosting, eCommerce, cybersecurity, and ERP solutions. Built for speed, security, and conversions.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oosoft-pro
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
*/

/* ============================================================
   DESIGN SYSTEM — oosoft Pro Theme
   Typography: Plus Jakarta Sans (display) + DM Sans (body)
   Palette: Navy/Slate + Teal accent + Clean whites
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;700&display=swap');

:root {
    /* Colors */
    --navy: #0F1B2D;
    --navy-light: #1A2942;
    --navy-mid: #243B5C;
    --slate: #64748B;
    --slate-light: #94A3B8;
    --border: #E2E8F0;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --teal: #06D6A0;
    --teal-dark: #05B88A;
    --teal-glow: rgba(6, 214, 160, 0.15);
    --cyan: #0EA5E9;
    --red-accent: #EF4444;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --text-white: #F1F5F9;
    --text-white-muted: #CBD5E1;

    /* Typography */
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    --container-padding: 0 24px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 50px -12px rgba(0,0,0,0.12);
    --shadow-teal: 0 8px 30px rgba(6, 214, 160, 0.2);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    background: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 600; }

p { margin-bottom: 1em; }

a {
    color: var(--teal-dark);
    text-decoration: none;
    transition: var(--transition-fast);
}
a:hover { color: var(--teal); }

img { max-width: 100%; height: auto; display: block; }

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

/* ── Buttons ──────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    line-height: 1.4;
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.5);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--teal);
    color: var(--teal-dark);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--navy);
    color: var(--text-white);
}
.btn-dark:hover {
    background: var(--navy-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* ── Header / Navigation ──────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 27, 45, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(15, 27, 45, 0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 72px;
    max-width: 1400px;
    margin: 0 auto;
}

.site-logo img {
    height: 38px;
    width: auto;
}
.site-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
.site-logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
}
.site-logo-text span { color: var(--teal); }

/* Navigation */
.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav a,
.main-nav .menu-item > a {
    color: var(--text-white-muted);
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    text-decoration: none;
    display: block;
}
.main-nav a:hover,
.main-nav .menu-item > a:hover,
.main-nav .current-menu-item > a {
    color: white;
    background: rgba(255,255,255,0.06);
}

/* Dropdown */
.main-nav .menu-item-has-children { position: relative; }
.main-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--navy);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
    list-style: none;
}
.main-nav .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.main-nav .sub-menu a {
    padding: 10px 16px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}
.main-nav .sub-menu a:hover {
    background: rgba(6, 214, 160, 0.1);
    color: var(--teal);
}

.header-cta {
    margin-left: 12px;
}
.header-cta .btn {
    padding: 9px 22px;
    font-size: 0.85rem;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* ── Footer ──────────────────────────────────── */
.site-footer {
    background: var(--navy);
    color: var(--text-white-muted);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px 50px;
}

.footer-brand {
    padding-right: 20px;
}
.footer-brand .site-logo-text {
    font-size: 1.3rem;
    margin-bottom: 16px;
    display: block;
}
.footer-brand p {
    color: var(--slate-light);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: white;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    color: var(--slate-light);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}
.footer-col a:hover {
    color: var(--teal);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 24px;
    text-align: center;
    font-size: 0.82rem;
    color: var(--slate);
    max-width: var(--container-width);
    margin: 0 auto;
}

/* ── Section Patterns ──────────────────────────── */
.section { padding: var(--section-padding); }
.section-dark {
    background: var(--navy);
    color: var(--text-white);
}
.section-light { background: var(--bg-light); }
.section-white { background: var(--bg-white); }

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 50px;
}
.section-header .overline {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--teal);
    margin-bottom: 12px;
}
.section-dark .section-header h2 { color: white; }
.section-dark .section-header p { color: var(--text-white-muted); }
.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ── Card Patterns ──────────────────────────── */
.card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card-dark {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}
.card-dark:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(6, 214, 160, 0.2);
}

/* Card icon */
.card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
    background: var(--teal-glow);
}
.card-icon-blue { background: rgba(14, 165, 233, 0.1); }
.card-icon-red { background: rgba(239, 68, 68, 0.08); }

/* ── Badge / Tag ──────────────────────────── */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-teal { background: var(--teal-glow); color: var(--teal-dark); }
.badge-navy { background: rgba(15, 27, 45, 0.06); color: var(--navy); }

/* ── Responsive ──────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .menu-toggle { display: block; }

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        padding: 20px;
        transform: translateY(-110%);
        transition: var(--transition);
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .main-nav.active { transform: translateY(0); }
    .main-nav a { padding: 12px 16px; width: 100%; }
    .main-nav .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 16px;
    }

    .header-cta { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
}
