/* ============================================
   ITS Computer Repair - Landing Page Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    background-color: #0a0a0f;
    background-image:
        radial-gradient(ellipse at 20% 0%, rgba(0, 100, 200, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(0, 80, 180, 0.06) 0%, transparent 50%);
    color: #c8d0e0;
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Logo Section
   ============================================ */
.logo-section {
    text-align: center;
    padding: 50px 20px 30px;
}

.logo-img {
    max-width: 520px;
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 30px rgba(0, 120, 220, 0.15));
}

/* ============================================
   Headline Section
   ============================================ */
.headline-section {
    text-align: center;
    padding: 0 20px 10px;
}

.headline-section h1 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 300;
    color: #e8ecf2;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 18px;
}

.headline-section h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0078dc, transparent);
}

/* ============================================
   Welcome Section
   ============================================ */
.welcome-section {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 24px;
    text-align: center;
}

.welcome-title {
    font-size: 1.35rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 20px;
}

.welcome-section p {
    font-size: 1.05rem;
    color: #a0aec0;
    margin-bottom: 14px;
}

.welcome-section p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Feature Cards
   ============================================ */
.cards-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: linear-gradient(145deg, rgba(20, 25, 40, 0.9), rgba(12, 16, 28, 0.95));
    border: 1px solid rgba(0, 120, 220, 0.15);
    border-radius: 14px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0055aa, #0078dc, #0055aa);
    opacity: 0.7;
    transition: opacity 0.35s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 120, 220, 0.4);
    box-shadow: 0 12px 40px rgba(0, 80, 180, 0.15), 0 0 60px rgba(0, 120, 220, 0.05);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: #0078dc;
    transition: color 0.35s ease, transform 0.35s ease;
}

.card:hover .card-icon {
    color: #1a9fff;
    transform: scale(1.08);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card h3 {
    font-size: 1.15rem;
    font-weight: 500;
    color: #e8ecf2;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.card p {
    font-size: 0.95rem;
    color: #8899aa;
    line-height: 1.6;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 50px 24px 40px;
    text-align: center;
}

.contact-section h2 {
    font-size: 1.6rem;
    font-weight: 300;
    color: #e8ecf2;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.contact-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0078dc, transparent);
}

.contact-info {
    margin-bottom: 36px;
}

.company-name {
    font-size: 1.3rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 4px;
}

.company-sub {
    font-size: 0.95rem;
    color: #0078dc;
    margin-bottom: 18px;
    font-weight: 400;
}

.address {
    font-size: 1rem;
    color: #a0aec0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-detail {
    margin-bottom: 10px;
    font-size: 1rem;
}

.contact-detail .label {
    color: #8899aa;
    font-weight: 400;
    margin-right: 8px;
}

.contact-detail a {
    color: #1a9fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease;
}

.contact-detail a:hover {
    color: #4db8ff;
    text-decoration: underline;
}

/* ============================================
   Buttons
   ============================================ */
.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    min-width: 180px;
}

.btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn-primary {
    background: linear-gradient(135deg, #0055aa, #0078dc);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 120, 220, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0066cc, #1a9fff);
    box-shadow: 0 6px 28px rgba(0, 120, 220, 0.45);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #1a9fff;
    border: 2px solid rgba(0, 120, 220, 0.5);
    box-shadow: 0 2px 12px rgba(0, 80, 180, 0.1);
}

.btn-secondary:hover {
    background: rgba(0, 120, 220, 0.1);
    border-color: #1a9fff;
    color: #4db8ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(0, 120, 220, 0.2);
}

/* ============================================
   Closing Message
   ============================================ */
.closing-section {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 24px 30px;
    text-align: center;
}

.closing-section p {
    font-size: 1rem;
    color: #8899aa;
    font-style: italic;
    line-height: 1.8;
}

/* ============================================
   Footer
   ============================================ */
footer {
    text-align: center;
    padding: 30px 20px 40px;
    border-top: 1px solid rgba(0, 120, 220, 0.1);
    margin-top: 10px;
}

footer p {
    font-size: 0.85rem;
    color: #667788;
    margin-bottom: 4px;
}

footer p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 480px) {
    .logo-section {
        padding: 30px 16px 20px;
    }

    .welcome-section,
    .contact-section,
    .closing-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .cards-section {
        padding: 20px 16px 40px;
        gap: 16px;
    }

    .card {
        padding: 28px 20px;
    }

    .btn {
        padding: 14px 28px;
        min-width: 160px;
        font-size: 0.95rem;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (min-width: 768px) {
    .cards-section {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   Subtle ambient glow animation
   ============================================ */
@keyframes ambientGlow {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.7;
    }
}

body::before {
    content: '';
    position: fixed;
    top: -30%;
    left: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(0, 100, 200, 0.04), transparent 70%);
    pointer-events: none;
    z-index: -1;
    animation: ambientGlow 8s ease-in-out infinite;
}
