/* Custom Properties / Design Tokens */
:root {
    /* Colors */
    --clr-primary: #7c3aed; /* Deep Purple */
    --clr-primary-hover: #6d28d9;
    --clr-accent: #ec4899; /* Pink accent */
    
    --clr-slate-50: #f8fafc;
    --clr-slate-100: #f1f5f9;
    --clr-slate-200: #e2e8f0;
    --clr-slate-700: #334155;
    --clr-slate-800: #1e293b;
    --clr-slate-900: #0f172a;
    
    --clr-white: #ffffff;
    
    /* Service card accents */
    --bg-red-light: #fee2e2;
    --text-red: #ef4444;
    --bg-blue-light: #dbeafe;
    --text-blue: #3b82f6;
    --bg-cyan-light: #cffafe;
    --text-cyan: #06b6d4;
    --bg-purple-light: #f3e8ff;
    --text-purple: #a855f7;
    --bg-orange-light: #ffedd5;
    --text-orange: #f97316;
    --bg-green-light: #dcfce7;
    --text-green: #22c55e;

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-2xl: 8rem;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--clr-slate-700);
    background-color: var(--clr-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--clr-slate-900);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-2xl) 0;
}

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

.bg-light {
    background-color: var(--clr-slate-50);
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--clr-primary);
    color: var(--clr-white);
}

.btn-primary:hover {
    background-color: var(--clr-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.accent {
    color: var(--clr-primary);
}

.accent-text {
    color: var(--clr-primary);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: var(--space-sm);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--clr-slate-200);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--clr-slate-900);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-weight: 500;
    color: var(--clr-slate-700);
}

.nav-link:not(.btn):hover {
    color: var(--clr-primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.hamburger, .hamburger::before, .hamburger::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--clr-slate-900);
    position: absolute;
    transition: var(--transition);
}

.hamburger {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Hero Section */
.hero {
    padding-top: calc(80px + var(--space-2xl));
    overflow: hidden;
    position: relative;
}

/* Subtle background gradient for hero */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
    transform: translate(30%, -30%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.03em;
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
    max-width: 90%;
}

.signup-form {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.form-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--clr-slate-200);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.hero-disclaimer {
    font-size: 0.875rem;
    color: var(--clr-slate-500);
}

.hero-disclaimer a {
    color: var(--clr-primary);
}

.hero-disclaimer a:hover {
    text-decoration: underline;
}

/* Glassmorphism Mockup Placeholder */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-xl);
}

