/* =========================
   Global Styles & Variables
   ========================= */
:root {
    --color-navy: #0F1A2B;
    --color-emerald: #1CAF5D;
    --color-light-gray: #F5F7FA;
    --color-dark-gray: #1F2937;
    --color-white: #FFFFFF;
    --color-text-body: #4B5563;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-body);
    background-color: var(--color-light-gray);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-navy);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================
   Utilities
   ========================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.text-center {
    text-align: center;
}

.text-navy {
    color: var(--color-navy);
}

.text-emerald {
    color: var(--color-emerald);
}

.bg-navy {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.bg-white {
    background-color: var(--color-white);
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(1, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(1, 1fr);
}

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

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========================
   Buttons
   ========================= */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-emerald);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #168f4b;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-navy);
    color: var(--color-navy);
}

.btn-secondary:hover {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* =========================
   Navigation
   ========================= */
.navbar {
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Mobile nav (default) */
.nav-links {
    display: none;
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    padding: 1rem;
    box-shadow: var(--shadow-md);
}

.nav-links li {
    margin: 0.5rem 0;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-dark-gray);
}

.nav-links a:hover {
    color: var(--color-emerald);
}

.menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--color-navy);
}

/* Desktop nav */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: row;
        position: static;
        box-shadow: none;
        padding: 0;
    }

    .nav-links li {
        margin: 0 0 0 2rem;
    }

    .menu-toggle {
        display: none;
    }
}

/* =========================
   Hero Section
   ========================= */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #F5F7FA 0%, #E8EEF5 100%);
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--color-text-body);
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.hero-illustration {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
    .hero .grid-2 {
        align-items: center;
    }

    .hero-image {
        margin-top: 0;
    }
}

/* =========================
   Trust Strip
   ========================= */
.trust-strip {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 1.5rem 0;
}

.trust-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    text-align: center;
}

.trust-item {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-white);
}

.card-text {
    color: var(--color-text-body);
    flex-grow: 1;
}

/* =========================
   Footer
   ========================= */
.footer {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-emerald);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    font-size: 1.5rem;
    color: var(--color-white);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    opacity: 0.6;
}

/* =========================
   Forms
   ========================= */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-navy);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-emerald);
    box-shadow: 0 0 0 3px rgba(28, 175, 93, 0.1);
}

/* =========================
   Floating WhatsApp Button
   ========================= */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #FFFFFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

/* =========================
   Portfolio / Preview Styles
   ========================= */
.portfolio-screenshot {
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    display: block;
}

.preview-caption {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--color-text-body);
    font-weight: 500;
    opacity: 0.8;
}

/* Right Column: Content */
.portfolio-content h2 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-navy);
}

.portfolio-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-body);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.feature-groups {
    display: grid;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.feature-group h4 {
    font-size: 1rem;
    color: var(--color-navy);
    margin-bottom: 1rem;
    border-bottom: 2px solid #E5E7EB;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.feature-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    color: var(--color-dark-gray);
    font-size: 0.95rem;
}

.feature-list i {
    color: var(--color-emerald);
    margin-right: 0.75rem;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.feature-list li:hover i {
    transform: scale(1.2);
}

.portfolio-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.portfolio-actions .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E5E7EB;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6B7280;
    font-weight: 500;
}

.trust-badge i {
    color: #FBBF24;
}

/* Portfolio Responsive */
@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }

    .feature-groups {
        grid-template-columns: 1fr 1fr;
    }

    .portfolio-actions {
        flex-direction: row;
        align-items: center;
    }

    .portfolio-actions .btn {
        width: auto;
    }
}

/* =========================
   Login Page Layout
   ========================= */
.login-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
    .login-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.login-image-container {
    position: relative;
    min-height: 300px;
    background: linear-gradient(135deg, var(--color-navy) 0%, #1a2f45 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@media (min-width: 768px) {
    .login-image-container {
        min-height: 600px;
    }
}

.login-team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    position: absolute;
    top: 0;
    left: 0;
}

.login-image-overlay {
    position: relative;
    z-index: 2;
    padding: 2rem;
    color: var(--color-white);
    text-align: center;
}

.login-image-overlay h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.login-image-overlay p {
    font-size: 1.125rem;
    opacity: 0.9;
    line-height: 1.6;
}

.login-card {
    border-radius: 0;
    box-shadow: none;
    padding: 3rem 2rem;
    background-color: var(--color-white);
}

@media (min-width: 768px) {
    .login-card {
        padding: 4rem 3rem;
    }
}

.login-card:hover {
    box-shadow:
        0 0 30px rgba(28, 175, 93, 0.5),
        0 0 60px rgba(28, 175, 93, 0.3),
        0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border: 1px solid var(--color-emerald);
}

/* =========================
   Pricing Section
   ========================= */
.pricing-section {
    background-color: #F9FAFB;
    padding: 6rem 0;
}

.pricing-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.pricing-header h1 {
    font-size: 2.5rem;
    color: var(--color-navy);
    margin-bottom: 1rem;
}

.pricing-header p {
    font-size: 1.125rem;
    color: var(--color-text-body);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.pricing-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Mobile: Most Popular card first */
.pricing-card.popular {
    order: -1;
    border: 2px solid var(--color-emerald);
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(28, 175, 93, 0.3);
}

.pricing-card.popular:hover {
    transform: scale(1.02) translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-emerald);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
}

.pricing-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.pricing-desc {
    font-size: 0.875rem;
    color: var(--color-text-body);
    margin-bottom: 1.5rem;
    min-height: 40px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.pricing-subtext {
    font-size: 0.875rem;
    color: var(--color-text-body);
    margin-bottom: 2rem;
}

.pricing-features {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    color: var(--color-dark-gray);
}

.pricing-features i {
    color: var(--color-emerald);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.retainer-note {
    font-size: 0.8rem;
    color: var(--color-text-body);
    background: #F3F4F6;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
    display: block;
}

.trust-line {
    text-align: center;
    margin-top: 4rem;
    color: var(--color-text-body);
}

.trust-line a {
    color: var(--color-emerald);
    font-weight: 600;
    margin-left: 0.5rem;
}

.trust-line a:hover {
    text-decoration: underline;
}

/* Pricing Responsive */
@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Reset order on tablet/desktop */
    .pricing-card.popular {
        order: 0;
    }
}

@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch;
    }

    .pricing-card.popular {
        transform: scale(1.02);
    }
}

/* =========================
   Contact Card Hover
   ========================= */
.contact-card:hover {
    box-shadow:
        0 0 30px rgba(28, 175, 93, 0.5),
        0 0 60px rgba(28, 175, 93, 0.3),
        0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border: 1px solid var(--color-emerald);
}
/* =========================
   Password Toggle Styles
   ========================= */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper .form-input {
    padding-right: 3rem;
}

.toggle-password {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    color: var(--color-text-body);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    font-size: 1.1rem;
}

.toggle-password:hover {
    color: var(--color-emerald);
}

.toggle-password:focus {
    outline: none;
}

.toggle-password i {
    pointer-events: none;
}

/* =========================
   Auth Tabs and Forms
   ========================= */
.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    border-bottom: 2px solid #E5E7EB;
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    color: var(--color-text-body);
    font-weight: 500;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease;
    position: relative;
}

.auth-tab:hover {
    color: var(--color-emerald);
    background-color: rgba(28, 175, 93, 0.05);
}

.auth-tab.active {
    color: var(--color-emerald);
    border-bottom-color: var(--color-emerald);
    font-weight: 600;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}
