:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --text-secondary: #666666;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --card-hover-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    --accent-color: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    padding-bottom: 40px;
}

/* Header */
/* Header removed */
/* Hero Logo */
.hero-logo {
    width: 360px;
    height: auto;
    object-fit: contain;
    margin-bottom: 24px;
}

/* Hero */
.hero {
    text-align: center;
    padding: 60px 20px 80px;
    max-width: 800px;
    margin: 0 auto;
}



.hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 640px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Card */
.card {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}

.card-image {
    width: 100%;
    /* Aspect ratio close to the mockups (vertical phone usually 9:16, but shown as cards here so ~4:3 or 1:1) */
    /* The design shows square-ish or portrait images inside the cards. Let's assume the provided images are good. */
    background-color: #f5f5f5;
    padding: 24px;
    /* Inner padding for the phone frame look */
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: auto;
    max-height: 250px;
    /* Constrain height to keep cards uniform */
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

.btn-demo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--accent-color);
    color: #fff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.btn-demo:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-demo i {
    transition: transform 0.3s ease;
}

.btn-demo:hover i {
    transform: translateX(4px);
}

/* Footer */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 100px;
    padding: 40px 24px;
    border-top: 1px solid #f0f0f0;
    color: var(--text-secondary);
}

.footer-logo {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    color: #000;
}