:root {
    /* Base Color: #1e1f26 */
    --primary-color: #1e1f26;
    --secondary-color: #242731;
    --tertiary-color: #2a2d34;

    /* Blue Accents */
    --accent-blue: #4f87ff;
    --accent-blue-hover: #3d75ff;
    --accent-blue-light: #6b95ff;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b4b9c7;
    --text-muted: #8b92a5;
    --text-accent: #4f87ff;

    /* Background Colors */
    --bg-primary: #1e1f26;
    --bg-secondary: #242731;
    --bg-card: #2a2d34;
    --bg-card-hover: #303440;

    /* Border Colors */
    --border-primary: #3a3f4a;
    --border-accent: #4f5462;

    /* Gradients */
    --gradient-hero: linear-gradient(
        135deg,
        #1e1f26 0%,
        #242731 100%
    );
    --gradient-card: linear-gradient(
        145deg,
        #2a2d34 0%,
        #242731 100%
    );

    /* Shadows */
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md:
        0 4px 6px -1px rgba(0, 0, 0, 0.15),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg:
        0 10px 15px -3px rgba(0, 0, 0, 0.2),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-colored:
        0 4px 6px -1px rgba(79, 135, 255, 0.2),
        0 2px 4px -1px rgba(79, 135, 255, 0.1);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Icon Styling */
i {
    color: var(--text-primary);
}

/* Navigation icons */
nav i,
.mobile-menu-btn i {
    color: var(--text-primary);
}

/* Help modal icons */
.help-modal i {
    color: var(--text-accent);
}

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

body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    scroll-behavior: smooth;
}

/* Header Styles */
header {
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--secondary-color) 100%
    );
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-lg);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo i {
    font-size: 2rem;
    color: var(--accent-color);
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.logo .subtitle {
    font-size: 0.875rem;
    opacity: 0.9;
    font-weight: 400;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: var(--transition);
    position: relative;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--accent-blue);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
    left: 0;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    color: var(--text-primary);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(79, 135, 255, 0.1) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-blue);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-colored);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button:hover {
    background: var(--accent-blue-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--accent-blue);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-primary);
    position: relative;
    overflow: hidden;
    min-height: 100%;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-blue);
    transform: scaleX(0);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Services List */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    list-style: none;
    margin-top: 2rem;
}

.service-item {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    border-left: 4px solid var(--accent-color);
}

.service-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-lg);
}

.service-item i {
    font-size: 1.25rem;
    color: var(--accent-blue);
    margin-right: 0.75rem;
}

.service-item span {
    font-weight: 500;
}

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

.contact-card {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-primary);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
}

.contact-card i {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-card a {
    color: var(--text-accent);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Footer */
footer {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-primary);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-primary);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-blue);
}

.footer-bottom {
    border-top: 1px solid var(--border-primary);
    padding-top: 2rem;
    margin-top: 2rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        box-shadow: var(--shadow-lg);
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        width: 100%;
    }

    nav a {
        width: 100%;
        padding: 1rem;
        text-align: center;
        border-radius: 0.25rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    main {
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.75rem;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .card {
        padding: 1.5rem;
    }

    .contact-card {
        padding: 1.5rem;
    }
}

/* Help FAB Styles */
.help-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    box-shadow:
        0 3px 5px -1px rgba(0, 0, 0, 0.2),
        0 6px 10px 0 rgba(0, 0, 0, 0.14),
        0 1px 18px 0 rgba(0, 0, 0, 0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    font-size: 24px;
}

.help-fab:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
    box-shadow:
        0 5px 5px -3px rgba(0, 0, 0, 0.2),
        0 8px 10px 1px rgba(0, 0, 0, 0.14),
        0 3px 14px 2px rgba(0, 0, 0, 0.12);
}

.help-fab:active {
    transform: scale(0.95);
}

/* Help Modal Styles */
.help-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.help-modal.show {
    opacity: 1;
    visibility: visible;
}

.help-modal-content {
    background: var(--bg-card);
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow:
        0 11px 15px -7px rgba(0, 0, 0, 0.2),
        0 24px 38px 3px rgba(0, 0, 0, 0.14),
        0 9px 46px 8px rgba(0, 0, 0, 0.12);
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.help-modal.show .help-modal-content {
    transform: scale(1) translateY(0);
}

.help-modal-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.help-modal-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.help-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.help-modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.help-modal-body {
    padding: 24px;
}

.help-item {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.help-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.help-item h4 {
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.help-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.875rem;
}

@media (max-width: 480px) {
    .help-fab {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .help-modal-content {
        margin: 10px;
        max-height: 90vh;
    }

    .help-modal-header {
        padding: 16px 16px 12px;
    }

    .help-modal-body {
        padding: 16px;
    }
}

/* Clickable Card Styles */
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-link:hover {
    transform: translateY(-4px);
}

.card-link .card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-link:hover .card {
    transform: none;
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-link .card-icon {
    transition: all 0.3s ease;
}

.card-link:hover .card-icon {
    color: var(--accent-blue);
    transform: scale(1.1);
}
