/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-sm) var(--spacing-xl);
    overflow: hidden;
    cursor: none;
}

.hero * {
    cursor: none !important;
}

.blob {
    position: absolute;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    opacity: 0.6;
    filter: blur(60px);
    animation: morphBlob 20s ease-in-out infinite;
    z-index: 0;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(6, 182, 212, 0.3) 100%);
    top: -10%;
    right: 10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(225deg, rgba(139, 92, 246, 0.25) 0%, rgba(99, 102, 241, 0.25) 100%);
    bottom: -5%;
    left: 5%;
    animation-delay: 5s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(315deg, rgba(6, 182, 212, 0.3) 0%, rgba(139, 92, 246, 0.2) 100%);
    top: 40%;
    left: 50%;
    animation-delay: 10s;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
    color: var(--color-primary);
}

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

.hero-description {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    max-width: 540px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.hero-meta {
    display: flex;
    gap: var(--spacing-sm);
    font-size: 0.9rem;
    color: var(--color-text-light);
    animation: fadeInUp 0.8s ease-out 1s backwards;
}

.meta-divider {
    color: var(--color-border);
}

/* Hero Visual */
.hero-visual {
    animation: fadeInRight 1s ease-out 0.5s backwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-board-container {
    position: relative;
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-board-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    position: relative;
    z-index: 1;
}

.hero-cursor {
    position: absolute;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    animation: moveCursor 6s ease-in-out infinite;
    z-index: 2;
}

.cursor-pointer {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 0 2px rgba(255, 255, 255, 0.8));
    transition: transform 0.3s ease;
}

.cursor-name {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(255, 255, 255, 0.2);
    margin-top: 2px;
    letter-spacing: 0.02em;
}

.cursor-hero-a {
    top: 25%;
    left: 20%;
    animation-delay: 0s;
}

.cursor-hero-a .cursor-pointer {
    color: #FF3D00;
}

.cursor-hero-a .cursor-name {
    background: linear-gradient(135deg, #FF3D00 0%, #DD2C00 100%);
    box-shadow: 0 4px 16px rgba(255, 61, 0, 0.6), 0 0 0 3px rgba(255, 255, 255, 0.95);
}

.cursor-hero-b {
    top: 45%;
    left: 55%;
    animation-delay: 2s;
}

.cursor-hero-b .cursor-pointer {
    color: #00BCD4;
}

.cursor-hero-b .cursor-name {
    background: linear-gradient(135deg, #00BCD4 0%, #0097A7 100%);
    box-shadow: 0 4px 16px rgba(0, 188, 212, 0.6), 0 0 0 3px rgba(255, 255, 255, 0.95);
}

.cursor-hero-c {
    top: 65%;
    left: 30%;
    animation-delay: 4s;
}

.cursor-hero-c .cursor-pointer {
    color: #7CB342;
}

.cursor-hero-c .cursor-name {
    background: linear-gradient(135deg, #7CB342 0%, #689F38 100%);
    box-shadow: 0 4px 16px rgba(124, 179, 66, 0.6), 0 0 0 3px rgba(255, 255, 255, 0.95);
}

@keyframes moveCursor {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(30px, -20px);
    }
    50% {
        transform: translate(60px, 15px);
    }
    75% {
        transform: translate(15px, 35px);
    }
}

/* Features Section */
.features {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--color-surface);
    position: relative;
}

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

.features-alternating {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    padding: var(--spacing-sm) 0;
    max-width: 1200px;
    margin: 0 auto;
}

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

.feature-row-reverse > * {
    direction: ltr;
}

.feature-content {
    animation: fadeInUp 0.8s ease-out;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.feature-row:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: var(--shadow-lg);
}

.icon-primary {
    background: linear-gradient(135deg, rgba(217, 119, 87, 0.1) 0%, rgba(217, 119, 87, 0.05) 100%);
    border: 2px solid rgba(217, 119, 87, 0.2);
}

.icon-primary svg {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

.icon-secondary {
    background: linear-gradient(135deg, rgba(44, 95, 111, 0.1) 0%, rgba(44, 95, 111, 0.05) 100%);
    border: 2px solid rgba(44, 95, 111, 0.2);
}

.icon-secondary svg {
    width: 32px;
    height: 32px;
    color: var(--color-secondary);
}

.icon-accent {
    background: linear-gradient(135deg, rgba(139, 156, 126, 0.1) 0%, rgba(139, 156, 126, 0.05) 100%);
    border: 2px solid rgba(139, 156, 126, 0.2);
}

.icon-accent svg {
    width: 32px;
    height: 32px;
    color: var(--color-accent);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.feature-description {
    color: var(--color-text-light);
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 520px;
}

/* Feature Visuals */
.feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.visual-container {
    position: relative;
    width: 100%;
    max-width: 350px;
    height: 280px;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.visual-container.visual-export {
    height: auto;
    min-height: 280px;
    overflow: visible;
}

/* Collaboration Visual */
.visual-collab {
    background: linear-gradient(135deg, #FDFCFB 0%, #FFFFFF 100%);
}

.collab-cursor {
    position: absolute;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    animation: moveCursor 6s ease-in-out infinite;
}

.cursor-a {
    top: 30%;
    left: 20%;
    animation-delay: 0s;
}

.cursor-a .cursor-pointer {
    color: var(--color-primary);
}

.cursor-a .cursor-name {
    background: var(--color-primary);
}

.cursor-b {
    top: 50%;
    left: 60%;
    animation-delay: 2s;
}

.cursor-b .cursor-pointer {
    color: var(--color-secondary);
}

.cursor-b .cursor-name {
    background: var(--color-secondary);
}

.cursor-c {
    top: 70%;
    left: 35%;
    animation-delay: 4s;
}

.cursor-c .cursor-pointer {
    color: var(--color-accent);
}

.cursor-c .cursor-name {
    background: var(--color-accent);
}

/* Boards Visual */
.visual-boards {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    position: relative;
}

.infinity-symbol {
    position: absolute;
    font-size: 10rem;
    font-weight: 700;
    color: var(--color-secondary);
    opacity: 0.3;
    z-index: 3;
    line-height: 1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.05);
    }
}

.board-stack {
    position: absolute;
    width: 160px;
    height: 110px;
    background: linear-gradient(135deg, var(--color-bg) 0%, #FFFFFF 100%);
    border-radius: var(--radius-md);
    border: 2px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.board-1 {
    transform: rotate(-12deg) translateY(-15px) translateX(-15px);
    background: linear-gradient(135deg, rgba(217, 119, 87, 0.15) 0%, #FFFFFF 100%);
    z-index: 1;
}

.board-2 {
    transform: rotate(0deg);
    z-index: 2;
}

.board-3 {
    transform: rotate(12deg) translateY(15px) translateX(15px);
    background: linear-gradient(135deg, rgba(44, 95, 111, 0.15) 0%, #FFFFFF 100%);
    z-index: 1;
}

.visual-boards:hover .infinity-symbol {
    opacity: 0.5;
}

.visual-boards:hover .board-1 {
    transform: rotate(-16deg) translateY(-25px) translateX(-20px);
}

.visual-boards:hover .board-3 {
    transform: rotate(16deg) translateY(25px) translateX(20px);
}

/* Storage Visual */
.visual-storage {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.storage-icon {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.sync-arrows {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
    justify-content: center;
}

.sync-arrows svg {
    width: 60px;
    height: 24px;
    color: var(--color-secondary);
}

.arrow-right {
    animation: slideRight 2s ease-in-out infinite;
}

.arrow-left {
    animation: slideLeft 2s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes slideRight {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-5px);
    }
    50% {
        opacity: 1;
        transform: translateX(5px);
    }
}

@keyframes slideLeft {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(5px);
    }
    50% {
        opacity: 1;
        transform: translateX(-5px);
    }
}

.cloud-icon {
    background: linear-gradient(135deg, rgba(44, 95, 111, 0.15) 0%, rgba(44, 95, 111, 0.05) 100%);
    border: 2px solid rgba(44, 95, 111, 0.3);
}

.cloud-icon::before {
    content: '';
    width: 48px;
    height: 48px;
    background-image: url('https://ssl.gstatic.com/images/branding/product/2x/drive_2020q4_48dp.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
}

.local-icon {
    background: linear-gradient(135deg, rgba(139, 156, 126, 0.15) 0%, rgba(139, 156, 126, 0.05) 100%);
    border: 2px solid rgba(139, 156, 126, 0.3);
}

.local-icon::before {
    content: '';
    width: 48px;
    height: 48px;
    display: block;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%238B9C7E' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2' y='3' width='20' height='14' rx='2' ry='2'/%3E%3Cline x1='8' y1='21' x2='16' y2='21'/%3E%3Cline x1='12' y1='17' x2='12' y2='21'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.visual-storage:hover .storage-icon {
    transform: translateY(-10px);
}

/* Offline Visual */
.visual-offline {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(44, 95, 111, 0.05) 0%, #FFFFFF 100%);
    position: relative;
}

.offline-laptop,
.offline-notebook {
    position: absolute;
}

.offline-laptop {
    animation: fadeOutLaptop 6s ease-in-out infinite;
}

.offline-notebook {
    opacity: 0;
    animation: fadeInNotebook 6s ease-in-out infinite;
}

@keyframes fadeOutLaptop {
    0%, 40% {
        opacity: 1;
        transform: scale(1);
    }
    50%, 100% {
        opacity: 0;
        transform: scale(0.9);
    }
}

@keyframes fadeInNotebook {
    0%, 50% {
        opacity: 0;
        transform: scale(0.9);
    }
    60%, 100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Laptop */
.laptop-screen {
    width: 140px;
    height: 90px;
    background: linear-gradient(135deg, #2A2A2A 0%, #1A1A1A 100%);
    border-radius: var(--radius-sm);
    border: 3px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.laptop-base {
    width: 160px;
    height: 8px;
    background: linear-gradient(135deg, #555 0%, #333 100%);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    margin-top: -2px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--color-primary);
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.offline-emoji {
    position: absolute;
    font-size: 3rem;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.sad-emoji {
    animation: fadeOutEmoji 6s ease-in-out infinite;
}

.happy-emoji {
    animation: fadeInEmoji 6s ease-in-out infinite;
}

@keyframes fadeOutEmoji {
    0%, 45% {
        opacity: 1;
    }
    55%, 100% {
        opacity: 0;
    }
}

@keyframes fadeInEmoji {
    0%, 55% {
        opacity: 0;
    }
    65%, 100% {
        opacity: 1;
    }
}

/* Notebook */
.notebook-screen {
    width: 140px;
    height: 90px;
    background: linear-gradient(135deg, #FDFCFB 0%, #FFFFFF 100%);
    border-radius: var(--radius-sm);
    border: 3px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--spacing-sm);
}

.notebook-base {
    width: 160px;
    height: 8px;
    background: linear-gradient(135deg, #DDD 0%, #BBB 100%);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    margin-top: -2px;
}

.board-text {
    position: absolute;
    top: 8px;
    left: 8px;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--color-text);
}

.board-shape {
    position: absolute;
    border: 2px solid var(--color-primary);
}

.board-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    top: 35px;
    left: 15px;
    border-color: var(--color-secondary);
}

.board-rect {
    width: 30px;
    height: 20px;
    bottom: 12px;
    right: 15px;
    border-color: var(--color-accent);
}

.board-sticker {
    position: absolute;
    top: 35px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--color-primary);
}

/* Sharing Visual */
.visual-sharing {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0 !important;
    min-height: auto !important;
    height: auto;
}

.visual-sharing .visual-container {
    padding: 0;
    height: auto;
    min-height: auto;
}

.sharing-dialog {
    width: 100%;
    max-width: 100%;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem var(--spacing-sm);
    background: linear-gradient(135deg, rgba(44, 95, 111, 0.05) 0%, rgba(44, 95, 111, 0.02) 100%);
    border-bottom: 1px solid var(--color-border);
}

.dialog-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-text);
}

.dialog-close {
    font-size: 1.25rem;
    color: var(--color-text-light);
    cursor: pointer;
    line-height: 1;
}

.dialog-content {
    padding: var(--spacing-sm);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.sharing-option {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.option-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text);
}

.sharing-select {
    width: 100%;
    padding: 0.4rem var(--spacing-xs);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg);
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.sharing-select:hover {
    border-color: var(--color-secondary);
}

.copy-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.6rem var(--spacing-sm);
    background: var(--color-secondary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.copy-link-btn:hover {
    background: #7C3AED;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.copy-link-btn svg {
    width: 16px;
    height: 16px;
}

/* Export Visual */
.visual-export {
    display: grid;
    grid-template-columns: repeat(2, 85px);
    grid-template-rows: repeat(2, auto);
    gap: var(--spacing-md) var(--spacing-lg);
    padding: var(--spacing-xl) var(--spacing-lg);
    align-items: center;
    justify-content: center;
}

/* PDF at top center - spans both columns */
.visual-export .export-file:nth-child(1) {
    grid-column: 1 / 3;
    justify-self: center;
}

/* PNG at bottom left */
.visual-export .export-file:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
}

/* SVG at bottom right */
.visual-export .export-file:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
}

.export-file {
    width: 85px;
    height: 100px;
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.export-file::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.export-file:hover::before {
    opacity: 1;
}

.export-file .file-icon {
    width: 48px;
    height: 48px;
    transition: transform 0.3s ease;
}

.export-file .file-label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    transition: transform 0.3s ease;
}

.export-file:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.export-file:hover .file-icon {
    transform: scale(1.1);
}

.export-file:hover .file-label {
    transform: translateY(2px);
}

/* File type specific colors */
.export-pdf {
    border-color: rgba(231, 76, 60, 0.2);
}

.export-pdf .file-label {
    color: #E74C3C;
}

.export-pdf:hover {
    border-color: #E74C3C;
    background: rgba(231, 76, 60, 0.03);
}

.export-png {
    border-color: rgba(52, 152, 219, 0.2);
}

.export-png .file-label {
    color: #3498DB;
}

.export-png:hover {
    border-color: #3498DB;
    background: rgba(52, 152, 219, 0.03);
}

.export-svg {
    border-color: rgba(155, 89, 182, 0.2);
}

.export-svg .file-label {
    color: #9B59B6;
}

.export-svg:hover {
    border-color: #9B59B6;
    background: rgba(155, 89, 182, 0.03);
}

/* Video Visual */
.visual-video {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(217, 119, 87, 0.05) 0%, #FFFFFF 100%);
    padding: var(--spacing-lg);
}

.video-frame {
    width: 200px;
    height: 140px;
    background: linear-gradient(135deg, #1A1A1A 0%, #2A2A2A 100%);
    border-radius: var(--radius-md);
    position: relative;
}

.video-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 30px solid var(--color-primary);
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    opacity: 0.8;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: var(--spacing-xl) auto 0;
}

.feature-grid-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all 0.4s ease;
}

.feature-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-grid-item .feature-icon {
    margin-bottom: var(--spacing-md);
}

.feature-grid-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.01em;
    color: var(--color-text);
}

.feature-grid-description {
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* Use Cases Section */
.use-cases {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--color-bg);
    position: relative;
}

.use-cases-container {
    max-width: 1400px;
    margin: 0 auto;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.use-case-card {
    position: relative;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all 0.4s ease;
    overflow: hidden;
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

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

.use-case-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(217, 119, 87, 0.1) 0%, rgba(139, 156, 126, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    transition: all 0.4s ease;
}

.use-case-card:hover .use-case-icon {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, rgba(217, 119, 87, 0.15) 0%, rgba(139, 156, 126, 0.15) 100%);
}

.use-case-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-secondary);
}

.use-case-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.01em;
    color: var(--color-text);
}

.use-case-description {
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* Miro Import Section */
.miro-import {
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(135deg, #F5F0E8 0%, var(--color-bg) 100%);
    position: relative;
    overflow: hidden;
}

.miro-import-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.miro-import-content {
    position: relative;
    z-index: 1;
}

.miro-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.5rem 1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
}

.miro-badge svg {
    width: 16px;
    height: 16px;
}

.miro-import-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.miro-import-description {
    font-size: 1.15rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    max-width: 580px;
}

.miro-import-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.miro-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1rem;
    color: var(--color-text);
}

.miro-feature svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.miro-import-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.import-animation {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.import-source,
.import-dest {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
}

.source-icon,
.dest-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: white;
    box-shadow: var(--shadow-md);
}

.source-icon {
    background: linear-gradient(135deg, #FFD02F 0%, #FFAA00 100%);
}

.dest-icon {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.import-source span,
.import-dest span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-light);
}

.import-arrow {
    animation: slideArrow 2s ease-in-out infinite;
}

.import-arrow svg {
    width: 60px;
    height: 20px;
    color: var(--color-primary);
}

@keyframes slideArrow {
    0%, 100% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(10px);
        opacity: 0.6;
    }
}

/* Quiz Section */
.quiz-section {
    display: none;
    padding: var(--spacing-md) var(--spacing-sm);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border-bottom: 1px solid var(--color-border);
    position: relative;
}

.quiz-section.active {
    display: block;
    animation: slideDown 0.4s ease-out;
}

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

.quiz-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.quiz-close {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 36px;
    height: 36px;
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--color-text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    z-index: 10;
    line-height: 1;
    font-family: Arial, sans-serif;
}

.quiz-close:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: rotate(90deg);
    box-shadow: var(--shadow-md);
}

.quiz-content {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--color-border);
}

.quiz-progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

.quiz-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 10px;
}

.quiz-question {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    text-align: center;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.quiz-answers {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
}

.quiz-answer-btn {
    flex: 1 1 calc(50% - var(--spacing-sm) / 2);
    min-width: 200px;
    max-width: 400px;
    padding: 1rem 1.5rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.quiz-answer-btn:hover {
    background: #4F46E5;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.quiz-answer-btn:active {
    transform: translateY(0);
}

/* Single answer button (for end states) */
.quiz-answers .quiz-answer-btn:only-child {
    flex: 0 1 auto;
    min-width: 250px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

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

    .feature-visual {
        min-height: 250px;
    }

    .visual-container {
        max-width: 100%;
        height: 250px;
    }

    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .miro-import-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .miro-import-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    /* Hero Section */
    .hero-text {
        text-align: center;
    }

    .hero-title {
        font-size: 2.9rem;
    }

    .hero-description {
        font-size: 1.1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        flex-direction: column;
        justify-content: center;
    }

    .hero-meta {
        justify-content: center;
    }

    .hero-board-container {
        padding: 0 var(--spacing-sm);
    }

    .hero-board-image {
        max-width: 100%;
        transform: scale(1.15);
    }

    /* Features Section */
    .features-alternating {
        gap: var(--spacing-xl);
    }

    .feature-title {
        font-size: 1.75rem;
    }

    .feature-description {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    /* Export Visual */
    .visual-export {
        grid-template-columns: repeat(2, 75px);
        gap: var(--spacing-sm);
        padding: var(--spacing-md);
    }

    .export-file {
        width: 75px;
        height: 90px;
        gap: 0.25rem;
    }

    .export-file .file-icon {
        width: 40px;
        height: 40px;
    }

    .export-file .file-label {
        font-size: 0.75rem;
    }

    /* Use Cases */
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    /* Miro Import */
    .miro-import-title {
        font-size: 2rem;
    }

    .miro-import-description {
        margin-bottom: var(--spacing-md);
    }

    .import-animation {
        padding: var(--spacing-lg) var(--spacing-md);
        gap: var(--spacing-sm);
    }

    .source-icon,
    .dest-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .import-source span,
    .import-dest span {
        font-size: 1rem;
    }

    .import-arrow svg {
        width: 55px;
        height: 22px;
    }

    .quiz-section {
        padding: var(--spacing-sm) var(--spacing-xs);
    }

    .quiz-content {
        padding: var(--spacing-md);
    }

    .quiz-question {
        font-size: 1.35rem;
    }

    .quiz-answers {
        flex-direction: column;
    }

    .quiz-answer-btn {
        flex: 1 1 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .quiz-close {
        top: -12px;
        right: -12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-meta {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .meta-divider {
        display: none;
    }

    /* Export Visual - Extra small screens */
    .visual-export {
        grid-template-columns: repeat(2, 70px);
        gap: var(--spacing-xs);
        padding: var(--spacing-sm);
    }

    .export-file {
        width: 70px;
        height: 85px;
    }

    .export-file .file-icon {
        width: 36px;
        height: 36px;
    }

    .export-file .file-label {
        font-size: 0.7rem;
    }

    /* Miro Import - Extra small screens */
    .miro-import-description {
        margin-bottom: var(--spacing-sm);
    }

    .import-animation {
        padding: var(--spacing-md) var(--spacing-sm);
        gap: 0.5rem;
    }

    .source-icon,
    .dest-icon {
        width: 74px;
        height: 74px;
        font-size: 2.3rem;
    }

    .import-source span,
    .import-dest span {
        font-size: 0.95rem;
    }

    .import-arrow svg {
        width: 50px;
        height: 20px;
    }
}