.mockup-placeholder {
    width: 100%;
    height: 600px;
    position: relative;
    border-radius: 40px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    box-shadow: inset 0 0 0 10px var(--clr-slate-900), var(--shadow-xl);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.mockup-placeholder:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-content {
    background: var(--clr-white);
    border-radius: 20px;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mockup-header {
    height: 40px;
    background: var(--clr-primary);
    border-radius: 10px;
    opacity: 0.9;
}

.mockup-card {
    height: 80px;
    background: var(--clr-slate-100);
    border-radius: 10px;
}

.mockup-card.highlight {
    background: var(--clr-primary);
    opacity: 0.1;
    height: 120px;
}


/* Features Section */
.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--clr-slate-700);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    margin-bottom: var(--space-xl);
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse .feature-content {
    direction: ltr;
}

.step-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--clr-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: var(--space-sm);
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.feature-content p {
    margin-bottom: var(--space-lg);
    font-size: 1.125rem;
}

.link-arrow {
    font-weight: 600;
    color: var(--clr-slate-900);
    display: inline-flex;
    align-items: center;
}

.link-arrow:hover {
    color: var(--clr-primary);
}

.circle-image {
    width: 100%;
    aspect-ratio: 1;
    background: var(--clr-slate-100);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.blob-shape-1 {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    background: linear-gradient(135deg, #e0e7ff 0%, #f3e8ff 100%);
    animation: morph 8s ease-in-out infinite;
}

.blob-shape-2 {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    background: linear-gradient(135deg, #fce7f3 0%, #fee2e2 100%);
    animation: morph 8s ease-in-out infinite reverse;
}

@keyframes morph {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
    67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
    100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}

/* Services Grid Section */
.services .section-header {
    margin-bottom: var(--space-xl);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.service-card {
    background: var(--clr-white);
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--clr-slate-200);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
}

.bg-red-light { background: var(--bg-red-light); color: var(--text-red); }
.bg-blue-light { background: var(--bg-blue-light); color: var(--text-blue); }
.bg-cyan-light { background: var(--bg-cyan-light); color: var(--text-cyan); }
.bg-purple-light { background: var(--bg-purple-light); color: var(--text-purple); }
.bg-orange-light { background: var(--bg-orange-light); color: var(--text-orange); }
.bg-green-light { background: var(--bg-green-light); color: var(--text-green); }

.service-card h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.25rem;
}

.service-card p {
    margin-bottom: var(--space-lg);
    color: var(--clr-slate-700);
    font-size: 0.95rem;
    flex-grow: 1;
}

.link-muted {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-slate-900);
}

.link-muted:hover {
    color: var(--clr-primary);
}


/* Showcase Section */
.showcase-container {
    padding: var(--space-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(226, 232, 240, 0.8) 100%);
    border-radius: var(--radius-xl);
}

.showcase-content h2 {
    margin-bottom: var(--space-md);
}

.showcase-content p {
    margin-bottom: var(--space-lg);
}

.text-primary {
    color: var(--clr-primary);
}

.whiteboard-mockup {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    background-image: radial-gradient(var(--clr-slate-200) 1px, transparent 1px);
    background-size: 20px 20px;
    padding: 20px;
}

.sticky-note {
    position: absolute;
    padding: 15px;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    font-size: 0.875rem;
    line-height: 1.4;
    transition: var(--transition);
}

.sticky-note:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.sticky-note.yellow {
    background: #fef08a;
    width: 120px;
}

.sticky-note.white {
    background: var(--clr-white);
    width: 160px;
    border: 1px solid var(--clr-primary);
}

.note-1 { top: 20%; left: 10%; transform: rotate(-2deg); }
.note-2 { top: 15%; left: 45%; transform: rotate(1deg); }
.note-3 { top: 40%; left: 50%; }

.badge {
    display: inline-block;
    padding: 2px 8px;
    background: var(--bg-blue-light);
    color: var(--text-blue);
    font-size: 0.75rem;
    border-radius: 99px;
    margin-top: 10px;
}


/* Footer */
.footer {
    border-top: none;
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-lg);
    background-color: var(--clr-slate-900);
    color: var(--clr-slate-300);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer .logo-text {
    color: var(--clr-white);
}

.brand-desc {
    margin: var(--space-md) 0;
    font-size: 0.95rem;
    max-width: 400px;
    color: var(--clr-slate-400);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--clr-slate-300);
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--clr-primary);
    transform: translateX(5px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-lg);
}

.link-column h4 {
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    color: var(--clr-white);
}

.link-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.link-column a {
    color: var(--clr-slate-400);
    font-size: 0.95rem;
    position: relative;
    display: inline-block;
    transition: var(--transition);
}

.link-column a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--clr-primary);
    transition: width 0.3s ease;
}

.link-column a:hover {
    color: var(--clr-white);
}

.link-column a:hover::after {
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--clr-slate-500);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: var(--space-md);
}

.footer-legal a {
    color: var(--clr-slate-500);
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--clr-primary);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container, .feature-row, .showcase-container {
        grid-template-columns: 1fr;
    }
    
    .feature-row.reverse {
        direction: ltr;
    }
    
    .hero {
        padding-top: calc(80px + var(--space-xl));
    }
    
    .hero-title {
        text-align: center;
    }
    
    .hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .signup-form {
        width: 100%;
        max-width: 400px;
    }
    
    .mockup-placeholder {
        height: 400px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--clr-white);
        flex-direction: column;
        transition: var(--transition);
        padding: var(--space-lg);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.25rem;
        display: block;
        width: 100%;
        padding: 0.5rem 0;
    }
    
    .nav-btn {
        text-align: center;
        margin-top: var(--space-md);
    }
    
    .signup-form {
        flex-direction: column;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.page-fade-in {
    animation: pageFadeIn 0.8s ease-out forwards;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.float-anim {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
