:root {
    --milk-white: #FDFCF0;
    --cream: #F5E6CA;
    --dark-cream: #D7C49E;
    --tech-blue: #1A237E;
    --text-dark: #2D2D2D;
    --text-muted: #5F6368;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--milk-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    background-color: rgba(253, 252, 240, 0.95);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--tech-blue);
    letter-spacing: -1px;
}

.logo span {
    color: var(--dark-cream);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--milk-white) 0%, var(--cream) 100%);
    padding: 100px 20px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(26, 35, 126, 0.1);
    color: var(--tech-blue);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 4.5rem;
    color: var(--tech-blue);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.hero-content h1 span {
    color: var(--dark-cream);
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background-color: var(--tech-blue);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(26, 35, 126, 0.2);
}

.btn:hover {
    background-color: #0d145a;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(26, 35, 126, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--tech-blue);
    color: var(--tech-blue);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--tech-blue);
    color: #fff;
}

/* About Section */
.about {
    padding: 10rem 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about h2 {
    font-size: 2.8rem;
    color: var(--tech-blue);
    margin-bottom: 2rem;
}

.about p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--tech-blue);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--dark-cream);
}

.about-image {
    height: 400px;
    background: var(--cream);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.abstract-shape {
    position: absolute;
    width: 150%;
    height: 150%;
    background: var(--dark-cream);
    border-radius: 40%;
    top: 50%;
    left: 50%;
    transform: rotate(45deg);
    opacity: 0.3;
}

/* Section Common */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--tech-blue);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Services Section */
.services {
    padding: 10rem 0;
    background-color: var(--milk-white);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.service-card {
    background-color: var(--white);
    padding: 4rem 3rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
    border: 1px solid var(--cream);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: var(--dark-cream);
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.service-card .icon {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.service-card h3 {
    margin-bottom: 1.2rem;
    color: var(--tech-blue);
    font-size: 1.8rem;
}

.service-card ul {
    margin-top: 2rem;
    list-style: none;
}

.service-card ul li {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.service-card ul li::before {
    content: "✓";
    color: var(--dark-cream);
    margin-right: 12px;
    font-weight: 900;
}

/* Process Section */
.process {
    padding: 10rem 0;
    background-color: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    font-size: 5rem;
    font-weight: 900;
    color: var(--cream);
    opacity: 0.5;
    margin-bottom: -2.5rem;
}

.step h4 {
    font-size: 1.5rem;
    color: var(--tech-blue);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Portfolio Section */
.portfolio {
    padding: 10rem 0;
    background-color: var(--milk-white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 4rem;
}

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

.portfolio-item h3 {
    margin-top: 2rem;
    color: var(--tech-blue);
    font-size: 1.5rem;
}

.portfolio-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Screen Placeholders */
.screen-placeholder {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    height: 260px;
    border: 1px solid var(--cream);
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.browser-header {
    background: #f1f1f1;
    padding: 10px 15px;
    display: flex;
    gap: 8px;
}

.browser-header .dot {
    width: 10px;
    height: 10px;
    background: #ddd;
    border-radius: 50%;
}

.screen-content {
    height: 100%;
    padding: 20px;
}

.preview-layout {
    display: flex;
    gap: 15px;
    height: 100%;
}

.side-nav { width: 40px; background: #eee; border-radius: 8px; }
.main-body { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card-sm { background: var(--cream); border-radius: 8px; height: 60px; }
.card-lg { background: #f9f9f9; border-radius: 8px; height: 100px; grid-column: span 2; }

.screen-placeholder.phone {
    width: 160px;
    height: 320px;
    margin: 0 auto;
    border-radius: 30px;
    border: 10px solid #2d2d2d;
    background: #fff;
}

.phone-speaker {
    width: 50px;
    height: 5px;
    background: #2d2d2d;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
}

.app-ui { padding: 30px 10px; }
.app-header { height: 40px; background: var(--tech-blue); border-radius: 8px; margin-bottom: 15px; }
.app-list { height: 120px; background: var(--cream); border-radius: 8px; }

/* Contact Section */
.contact {
    padding: 10rem 0;
    background-color: var(--cream);
}

.contact-box {
    background-color: var(--white);
    padding: 5rem;
    border-radius: 40px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 30px 70px rgba(0,0,0,0.1);
}

.contact-box h2 {
    font-size: 3rem;
    color: var(--tech-blue);
    margin-bottom: 1.5rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 6rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.info-item .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.info-item strong {
    display: block;
    color: var(--dark-cream);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.info-item a, .info-item span {
    color: var(--tech-blue);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.4rem;
}

/* Footer */
footer {
    padding: 6rem 0 3rem;
    background-color: var(--tech-blue);
    color: var(--milk-white);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-brand p {
    opacity: 0.7;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    opacity: 0.5;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero-content h1 { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.8rem; }
    .nav-links { display: none; }
    .contact-info { gap: 3rem; }
    .footer-content { flex-direction: column; gap: 3rem; }
    .contact-box { padding: 3rem 1.5rem; }
    .stats-grid { gap: 1rem; }
    .stat-item h3 { font-size: 2rem; }
}
