/* ============================================================================
    DESIGN SYSTEM
    ============================================================================ */
:root {
    /* Font Sizes */
    --fsize-1: 0.75rem;
    --fsize-2: 0.875rem;
    --fsize-3: 1rem;
    --fsize-4: 1.125rem;
    --fsize-5: 1.25rem;
    --fsize-6: 1.5rem;
    --fsize-7: 2rem;
    --fsize-8: 2.5rem;
    --fsize-9: 3rem;
    --fsize-10: 4rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;

    /* Colors */
    --color-primary: #EE2F3E;
    --color-secondary: #132735;
    --color-accent: #000000;
    --color-text: #64748b;
    --color-bg1: #132735;
    --color-bg2: #101D28;
    --color-bg3: #334155;
    --color-bg4: #475569;
    --color-light: #ffffff;
    --color-dark: #000000;

    /* Max Width */
    --max-width: 100%;
}

@media (min-width: 576px) {
    :root { --max-width: 33.75rem; }
}
@media (min-width: 768px) {
    :root { --max-width: 45rem; }
}
@media (min-width: 992px) {
    :root { --max-width: 60rem; }
}
@media (min-width: 1200px) {
    :root { --max-width: 71.25rem; }
}

/* ============================================================================
    BASE RESET & TYPOGRAPHY
    ============================================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: var(--color-bg1);
    color: var(--color-text);
    line-height: 1.6;
}

h1 { font-size: var(--fsize-9); color: var(--color-light); font-weight: 700; line-height: 1.2; }
h2 { font-size: var(--fsize-7); color: var(--color-light); font-weight: 700; line-height: 1.3; }
h3 { font-size: var(--fsize-6); color: var(--color-light); font-weight: 600; line-height: 1.4; }
h4 { font-size: var(--fsize-5); color: var(--color-light); font-weight: 600; }
p { font-size: var(--fsize-3); color: var(--color-text); line-height: 1.7; }

/* ============================================================================
    LAYOUT UTILITIES
    ============================================================================ */
.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1;
}

.content-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* ============================================================================
    SWCI SCAFFOLDING
    ============================================================================ */
.img-txt-c {
    display: flex;
    gap: var(--space-8);
    align-items: center;
}

.img-txt-i {
    flex: 1;
}


/* ============================================================================
    HERO SECTION
    ============================================================================ */
.hero-s {
    background: linear-gradient(135deg, var(--color-bg1) 0%, #000000da 100%), url(../images/Dispersion\ Cube\ v6png.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-16) 0;
}

.hero-c {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-6);
    z-index: 1;
}

.hero-i h1 {
    background-clip: text;
    text-transform: uppercase;
}

.hero-i p {
    font-size: var(--fsize-5);
    max-width: 600px;
    color: white;
    margin: 0 auto var(--space-6);
    padding: 1rem;
    border-radius: 13px;
}

.hero-i span{
    color: var(--color-primary);
}

.hero-i img {
    width: 30rem;
    margin-bottom: 5rem;
}

@media (max-width:768px){
    .hero-i img{
        width: 20rem;
        margin-top: 2rem;
    }
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    justify-content: center;
}

/* ============================================================================
    BUTTONS
    ============================================================================ */
.btn {
    padding: var(--space-4) var(--space-6);
    border: none;
    font-size: var(--fsize-3);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-light);
}

.btn-outline {
    background: transparent;
    border: 1px solid white;
    color: var(--color-light);
    min-width: 200px;
    text-transform: uppercase;
}



/* ============================================================================
    SERVICE SECTIONS
    ============================================================================ */
.services-s {
    padding: var(--space-16) 0;
    background: var(--color-bg2);
}

.services-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.services-header h2 {
    margin-bottom: var(--space-4);
    text-transform: uppercase;
}

.services-header p {
    font-size: var(--fsize-4);
    max-width: 700px;
    margin: 0 auto;
    text-transform: uppercase;
}

.service-cards-c {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.service-card {
    background: var(--color-bg1);
    border: 1px solid var(--color-bg3);
    border-radius: 12px;
    padding: var(--space-6);
    transition: all 0.3s ease;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    font-size: var(--fsize-7);
}

.service-card h3 {
    margin-bottom: var(--space-3);
    color: #EE2F3E;
    text-transform: uppercase;
}

.service-card p {
    margin-bottom: var(--space-4);
    color: white;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: var(--space-2) 0;
    color: var(--color-text);
    font-size: var(--fsize-2);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.service-features li::before {
    content: '✓';
    color: var(--color-primary);
    font-weight: bold;
}

/* ============================================================================
    PRICING SECTION
    ============================================================================ */
.pricing-s {
    padding: var(--space-16) 0;
    background: var(--color-bg1);
}

.pricing-cards-c {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.pricing-card {
    background: var(--color-bg2);
    border: 2px solid var(--color-bg3);
    border-radius: 12px;
    padding: var(--space-8);
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    transform: scale(1.05);
}

.pricing-card h3 {
    margin-bottom: var(--space-3);
}

.pricing-amount {
    font-size: var(--fsize-8);
    color: var(--color-primary);
    font-weight: 700;
    margin: var(--space-4) 0;
}

.pricing-period {
    font-size: var(--fsize-2);
    color: var(--color-text);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: var(--space-6) 0;
    text-align: left;
}

.pricing-features li {
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-bg3);
}

/* ============================================================================
    TECH STACK SECTION
    ============================================================================ */
.tech-s {
    padding: var(--space-16) 0;
    background: var(--color-bg2);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.tech-item {
    background: var(--color-bg1);
    border: 1px solid var(--color-bg3);
    border-radius: 12px;
    padding: var(--space-5);
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.tech-icon {
    font-size: var(--fsize-8);
    margin-bottom: var(--space-3);
}

.tech-name {
    color: var(--color-light);
    font-weight: 600;
    font-size: var(--fsize-2);
}

/* ============================================================================
    CONTACT SECTION
    ============================================================================ */
.contact-s {
    padding: var(--space-16) 0;
    background: var(--color-bg1);
}

.contact-c {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    margin-bottom: var(--space-2);
    font-size: var(--fsize-3);
    color: var(--color-light);
    font-weight: 500;
}

input, textarea, select {
    width: 100%;
    padding: var(--space-4);
    border: 1px solid var(--color-bg3);
    border-radius: 8px;
    font-size: var(--fsize-3);
    background: var(--color-bg2);
    color: var(--color-light);
    font-family: inherit;
    transition: border-color 0.2s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--color-primary);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

/* ============================================================================
    FOOTER
    ============================================================================ */
.footer-s {
    background: var(--color-bg2);
    border-top: 1px solid var(--color-bg3);
    padding: var(--space-8) 0;
    margin-top: auto;
}

.footer-c {
    display: flex;
    justify-content: space-v;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-text {
    color: var(--color-text);
    font-size: var(--fsize-2);
}

.footer-links {
    display: flex;
    gap: var(--space-6);
    list-style: none;
}

.footer-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: var(--fsize-2);
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--color-primary);
}

/* ============================================================================
    RESPONSIVE
    ============================================================================ */
@media (max-width: 767px) {
    h1 { font-size: var(--fsize-7); }
    h2 { font-size: var(--fsize-6); }
    
    .nav-links {
        display: none;
    }
    
    .hero-s {
        min-height: 70vh;
        padding: var(--space-12) 0;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .img-txt-c {
        flex-direction: column;
    }
    
    .service-cards-c,
    .pricing-cards-c {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .footer-c {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================================
    SCROLLBAR
    ============================================================================ */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg2);
}
::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary);
}