@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-main: #f8fafc; /* Light slate gray */
    --bg-card: #ffffff; /* Pure white */
    --bg-card-hover: #f1f5f9; /* Subtle off-white */
    --bg-alt: #f1f5f9; /* Soft secondary section background */
    --text-primary: #0f172a; /* Dark slate blue text */
    --text-secondary: #475569; /* Slate gray text */
    --text-muted: #64748b; /* Muted text */
    --color-accent: #4e1961; /* Purple */
    --color-accent-rgb: 78, 25, 97;
    --color-success: #10b981; /* Emerald green */
    --color-warning: #f59e0b; /* Amber */
    --color-danger: #ef4444; /* Coral red */
    --border-color: #e2e8f0; /* Soft light border */
    --border-focus: #cbd5e1; /* Focus border */
    --card-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --card-shadow-hover: 0 10px 20px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --header-height: 80px;
    --transition-smooth: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Global Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

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

/* Container */
.container-custom {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Sticky Nav */
.main-header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(248, 250, 252, 0.85); /* Light translucent background */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-link img {
    height: 36px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.2s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Navigation Menu */
.mobile-nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 20px;
    box-shadow: var(--card-shadow);
    z-index: 1000;
}

.mobile-nav-link {
    display: block;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.2s ease;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--color-accent);
}

/* Hero Section */
.hero-sec {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-tag {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--color-accent);
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: inline-block;
}

.hero-title {
    font-size: 56px;
    font-weight: 400;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Buttons */
.btn-clean {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

.btn-clean-primary {
    background-color: var(--color-accent);
    color: #fff;
}

.btn-clean-primary:hover {
    background-color: #1d4ed8;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
}

.btn-clean-secondary {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-clean-secondary:hover {
    background-color: rgba(0, 0, 0, 0.02);
    border-color: var(--border-focus);
}

/* Sections */
.section-gap {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
}

.section-title-wrap {
    margin-bottom: 60px;
    text-align: center;
}

.section-subtitle {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--color-accent);
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 36px;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

/* Layout Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Cards */
.clean-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.clean-card:hover {
    border-color: var(--border-focus);
    background-color: var(--bg-card);
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-4px);
}

.clean-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.clean-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Badges */
.badge-clean-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.badge-clean {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.badge-clean-status-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
}

.badge-clean-status-warning {
    background-color: rgba(245, 158, 11, 0.15);
    color: #d97706; /* Darker amber for contrast */
}

.badge-clean-status-info {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--color-accent);
}

.badge-clean-tech {
    background-color: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Portfolio Filters */
.filters-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 50px;
}

.filter-pill {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.filter-pill:hover, .filter-pill.active {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Forms */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control-clean {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

.form-control-clean:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

select.form-control-clean {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

/* Footer styling */
.clean-footer {
    background-color: #4e1961;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h5 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

/* Details specs grid */
.specs-panel {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--card-shadow);
}

.specs-title {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.specs-item {
    margin-bottom: 20px;
}

.specs-item:last-child {
    margin-bottom: 0;
}

.specs-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.specs-value {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

/* Feature Checklists */
.checklist-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--text-secondary);
}

.checklist-item svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--color-success);
    margin-top: 2px;
}

/* About Timeline */
.timeline-clean-item {
    position: relative;
    padding-left: 28px;
    border-left: 1px solid var(--border-color);
    padding-bottom: 32px;
}

.timeline-clean-item:last-child {
    border-left: none;
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -6px;
    top: 6px;
    width: 11px;
    height: 11px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

.timeline-time {
    font-size: 12px;
    font-weight: 400;
    color: var(--color-accent);
    margin-bottom: 4px;
}

.timeline-headline {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* WhatsApp Chat Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 1000;
    color: white;
}

.whatsapp-widget svg {
    width: 32px;
    height: 32px;
}

.whatsapp-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    background-color: #20BA5A;
}

@media (max-width: 768px) {
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-widget svg {
        width: 26px;
        height: 26px;
    }
}

.timeline-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-item-tag {
    background-color: var(--bg-alt);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    .hero-title {
        font-size: 38px;
    }
    .hero-desc {
        font-size: 15px;
    }
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    .nav-menu {
        display: none;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
