/*
 * Nerdware Coming Soon - Custom Styles
 * Brand Colors: #0e4444, #a4cab9, #45a685
 */

/* ===========================
   CSS Variables - Brand Colors
   =========================== */
:root {
    --color-primary: #0e4444;
    --color-secondary: #a4cab9;
    --color-accent: #45a685;
    --color-white: #ffffff;
    --color-white-75: rgba(255, 255, 255, 0.75);
    --color-white-50: rgba(255, 255, 255, 0.5);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===========================
   Global Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-primary) 0%, #0a3333 100%);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===========================
   Typography
   =========================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

.text-primary {
    color: var(--color-primary) !important;
}

.text-secondary-light {
    color: var(--color-secondary) !important;
}

.text-accent {
    color: var(--color-accent) !important;
}

.text-white-75 {
    color: var(--color-white-75) !important;
}

.text-white-50 {
    color: var(--color-white-50) !important;
}

/* ===========================
   Hero Section
   =========================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--color-primary) 0%, #0a3333 50%, #062828 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(69, 166, 133, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(164, 202, 185, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(69, 166, 133, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(30deg, rgba(69, 166, 133, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(69, 166, 133, 0.03) 87.5%, rgba(69, 166, 133, 0.03)),
        linear-gradient(150deg, rgba(69, 166, 133, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(69, 166, 133, 0.03) 87.5%, rgba(69, 166, 133, 0.03));
    background-size: 80px 140px;
    opacity: 0.3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.logo {
    max-width: 220px;
    height: auto;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25)) brightness(1.05);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 8px 16px rgba(69, 166, 133, 0.3)) brightness(1.1);
}

.hero-headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.01em;
    line-height: 1.15;
    font-weight: 800;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

.nerd-character {
    max-width: 70%;
    height: auto;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4));
    animation: float 6s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.nerd-character:hover {
    transform: scale(1.05);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Service Items */
.service-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid var(--color-accent);
    border: 1px solid rgba(69, 166, 133, 0.15);
    border-left: 4px solid var(--color-accent);
    backdrop-filter: blur(10px);
}

.service-item:hover {
    background: rgba(69, 166, 133, 0.2);
    transform: translateX(8px);
    border-color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(69, 166, 133, 0.2);
}

.service-item i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.service-item:hover i {
    transform: scale(1.1);
}

/* ===========================
   ERP Section
   =========================== */
.erp-section {
    background: linear-gradient(180deg, #0a3333 0%, var(--color-primary) 50%, #0a3333 100%);
    position: relative;
    padding: 4rem 0 !important;
}

.erp-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(69, 166, 133, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.erp-card {
    background: linear-gradient(135deg, #d0e7db 0%, var(--color-secondary) 50%, #c8e3d4 100%);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(69, 166, 133, 0.2);
}

.erp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--color-accent) 0%, #3d9273 50%, var(--color-primary) 100%);
}

.erp-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(69, 166, 133, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.erp-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 70px rgba(69, 166, 133, 0.35) !important;
    border-color: var(--color-accent);
}

.erp-card:hover::after {
    opacity: 1;
}

.erp-icon {
    font-size: 4rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.erp-icon i {
    display: inline-block;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.erp-card:hover .erp-icon i {
    animation: none;
    transform: scale(1.1) rotate(5deg);
}

.erp-card .card-title {
    color: var(--color-primary);
}

/* ===========================
   Buttons
   =========================== */
.btn-accent {
    background: linear-gradient(135deg, var(--color-accent) 0%, #3d9273 100%);
    color: var(--color-white);
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-accent::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-accent:hover::before {
    width: 400px;
    height: 400px;
}

.btn-accent:hover {
    background: linear-gradient(135deg, #3d9273 0%, var(--color-accent) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(69, 166, 133, 0.4) !important;
    color: var(--color-white);
}

.btn-accent:active {
    transform: translateY(0);
}

/* ===========================
   Social Media Section
   =========================== */
.social-section {
    background: linear-gradient(180deg, var(--color-primary) 0%, #0a3333 100%);
    position: relative;
}

.social-icons {
    gap: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    color: var(--color-accent);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--color-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.social-icon i {
    position: relative;
    z-index: 1;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: var(--color-accent);
    box-shadow: 0 10px 25px rgba(69, 166, 133, 0.3);
}

.social-icon:hover::before {
    width: 100px;
    height: 100px;
}

.social-icon:hover i {
    color: var(--color-white);
}

/* Specific social icon colors on hover */
.social-icon:nth-child(1):hover {
    /* Facebook */
    border-color: #1877f2;
}

.social-icon:nth-child(2):hover {
    /* Instagram */
    border-color: #e4405f;
}

.social-icon:nth-child(3):hover {
    /* LinkedIn */
    border-color: #0a66c2;
}

.social-icon:nth-child(4):hover {
    /* Behance */
    border-color: #1769ff;
}

.social-icon:nth-child(5):hover {
    /* YouTube */
    border-color: #ff0000;
}

.social-icon:nth-child(6):hover {
    /* WhatsApp */
    border-color: #25d366;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--color-primary);
    border-top: 3px solid var(--color-accent);
}

.footer-logo {
    max-width: 150px;
    height: auto;
    filter: brightness(1.1);
}

/* ===========================
   Responsive Design
   =========================== */

/* Tablets and small desktops */
@media (max-width: 991.98px) {
    .hero-headline {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }

    .nerd-character {
        max-width: 80%;
    }

    .erp-icon {
        font-size: 3rem;
    }

    .social-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
}

/* Mobile devices */
@media (max-width: 767.98px) {
    .hero-section {
        min-height: auto;
    }

    .hero-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .logo {
        max-width: 150px;
    }

    .hero-headline {
        font-size: 1.75rem;
    }

    .display-5 {
        font-size: 1.5rem;
    }

    .lead {
        font-size: 1rem;
    }

    .nerd-character {
        max-width: 60%;
        margin-top: 1.5rem;
    }

    .erp-card .card-body {
        padding: 2rem 1.5rem !important;
    }

    .erp-icon {
        font-size: 2.5rem;
    }

    .btn-accent {
        width: 100%;
        font-size: 1rem;
    }

    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .footer-logo {
        max-width: 120px;
    }

    .service-item {
        font-size: 0.95rem;
    }
}

/* Extra small devices */
@media (max-width: 575.98px) {
    .hero-headline {
        font-size: 1.5rem;
    }

    .display-5 {
        font-size: 1.25rem;
    }

    .erp-card .card-body {
        padding: 1.5rem 1rem !important;
    }

    .erp-card .card-title {
        font-size: 1.5rem;
    }

    .social-icons {
        gap: 0.75rem;
    }
}

/* ===========================
   Accessibility
   =========================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .nerd-character {
        animation: none;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
.btn:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* ===========================
   Utility Classes
   =========================== */
.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3) !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.2) !important;
}