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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #ffffff;
    background-image: 
        radial-gradient(circle, #e0e0e0 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0;
    color: #333333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background-color: #ffffff;
    position: relative;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-dots {
    display: flex;
    gap: 4px;
}

.logo-dots .dot {
    width: 8px;
    height: 8px;
    background-color: #4a4a4a;
    border-radius: 50%;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    letter-spacing: -0.5px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: #333333;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

nav ul li a:hover {
    color: #007AFF;
}

.auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.auth-buttons button {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: inherit;
}

.auth-buttons .sign-in {
    background-color: transparent;
    color: #333333;
}

.auth-buttons .sign-in:hover {
    background-color: #f5f5f5;
}

.auth-buttons .get-demo {
    background-color: #007AFF;
    color: #ffffff;
}

.auth-buttons .get-demo:hover {
    background-color: #0056CC;
}

/* Hero Section */
.hero-section {
    min-height: 85vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 60px;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-icon {
    margin-bottom: 24px;
    display: inline-block;
}

.dot-grid {
    width: 48px;
    height: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.grid-dot {
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

.grid-dot.light-blue {
    background-color: #5AC8FA;
}

.grid-dot.dark-gray {
    background-color: #4a4a4a;
}

.hero-content h1 {
    margin-bottom: 16px;
    line-height: 1.2;
}

.headline-main {
    display: block;
    font-size: 64px;
    font-weight: 700;
    color: #000000;
    letter-spacing: -1.5px;
    margin-bottom: 8px;
}

.headline-sub {
    display: block;
    font-size: 64px;
    font-weight: 700;
    color: #888888;
    letter-spacing: -1.5px;
}

.tagline {
    font-size: 18px;
    color: #666666;
    margin-bottom: 32px;
    font-weight: 400;
}

.cta-button {
    background-color: #007AFF;
    color: #ffffff;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: inherit;
}

.cta-button:hover {
    background-color: #0056CC;
}

/* Decorative Floating Cards */
.decorative-cards {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-card {
    position: absolute;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    pointer-events: auto;
    transition: box-shadow 0.3s ease;
    opacity: 0;
    animation: fadeInFloat 0.8s ease-out forwards;
}

/* Fade in animation for initial load */
@keyframes fadeInFloat {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Floating animations - different directions, speeds, and rotations for each card */
@keyframes floatUpDown1 {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(-2deg);
    }
    50% {
        transform: translateY(-12px) translateX(2px) rotate(-1deg);
    }
}

@keyframes floatUpDown2 {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(1.5deg);
    }
    50% {
        transform: translateY(10px) translateX(-2px) rotate(2deg);
    }
}

@keyframes floatUpDown3 {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(-1deg);
    }
    50% {
        transform: translateY(-8px) translateX(1px) rotate(-0.5deg);
    }
}

@keyframes floatUpDown4 {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(2deg);
    }
    50% {
        transform: translateY(15px) translateX(-1px) rotate(2.5deg);
    }
}

.float-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    animation-play-state: paused;
}

.icon-square {
    width: 48px;
    height: 48px;
    background-color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Notes Card - Top Left */
.notes-card {
    top: 15%;
    left: 8%;
    max-width: 280px;
    animation: fadeInFloat 0.8s ease-out 1s forwards, floatUpDown1 6s ease-in-out 1.8s infinite;
}

.sticky-note {
    background-color: #FFEB3B;
    padding: 16px;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.sticky-note::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #FFC107;
}

.sticky-note p {
    font-style: italic;
    color: #333;
}

.checkmark-icon {
    position: absolute;
    bottom: -20px;
    left: 20px;
}

/* Reminders Card - Top Right */
.reminders-card {
    top: 12%;
    right: 10%;
    max-width: 280px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    animation: fadeInFloat 0.8s ease-out 1.2s forwards, floatUpDown2 7s ease-in-out 2s infinite;
}

.clock-icon {
    flex-shrink: 0;
}

.reminders-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.reminder-item {
    font-size: 14px;
}

.reminder-item strong {
    display: block;
    margin-bottom: 4px;
    color: #333;
}

.reminder-item p {
    color: #666;
    margin-bottom: 8px;
}

.time-badge {
    display: inline-block;
    background-color: #E3F2FD;
    color: #007AFF;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* Tasks Card - Bottom Left */
.tasks-card {
    bottom: 15%;
    left: 8%;
    max-width: 320px;
    animation: fadeInFloat 0.8s ease-out 1.4s forwards, floatUpDown3 5.5s ease-in-out 2.2s infinite;
}

.tasks-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.task-item {
    margin-bottom: 16px;
}

.task-item:last-child {
    margin-bottom: 0;
}

.task-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.task-icon {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    flex-shrink: 0;
}

.task-icon.red-icon {
    background-color: #FF3B30;
}

.task-icon.green-icon {
    background-color: #34C759;
}

.task-title {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    flex: 1;
}

.task-date {
    font-size: 12px;
    color: #999;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: #E5E5E5;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background-color: #007AFF;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.task-avatars {
    display: flex;
    gap: 4px;
}

.avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #E5E5E5;
    border: 2px solid #ffffff;
}

/* Integrations Card - Bottom Right */
.integrations-card {
    bottom: 15%;
    right: 10%;
    max-width: 240px;
    animation: fadeInFloat 0.8s ease-out 1.6s forwards, floatUpDown4 8s ease-in-out 2.4s infinite;
}

.integrations-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.integration-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.app-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    color: #ffffff;
}

.app-icon.gmail {
    background-color: #EA4335;
}

.app-icon.slack {
    background: linear-gradient(135deg, #4A154B, #ECB22E, #36C5F0, #2EB67D);
}

.app-icon.calendar {
    background-color: #4285F4;
    font-size: 14px;
}

/* Role Cards Section */
.role-cards-section {
    padding: 80px 60px;
    background-color: #ffffff;
}

.role-cards {
    display: flex;
    justify-content: center;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.role-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    width: 320px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.role-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #007AFF, #5AC8FA);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.role-card:hover::before {
    transform: scaleX(1);
}

.role-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.role-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
    background-color: #F5F5F5;
}

.role-icon svg {
    transition: transform 0.3s ease;
}

.role-icon.teacher-icon {
    color: #007AFF;
}

.role-icon.parent-icon {
    color: #34C759;
}

.role-icon.student-icon {
    color: #FF9500;
}

.role-card:hover .role-icon {
    background-color: #E3F2FD;
    transform: scale(1.1);
}

.role-card:hover .role-icon.teacher-icon {
    background-color: #E3F2FD;
}

.role-card:hover .role-icon.parent-icon {
    background-color: #E8F5E9;
}

.role-card:hover .role-icon.student-icon {
    background-color: #FFF3E0;
}

.role-card:hover .role-icon svg {
    transform: scale(1.1);
}

.role-card h2 {
    font-size: 22px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.role-card:hover h2 {
    color: #007AFF;
}

.role-card p {
    font-size: 15px;
    color: #666666;
    margin-bottom: 24px;
    line-height: 1.6;
}

.role-card button {
    background-color: #007AFF;
    color: #ffffff;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.role-card button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.role-card button:hover::before {
    width: 300px;
    height: 300px;
}

.role-card button:hover {
    background-color: #0056CC;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.role-card button:active {
    transform: translateY(0);
}

/* Section Titles */
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #333333;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 18px;
    color: #666666;
    text-align: center;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features-section {
    padding: 80px 60px;
    background-color: #ffffff;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.feature-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #007AFF;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: #E3F2FD;
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 60px;
    background-color: #ffffff;
}

.how-it-works-container {
    max-width: 1200px;
    margin: 0 auto;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.step-item {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #007AFF;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #007AFF;
    transition: all 0.3s ease;
}

.step-item:hover .step-icon {
    background-color: #E3F2FD;
    transform: scale(1.1);
}

.step-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

.step-item p {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #007AFF, #5AC8FA);
    margin: 0 20px;
    opacity: 0.3;
}

/* Footer */
.footer {
    background-color: #ffffff;
    border-top: 1px solid #E5E5E5;
    padding: 60px 60px 24px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    font-size: 15px;
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #007AFF;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid #E5E5E5;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #999999;
}

/* CTA Section */
.cta-section {
    padding: 100px 60px;
    background-color: #ffffff;
    background-image: 
        radial-gradient(circle, #e0e0e0 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.cta-subtitle {
    font-size: 18px;
    color: #666666;
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-section-button {
    background-color: #007AFF;
    color: #ffffff;
    padding: 16px 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.2);
}

.cta-section-button:hover {
    background-color: #0056CC;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.cta-section-button:active {
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .float-card {
        display: none;
    }
    
    .headline-main,
    .headline-sub {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 16px 24px;
        flex-wrap: wrap;
    }
    
    nav {
        order: 3;
        width: 100%;
        margin-top: 16px;
    }
    
    nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .headline-main,
    .headline-sub {
        font-size: 36px;
    }
    
    .hero-section {
        padding: 60px 24px;
    }
    
    .role-cards-section {
        padding: 60px 24px;
    }
    
    .role-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .role-card {
        width: 100%;
        max-width: 400px;
        padding: 28px 20px;
    }
    
    .role-icon {
        width: 48px;
        height: 48px;
    }
    
    .role-card h2 {
        font-size: 20px;
    }
    
    .role-card p {
        font-size: 14px;
    }
    
    .features-section,
    .how-it-works-section {
        padding: 60px 24px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 32px;
    }
    
    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }
    
    .footer {
        padding: 40px 24px 24px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .features-section,
    .how-it-works-section {
        padding: 40px 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .cta-section {
        padding: 60px 16px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-subtitle {
        font-size: 15px;
    }
    
    .cta-section-button {
        padding: 14px 32px;
        font-size: 15px;
    }
}
