:root {
    --primary: #2563eb; 
    --primary-hover: #1d4ed8;
    --bg-light: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

/* --- BASIC SETUP --- */
html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: var(--text-main);
    line-height: 1.6;
    scrollbar-width: none; 
}
body::-webkit-scrollbar { display: none; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* --- THE MOVING PARTS: GLOBAL ANIMATION CLASSES --- */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in-up { transform: translateY(40px); }
.fade-in-down { transform: translateY(-40px); }
.fade-in-left { transform: translateX(-40px); }
.fade-in-right { transform: translateX(40px); }

.animate-visible {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* --- NAVIGATION BAR (NEW) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px); /* Creates the modern glass effect */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

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

.nav-btn {
    background-color: var(--text-main);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.nav-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* --- SNAP SECTIONS SETUP --- */
.snap-section {
    height: 100vh; 
    width: 100%;
    scroll-snap-align: start; 
    scroll-snap-stop: always; 
    display: flex;
    flex-direction: column;
    justify-content: center; 
    position: relative;
    overflow: hidden; 
    padding-top: 4rem; /* Accounts for the fixed navbar */
}

/* HERO SECTION */
#hero {
    text-align: center;
    background: linear-gradient(180deg, var(--bg-light) 0%, rgba(255,255,255,1) 100%);
}

#hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.highlight {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.highlight .pink-text {
    position: absolute;
    top: 0;
    left: 0;
    color: hotpink;
    -webkit-text-stroke: 2px black;
    paint-order: stroke fill;
    z-index: 2;
}

.highlight .blue-outline {
    color: var(--primary); 
    z-index: 1;
}

#hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px; 
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-5px); 
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* GRID LAYOUTS FOR DIFFERENTIATOR & ABOUT */
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

#differentiator { background-color: white; }
#about { background-color: var(--bg-light); }

.diff-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.diff-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.diff-list {
    list-style: none;
    margin-top: 2.5rem;
}

.diff-list li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
    font-size: 1.15rem;
    color: var(--text-muted);
}

.diff-list li i {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-size: 1.5rem;
}

.diff-list li strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 0.25rem;
}

.diff-image div {
    transition: transform 0.3s ease;
}

.diff-image div:hover {
    transform: scale(1.03) rotate(1deg);
}

/* FORM SECTION */
#quote {
    background-color: white;
    text-align: center;
}

.form-container {
    max-width: 550px;
    margin: 2.5rem auto 0;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    text-align: left;
    border: 1px solid #f1f5f9;
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    background-color: var(--bg-light);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea { resize: none; min-height: 100px; }

.submit-btn {
    width: 100%;
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 1rem;
}

.submit-btn:hover { background-color: var(--primary-hover); }
.submit-btn:active { transform: translateY(1px); }

/* FOOTER */
footer {
    position: absolute;
    bottom: 1.5rem;
    width: 100%;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* RESPONSIVE DESIGN FOR MOBILE */
@media (max-width: 768px) {
    .navbar { padding: 1rem; }
    .nav-links a:not(.nav-btn) { display: none; /* Hides text links on mobile, keeps button */ }
    
    #hero h1 { font-size: 2.5rem; }
    .grid { grid-template-columns: 1fr; gap: 2rem; }
    .diff-image { order: -1; /* Moves images above text on mobile */ }
    .form-container { padding: 2rem; margin: 1rem auto; }
    
    .snap-section { height: auto; padding: 6rem 0; scroll-snap-align: none;}
    html { scroll-snap-type: none; }
    .scroll-indicator { display: none; }
    footer { position: relative; margin-top: 3rem; }
    
    .animate-on-scroll { opacity: 1 !important; transform: none !important; }
}

/* --- 3-STEP ONBOARDING GRID --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.step-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--bg-light);
    color: var(--primary);
    font-size: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.step-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* RESPONSIVE DESIGN FOR 3-STEP GRID */
@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* --- DEVICE MOCKUPS --- */
.mockup-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The Laptop Frame */
.laptop-mockup {
    width: 100%;
    max-width: 450px;
    height: 280px;
    background-color: #cbd5e1; /* Silver laptop casing */
    border-radius: 12px 12px 0 0;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 8px solid #cbd5e1;
    border-bottom: 25px solid #94a3b8; /* Laptop base */
    z-index: 1;
}

/* The Laptop Screen (Where you put an image of a website later) */
.laptop-screen {
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 600;
}

/* The Mobile Phone Frame */
.phone-mockup {
    position: absolute;
    bottom: -20px;
    right: -10px;
    width: 120px;
    height: 240px;
    background-color: #0f172a; /* Dark phone casing */
    border-radius: 20px;
    box-shadow: -10px 15px 30px rgba(0,0,0,0.2);
    border: 6px solid #0f172a;
    z-index: 2;
}

/* The Phone Screen */
.phone-screen {
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
}