/* ===================================
   Services Page Styles
   NEON BLUE THEME
   =================================== */

.services-main {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1425 100%);
    min-height: 100vh;
}

.services-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===================================
   Hero Section
   =================================== */

.services-hero {
    padding: 6rem 1rem;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 9999px;
    filter: blur(3rem);
    margin-right: -12rem;
    margin-top: -12rem;
    z-index: 0;
}

.services-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24rem;
    height: 24rem;
    background: rgba(34, 211, 238, 0.1);
    border-radius: 9999px;
    filter: blur(3rem);
    margin-left: -12rem;
    margin-bottom: -12rem;
    z-index: 0;
}

.services-hero-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.services-hero h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInDown 0.8s ease-out;
    text-shadow: 0 0 30px rgba(34, 211, 238, 0.3);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #cffafe;
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    line-height: 1.6;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    color: #cffafe;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.badge svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #22d3ee;
    stroke: #22d3ee;
}

/* ===================================
   Services Grid Section
   =================================== */

.services-grid-section {
    padding: 6rem 1rem;
    border-top: 1px solid rgba(34, 211, 238, 0.2);
}

.services-grid-section .services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-detail-card {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.4) 0%, rgba(30, 41, 59, 0.3) 100%);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 6rem;
    height: 6rem;
    background: rgba(34, 211, 238, 0.05);
    border-radius: 9999px;
    filter: blur(2rem);
    z-index: 0;
}

.service-detail-card:hover {
    border-color: rgba(34, 211, 238, 0.5);
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.6) 0%, rgba(30, 41, 59, 0.5) 100%);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.2);
    transform: translateY(-8px);
}

.card-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(34, 211, 238, 0.1);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 211, 238, 0.15);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.service-detail-card:hover .service-icon {
    background: rgba(34, 211, 238, 0.25);
    transform: scale(1.05) rotate(-2deg);
}

.service-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: #22d3ee;
    stroke: #22d3ee;
}

.card-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.card-body {
    padding: 2rem;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.service-info-block {
    margin-bottom: 2rem;
}

.info-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #22d3ee;
    margin-bottom: 0.75rem;
}

.service-info-block > p {
    color: #cffafe;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.service-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-list li {
    color: #cffafe;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 1.75rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22d3ee;
    font-weight: 700;
    font-size: 1.1rem;
}

.service-details-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(34, 211, 238, 0.05);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(207, 250, 254, 0.7);
    margin-bottom: 0.5rem;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #22d3ee;
}

.service-note {
    background: rgba(239, 68, 68, 0.05);
    border-left: 3px solid #fca5a5;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #fca5a5;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 1rem;
}

.card-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(34, 211, 238, 0.1);
    position: relative;
    z-index: 1;
}

.service-cta {
    display: inline-block;
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.2), rgba(59, 130, 246, 0.2));
    border: 1px solid rgba(34, 211, 238, 0.4);
    color: #22d3ee;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-cta:hover {
    background: linear-gradient(90deg, #06b6d4, #3b82f6);
    color: white;
    border-color: #06b6d4;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
    transform: translateY(-2px);
}

/* ===================================
   Why Services Section
   =================================== */

.services-why-section {
    padding: 6rem 1rem;
    border-top: 1px solid rgba(34, 211, 238, 0.2);
    background: linear-gradient(to bottom, rgba(10, 14, 39, 0.3), transparent);
}

.why-content {
    max-width: 48rem;
    margin: 0 auto;
}

.services-why-section h2 {
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    text-align: center;
    margin-bottom: 2rem;
}

.services-why-section p {
    color: #cffafe;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

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

/* ===================================
   Legal Section
   =================================== */

.services-legal-section {
    padding: 6rem 1rem;
    border-top: 1px solid rgba(34, 211, 238, 0.2);
}

.legal-content {
    max-width: 1280px;
    margin: 0 auto;
}

.services-legal-section h2 {
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
}

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

.legal-item {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.3) 0%, rgba(30, 41, 59, 0.2) 100%);
    border: 1px solid rgba(34, 211, 238, 0.2);
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.legal-item:hover {
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.1);
    transform: translateY(-4px);
}

.legal-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #22d3ee;
    margin-bottom: 0.75rem;
}

.legal-item p {
    color: #cffafe;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ===================================
   FAQ Section
   =================================== */

.services-faq-section {
    padding: 6rem 1rem;
    border-top: 1px solid rgba(34, 211, 238, 0.2);
    background: linear-gradient(to bottom, rgba(10, 14, 39, 0.3), transparent);
}

.services-faq-section h2 {
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.3) 0%, rgba(30, 41, 59, 0.2) 100%);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.1);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 1.5rem;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #22d3ee;
}

.faq-question span {
    flex: 1;
}

.faq-question svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #22d3ee;
    stroke: #22d3ee;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    animation: slideDown 0.3s ease-out;
}

.faq-answer p {
    color: #cffafe;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Contact/CTA Section
   =================================== */

.services-contact-section {
    padding: 8rem 1rem;
    border-top: 1px solid rgba(34, 211, 238, 0.2);
    position: relative;
    overflow: hidden;
}

.services-contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(34, 211, 238, 0.05), rgba(59, 130, 246, 0.05), rgba(34, 211, 238, 0.05));
    z-index: 0;
}

.contact-content {
    max-width: 48rem;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.services-contact-section h2 {
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    text-align: center;
    margin-bottom: 1rem;
}

.services-contact-section > .services-container > p {
    text-align: center;
    color: #cffafe;
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.contact-form-wrapper {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.4) 0%, rgba(30, 41, 59, 0.3) 100%);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 1.5rem;
    padding: 2.5rem;
}

.services-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #cffafe;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(34, 211, 238, 0.3);
    color: #ffffff;
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    caret-color: #22d3ee;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(34, 211, 238, 0.5);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(34, 211, 238, 0.8);
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.2), inset 0 0 10px rgba(34, 211, 238, 0.05);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #0a0e27;
    color: #cffafe;
}

.btn-contact-submit {
    background: linear-gradient(90deg, #06b6d4, #3b82f6);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-contact-submit:hover {
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
    transform: translateY(-2px);
}

.btn-contact-submit:active {
    transform: translateY(0);
}

.form-note {
    color: rgba(207, 250, 254, 0.7);
    font-size: 0.85rem;
    text-align: center;
    margin: 1rem 0 0;
}

/* ===================================
   Animations
   =================================== */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ===================================
   Mobile Responsive - 768px
   =================================== */

@media (max-width: 768px) {
    .services-hero {
        padding: 4rem 1rem;
    }

    .services-hero h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .services-grid-section {
        padding: 4rem 1rem;
    }

    .services-grid-section .services-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services-why-section {
        padding: 4rem 1rem;
    }

    .services-legal-section {
        padding: 4rem 1rem;
    }

    .legal-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services-faq-section {
        padding: 4rem 1rem;
    }

    .services-contact-section {
        padding: 4rem 1rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .services-contact-form {
        gap: 1rem;
    }

    .btn-contact-submit {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ===================================
   Mobile Responsive - 480px
   =================================== */

@media (max-width: 480px) {
    .services-hero {
        padding: 2.5rem 0.75rem;
    }

    .services-hero h1 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

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

    .services-contact-section h2 {
        font-size: 1.25rem;
    }

    .contact-form-wrapper {
        padding: 1.25rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
    }
}

/* ===================================
   Accessibility
   =================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Touch Friendly */
@media (hover: none) and (pointer: coarse) {
    button, a, input, textarea, select {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(51, 65, 85, 0.3);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #06b6d4, #3b82f6);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #22d3ee, #60a5fa);
}
