/* Base Variables */
:root {
    --bg-color: #020617; /* Slate 950 */
    --text-primary: #f8fafc; /* Slate 50 */
    --text-secondary: #94a3b8; /* Slate 400 */
    --accent-primary: #3b82f6; /* Blue 500 */
    --accent-glow: rgba(59, 130, 246, 0.4);
    --card-bg: rgba(15, 23, 42, 0.7); /* Slate 900 with opacity */
    --card-border: rgba(30, 41, 59, 0.7); /* Slate 800 with opacity */
    --font-main: 'Plus Jakarta Sans', sans-serif;
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Noise Overlay for texture */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Header */
.main-header {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(13, 17, 23, 0.8);
    border-bottom: 1px solid var(--card-border);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    height: 40px;
    width: auto;
    border-radius: 8px;
    /* Slight rounded corners */
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
}

.dot {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Hero Section */
/* Hero Section - Split Layout */
.hero {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Remove old absolute background styles */
.hero-bg,
.hero::after {
    display: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 100%;
    position: relative;
    z-index: 2;
}

.hero-image-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--card-border);
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover {
    transform: translateY(-5px);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Add a glowing effect behind the image */
.hero-image-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--accent-primary);
    filter: blur(80px);
    opacity: 0.2;
    z-index: -1;
}

/* Responsive adjust */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-image-wrapper {
        transform: none;
        max-width: 80%;
        margin: 0 auto;
    }

    .hero-content {
        margin: 0 auto;
    }
}

/* ... existing styles ... */

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    /* Slightly more rounded */
    padding: 0;
    /* Remove padding to let image flush */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
    /* Taller for image */
    position: relative;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    /* Fill the area */
    object-position: top center;
    /* Show the top (header) of the app */
    background-color: #010409;
    border-bottom: 1px solid var(--card-border);
    transition: transform 0.5s ease;
}

.card:hover .card-image {
    transform: scale(1.05);
    /* Zoom effect on hover */
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* ... existing styles ... */

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    flex-grow: 1;
}

.tags {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    flex-wrap: wrap;
}

.tags span {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    color: var(--text-secondary);
}

/* Services Section */
.services {
    padding: 6rem 0;
    border-top: 1px solid var(--card-border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.service-item {
    padding: 1rem;
}

.service-item .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid var(--card-border);
    margin-top: 4rem;
    text-align: center;
}

.footer-brand h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.footer-info {
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        /* simple hide for v1 */
    }

    .hero {
        padding: 5rem 0 3rem;
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 10px #666;
}