/* 
    ARMISTECH - Main Styles
    Colors: Teal (#00CED1), Dark (#0A0A0A), White (#FFFFFF)
*/

:root {
    --primary: #00CED1;
    --primary-dark: #008b8b;
    --bg-dark: #0A0A0A;
    --bg-alt: #121212;
    --text-white: #FFFFFF;
    --text-gray: #B0B0B0;
    --card-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 100px 0;
}

.bg-alt {
    background-color: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}



/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: var(--transition);
}

header.active {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary);
}

.tech-icon {
    color: var(--primary);
    margin-right: 8px;
    font-size: 1.2rem;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-gray);
}

nav ul li a:hover {
    color: var(--primary);
}

#btn-mobile {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 206, 209, 0.4);
}

.btn-secondary {
    border-color: var(--text-white);
}

.btn-secondary:hover {
    background-color: var(--text-white);
    color: var(--bg-dark);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-dark);
}

.w-full {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--primary);
    text-shadow: 0 0 30px rgba(0, 206, 209, 0.3);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-bg-accent {
    position: absolute;
    top: 20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 206, 209, 0.15) 0%, transparent 70%);
    filter: blur(50px);
}

/* About Section */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.15rem;
    margin-bottom: 20px;
    color: var(--text-gray);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(0, 206, 209, 0.05);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.highlight {
    border-color: var(--primary);
    background: rgba(0, 206, 209, 0.03);
    transform: scale(1.05);
    z-index: 5;
}

.pricing-card.highlight:hover {
    background: rgba(0, 206, 209, 0.07);
}

.pricing-card .tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--bg-dark);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
}

.plan-header h3 {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.plan-header .price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-white);
}

.plan-features {
    margin-bottom: 30px;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li i {
    color: var(--primary);
    font-size: 0.8rem;
}

.plan-payment {
    text-align: center;
    margin-bottom: 25px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.pricing-card:hover .plan-payment {
    opacity: 1;
    transform: translateY(0);
}

.plan-payment small {
    font-size: 0.75rem;
    color: var(--primary);
}

/* Process Section */
.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
}

.step-num {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(0, 206, 209, 0.1);
    margin-bottom: -30px;
    line-height: 1;
}

.step h4 {
    margin-bottom: 10px;
    color: var(--primary);
}

.step p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 30px;
    background: linear-gradient(transparent, rgba(10, 10, 10, 0.95));
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-info h3 {
    margin-bottom: 5px;
}

.portfolio-info p {
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.btn-link {
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: 1px solid var(--primary);
    padding-bottom: 2px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-info h2 span {
    color: var(--primary);
}

.contact-info p {
    margin-bottom: 40px;
    color: var(--text-gray);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.info-item i {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    border: 1px solid var(--glass-border);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.contact-form-wrapper {
    background: var(--bg-alt);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
}

.input-group {
    margin-bottom: 20px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-white);
    font-family: inherit;
    transition: var(--transition);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 206, 209, 0.05);
}

/* Phone Input Styles */
.iti {
    width: 100%;
    margin-bottom: 20px;
}

.iti__country-list {
    background-color: var(--bg-alt);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
}

.iti__country:hover {
    background-color: var(--primary);
    color: var(--bg-dark);
}

.iti__selected-dial-code {
    color: var(--text-white);
}

.iti--separate-dial-code .iti__selected-flag {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 12px 0 0 12px;
    border: 1px solid var(--glass-border);
    border-right: none;
}

#telefone {
    padding-left: 100px !important;
    /* Adjust if dial code overlaps */
}

/* FooterStyles */
footer {
    padding: 100px 0 50px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-about .logo {
    margin-bottom: 20px;
}

.footer-about p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 25px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer-links ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 40px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #666;
}

/* Floating WhatsApp */
.float-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.float-whatsapp:hover {
    transform: scale(1.1);
}


/* Portfolio Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    background: var(--bg-alt);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    overflow: hidden;
    z-index: 10;
    animation: modalFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.modal-close:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.modal-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    min-height: 500px;
}

.modal-gallery {
    background: #000;
    position: relative;
    display: flex;
    flex-direction: column;
}

.gallery-main {
    flex-grow: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    overflow-x: auto;
}

.thumb {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);
    border: 2px solid transparent;
}

.thumb.active {
    opacity: 1;
    border-color: var(--primary);
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details {
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-details h2 {
    font-size: 2.2rem;
}

.project-meta {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.project-description {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.8;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-gray);
    border: 1px solid var(--glass-border);
}

@media (max-width: 900px) {
    .modal-content {
        grid-template-columns: 1fr;
    }

    .modal-container {
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-details {
        padding: 30px;
    }

    .gallery-main {
        height: 300px;
    }
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    #btn-mobile {
        display: block;
    }

    #menu {
        display: none;
        position: absolute;
        width: 100%;
        top: 70px;
        left: 0;
        background: var(--bg-dark);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        border-bottom: 1px solid var(--glass-border);
    }

    #nav.active #menu {
        display: flex;
    }

    .hero {
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .hero-bg-accent {
        width: 300px;
        height: 300px;
    }

    .pricing-card.highlight {
        transform: scale(1);
        margin: 20px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info h2 {
        font-size: 2.2rem;
    }
}