/* ================================================
   EXPERTLY WEBSITE - MODERN FINTECH CYBERSECURITY
   ================================================ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Monochrome with Blue Accent */
    --primary-black: #0a0a0a;
    --secondary-black: #1a1a1a;
    --dark-gray: #2a2a2a;
    --medium-gray: #4a4a4a;
    --light-gray: #8a8a8a;
    --lighter-gray: #c4c4c4;
    --off-white: #f8f9fa;
    --pure-white: #ffffff;
    --primary-blue: #2563eb;
    --light-blue: #3b82f6;
    --blue-hover: #1d4ed8;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 0 2rem;
    --max-width: 1200px;
    
    /* Effects */
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --card-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--pure-white);
    font-weight: var(--font-weight-normal);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ===============================
   NAVIGATION
   =============================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(42, 42, 42, 0.1);
    transition: var(--transition);
}

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

.nav-brand h1 {
    font-size: 1.8rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-black);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--medium-gray);
    font-weight: var(--font-weight-medium);
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ===============================
   HERO SECTION
   =============================== */

.hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, var(--pure-white) 0%, var(--off-white) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(37, 99, 235, 0.03) 100%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-black);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--medium-gray);
    margin-bottom: 2.5rem;
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===============================
   BUTTONS
   =============================== */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    font-size: 0.95rem;
    border-radius: 8px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--pure-white);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-black);
    color: var(--pure-white);
    transform: translateY(-2px);
}

/* ===============================
   SECTIONS
   =============================== */

section {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-black);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* ===============================
   SOLUTIONS SECTION
   =============================== */

.solutions {
    background: var(--off-white);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: var(--pure-white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(42, 42, 42, 0.05);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: grayscale(0.3);
}

.solution-card h3 {
    font-size: 1.4rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.solution-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* ===============================
   TECHNOLOGY SECTION
   =============================== */

.technology {
    background: var(--pure-white);
}

.tech-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.tech-content h2 {
    font-size: 2.2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-black);
    margin-bottom: 1.5rem;
}

.tech-content > p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.tech-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
}

.feature h4 {
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* ===============================
   ABOUT SECTION
   =============================== */

.about {
    background: var(--off-white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 3rem;
    line-height: 1.7;
}

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

.stat {
    padding: 1.5rem;
}

.stat h3 {
    font-size: 1.3rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--medium-gray);
}

/* ===============================
   CONTACT SECTION
   =============================== */

.contact {
    background: var(--pure-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    color: var(--medium-gray);
}

.contact-item strong {
    color: var(--primary-black);
}

.contact-form {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 12px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem;
    margin-bottom: 1rem;
    border: 2px solid rgba(42, 42, 42, 0.1);
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--pure-white);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ===============================
   FOOTER
   =============================== */

.footer {
    background: var(--primary-black);
    color: var(--pure-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
    color: var(--pure-white);
}

.footer-section p {
    color: var(--lighter-gray);
    line-height: 1.6;
}

.footer-section a {
    display: block;
    color: var(--lighter-gray);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid var(--dark-gray);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .nav-menu {
        display: none; /* Simplified for mobile */
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .solution-card {
        padding: 2rem 1.5rem;
    }
}

/* ===============================
   SMOOTH SCROLLING
   =============================== */

html {
    scroll-behavior: smooth;
}

/* Loading Animation */
body {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
