/* 
    Techsys Infonet Custom Styles
    Premium SaaS Aesthetic 
*/

:root {
    --primary-color: #4f46e5;      /* Indigo */
    --primary-dark: #4338ca;
    --primary-light: #e0e7ff;
    --secondary-color: #64748b;
    --dark-color: #0f172a;         /* Slate 900 */
    --light-color: #f8fafc;        /* Slate 50 */
    --body-text: #334155;
    
    --success-color: #10b981;
    --success-light: #d1fae5;
    --warning-color: #f59e0b;
    --warning-light: #fef3c7;
    --danger-color: #ef4444;
    --danger-light: #fee2e2;
    --info-color: #0ea5e9;
    --info-light: #e0f2fe;

    --font-primary: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-primary);
    color: var(--body-text);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Typography Utility */
.tracking-wide { letter-spacing: 0.1em; }
.max-w-700 { max-width: 700px; }
.max-w-300 { max-width: 300px; }
.text-sm { font-size: 0.875rem; }

/* Custom Colors & Utilities */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-primary-subtle { background-color: var(--primary-light) !important; }
.btn-primary { 
    background-color: var(--primary-color); 
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism Navbar */
.glass-nav {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    transition: var(--transition);
}
.glass-nav.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}
.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-color);
    padding: 0.5rem 1rem;
    transition: var(--transition);
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 100px;
    background: radial-gradient(circle at 100% 0%, #f3e8ff 0%, #ffffff 50%);
    position: relative;
    overflow: hidden;
}
.hero-title {
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Floating Elements in Hero */
.hero-illustration {
    position: relative;
    z-index: 2;
}
.floating-card {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    animation: float 4s ease-in-out infinite;
    z-index: 3;
}
.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}
.card-2 {
    bottom: 20%;
    right: -5%;
    animation-delay: 2s;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
.blob-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #e0e7ff 0%, #f3e8ff 100%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph 8s ease-in-out infinite alternate;
    z-index: 1;
    opacity: 0.6;
}
@keyframes morph {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* Custom Padding Utilities */
.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}
.pt-6 {
    padding-top: 6rem;
}

/* Cards & Hover Effects */
.product-card {
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}
.transition-transform {
    transition: transform 0.3s ease;
}
.learn-more-link:hover i {
    transform: translateX(5px);
}

/* Dark Feature Cards */
.feature-dark-card {
    transition: var(--transition);
}
.feature-dark-card:hover {
    background-color: #1e293b !important;
    border-color: var(--primary-color) !important;
    transform: translateY(-5px);
}

/* Industry Cards */
.industry-card {
    cursor: pointer;
}
.industry-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color) !important;
}

/* Tech Logos */
.tech-logo {
    transition: var(--transition);
    filter: grayscale(100%);
    opacity: 0.6;
}
.tech-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* FAQ Accordion */
.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--primary-color);
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

/* Contact Section */
.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(79, 70, 229, 0.25);
    border-color: var(--primary-color);
}

/* Footer */
footer .text-secondary {
    color: #ffffff !important;
}

.footer-links a {
    transition: var(--transition);
}
.footer-links a:hover {
    color: white !important;
    padding-left: 5px;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hero-title { font-size: 3rem; }
    .hero-section { min-height: auto; padding-top: 120px; padding-bottom: 60px; }
    .card-1, .card-2 { display: none; } /* Hide floating cards on mobile to avoid overflow */
}
