/* ============================================
   RSA LANDING PAGE - MAIN STYLESHEET
   Design: Tech-Forward Minimalism
   Colors: Navy (#0a1628) + Cyan (#00d9ff)
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a1628;
    color: #f0f4f8;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: #00d9ff;
    color: #0a1628;
}

.btn-primary:hover {
    background-color: #00b8d4;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 217, 255, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #00d9ff;
    border: 2px solid #00d9ff;
}

.btn-outline:hover {
    background-color: rgba(0, 217, 255, 0.1);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 22, 40, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1a3a4a;
    z-index: 1000;
}

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

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.navbar-logo-img {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
}

.logo-text {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-links a {
    color: #f0f4f8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.navbar-links a:hover {
    color: #00d9ff;
}

@media (max-width: 768px) {
    .navbar-links {
        gap: 1rem;
    }

    .navbar-links a {
        display: none;
    }

    .navbar-links .btn {
        display: inline-block;
    }
}

/* Hero Section */
.hero {
    position: relative;
    margin-top: 4rem;
    padding: 4rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663355817227/AJ8mDFc5mXr8qEHjUjE8ZQ/hero-bg-R3msSeoJjvUwf2uBFCejGb.webp');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #0a1628, rgba(10, 22, 40, 0.5), transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-left {
    animation: fadeInUp 0.8s ease;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 0.5rem;
    color: #00d9ff;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title .accent {
    color: #00d9ff;
}

.hero-description {
    font-size: 1.1rem;
    color: #a0b0c0;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #1a3a4a;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00d9ff;
}

.stat-label {
    font-size: 0.85rem;
    color: #a0b0c0;
}

.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-card {
    width: 16rem;
    height: 16rem;
    background-color: #0f1f2e;
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 217, 255, 0.1), transparent);
    pointer-events: none;
}

.hero-logo {
    width: 5rem;
    height: 5rem;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.hero-card p {
    font-size: 0.95rem;
    color: #a0b0c0;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .hero-right {
        display: none;
    }
}

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

/* Dividers */
.divider {
    height: 5rem;
    background-color: #0a1628;
    overflow: hidden;
    position: relative;
}

.divider svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: #0f1f2e;
}

.divider-reverse {
    background-color: #0f1f2e;
}

.divider-reverse svg {
    fill: #0a1628;
}

/* Services Section */
.services {
    background-color: #0f1f2e;
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #a0b0c0;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background-color: #0a1628;
    border: 1px solid #1a3a4a;
    border-radius: 0.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #00d9ff;
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.1);
    transform: translateY(-4px);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 217, 255, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: rgba(0, 217, 255, 0.2);
}

.service-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #00d9ff;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: #a0b0c0;
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials {
    background-color: #0a1628;
    padding: 5rem 0;
}

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

.testimonial-card {
    background-color: #0f1f2e;
    border: 1px solid #1a3a4a;
    border-radius: 0.5rem;
    padding: 2rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    color: #00d9ff;
    font-size: 1rem;
}

.testimonial-text {
    color: #a0b0c0;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

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

.author-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(0, 217, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d9ff;
    font-weight: 700;
    font-size: 0.85rem;
}

.author-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.author-role {
    font-size: 0.8rem;
    color: #a0b0c0;
}

/* Contact Section */
.contact {
    background-color: #0f1f2e;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 39px,
            rgba(0, 217, 255, 0.03) 39px,
            rgba(0, 217, 255, 0.03) 40px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 39px,
            rgba(0, 217, 255, 0.03) 39px,
            rgba(0, 217, 255, 0.03) 40px
        );
    pointer-events: none;
}

.contact-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: #a0b0c0;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

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

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 217, 255, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #00d9ff;
}

.contact-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-value {
    color: #a0b0c0;
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: #0a1628;
    border: 1px solid #1a3a4a;
    border-radius: 0.5rem;
    padding: 2rem;
}

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

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

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    background-color: #0f1f2e;
    border: 1px solid #1a3a4a;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: #f0f4f8;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d9ff;
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: rgba(0, 217, 255, 0.1);
    color: #00d9ff;
    border: 1px solid rgba(0, 217, 255, 0.3);
    display: block;
}

.form-message.error {
    background-color: rgba(255, 68, 68, 0.1);
    color: #ff4444;
    border: 1px solid rgba(255, 68, 68, 0.3);
    display: block;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background-color: #0a1628;
    border-top: 1px solid #1a3a4a;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #a0b0c0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #00d9ff;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-logo-img {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
}

.footer-section p {
    color: #a0b0c0;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid #1a3a4a;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #a0b0c0;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #a0b0c0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00d9ff;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

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