* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4A90E2;
    --primary-dark: #357ABD;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #FFFFFF;
    --bg-light: #F8F9FA;
    --border-color: #E0E0E0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}


/* Loader Styles */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loader-container.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
    color: white;
}

.loader-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: bounce 1.5s ease-in-out infinite;
}

.loader-text {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.loader-spinner {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.spinner-circle {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.4s ease-in-out infinite;
}

.spinner-circle:nth-child(1) {
    animation-delay: 0s;
}

.spinner-circle:nth-child(2) {
    animation-delay: 0.2s;
}

.spinner-circle:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo-icon {
    font-size: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-signin {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
}

.btn-signin:hover {
    background: var(--primary-dark);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.hero-availability {
    margin-top: 20px;
    color: var(--text-light);
    font-size: 14px;
}

.hero-image {
    margin-top: 60px;
}

.app-mockup {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    height: 500px;
}

.mockup-sidebar {
    width: 200px;
    background: var(--bg-light);
    padding: 20px;
    border-right: 1px solid var(--border-color);
}

.sidebar-item {
    padding: 12px 15px;
    margin-bottom: 5px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
    user-select: none;
}

.sidebar-item:hover {
    background: #e9ecef;
}

.sidebar-item.active {
    background: var(--primary-color);
    color: white;
}

.sidebar-item.active:hover {
    background: var(--primary-dark);
}

.sidebar-icon {
    font-size: 18px;
    display: inline-block;
}

.sidebar-text {
    font-size: 14px;
    font-weight: 500;
}

.mockup-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.mockup-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.mockup-note-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-color);
}

.feature-section {
    margin-bottom: 120px;
}

.feature-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.section-description {
    font-size: 18px;
    color: var(--text-light);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.feature-image {
    margin-top: 40px;
}

/* Grid View */
.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.note-card {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    position: relative;
    box-shadow: var(--shadow);
}

.note-card:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.note-card:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.note-card:nth-child(4) {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.note-card:nth-child(5) {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.note-card:nth-child(6) {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.note-card:nth-child(7) {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.note-card:nth-child(8) {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.note-card:nth-child(9) {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.note-card:nth-child(10) {
    background: linear-gradient(135deg, #ff8a80 0%, #ea6100 100%);
}

.note-card:nth-child(11) {
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
}

.note-card:nth-child(12) {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
}

.note-card:nth-child(13) {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

.note-card:nth-child(14) {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
}

/* Editor View */
.editor-view {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.editor-toolbar {
    background: var(--bg-light);
    padding: 15px;
    display: flex;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
}

.editor-toolbar button {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.editor-content {
    padding: 30px;
    min-height: 400px;
}

.editor-content p {
    margin-bottom: 15px;
}

.editor-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.editor-content pre {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 15px 0;
}

/* Devices */
.devices {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 40px;
}

.device {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    background: white;
    position: relative;
}

.device.desktop {
    width: 400px;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.device.tablet {
    width: 200px;
    height: 280px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.device.mobile {
    width: 120px;
    height: 240px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Dark Theme */
.dark-theme {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 40px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-selector {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.theme-color {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.theme-color:nth-child(1) {
    background: #4A90E2;
}

.theme-color:nth-child(2) {
    background: #50C878;
}

.theme-color:nth-child(3) {
    background: #FF69B4;
}

.theme-color:nth-child(4) {
    background: #FF8C00;
}

.theme-color:nth-child(5) {
    background: #9370DB;
}

.theme-color:nth-child(6) {
    background: #20B2AA;
}

/* Clipper */
.clipper {
    position: relative;
    padding: 40px;
}

.browser-window {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 20px;
    position: relative;
}

.browser-content {
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
}

.clipper-popup {
    position: absolute;
    top: 50%;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    padding: 15px;
    min-width: 200px;
    transform: translateY(-50%);
}

.clipper-popup div {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.clipper-popup div:hover {
    background: var(--bg-light);
}

/* Focus Mode */
.focus-mode {
    background: #000;
    border-radius: 12px;
    padding: 60px;
    min-height: 500px;
}

.focus-content {
    max-width: 800px;
    margin: 0 auto;
    color: white;
}

.focus-content h3 {
    font-size: 32px;
    margin-bottom: 30px;
}

.focus-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    margin-bottom: 30px;
}

/* Advanced Features */
.advanced-features {
    padding: 100px 0;
    background: var(--bg-light);
}

.advanced-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.advanced-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.advanced-item:nth-child(even) {
    direction: rtl;
}

.advanced-item:nth-child(even) > * {
    direction: ltr;
}

.advanced-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.advanced-content p {
    color: var(--text-light);
    font-size: 16px;
}

.advanced-image {
    height: 300px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.lock-screen {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.folders-view {
    background: white;
    padding: 20px;
}

.linked-notes {
    background: white;
    padding: 20px;
}

.collapsible {
    background: white;
    padding: 20px;
}

.taskbook {
    background: white;
    padding: 20px;
}

.tasks {
    background: white;
    padding: 20px;
}

.timeline {
    background: white;
    padding: 20px;
}

/* Pricing */
.pricing {
    padding: 100px 0;
    background: var(--bg-color);
}

.pricing-selector {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-selector h3 {
    margin-bottom: 20px;
    text-align: center;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s;
}

.radio-group label:hover {
    background: white;
}

.pricing-plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.plan-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.plan-card:hover {
    box-shadow: var(--shadow-lg);
}

.plan-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.plan-card h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.plan-price {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.plan-price span {
    font-size: 18px;
    color: var(--text-light);
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.plan-features li:last-child {
    border-bottom: none;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.pricing-note {
    text-align: center;
    color: var(--text-light);
    margin-top: 30px;
}

/* Download */
.download {
    padding: 100px 0;
    background: var(--bg-light);
}

.download-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.download-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: var(--shadow);
}

.download-btn:hover {
    box-shadow: var(--shadow-lg);
}

.download-icon {
    font-size: 48px;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--bg-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.stars {
    color: #FFD700;
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-text {
    color: var(--text-light);
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-color);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

.footer-bottom p {
    margin: 5px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
        font-size: 14px;
    }

    .btn-signin {
        padding: 8px 15px;
        font-size: 14px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .app-mockup {
        flex-direction: column;
        height: auto;
    }

    .mockup-sidebar {
        width: 100%;
        display: flex;
        gap: 10px;
        overflow-x: auto;
    }

    .advanced-grid {
        grid-template-columns: 1fr;
    }

    .advanced-item {
        grid-template-columns: 1fr;
    }

    .advanced-item:nth-child(even) {
        direction: ltr;
    }

    .pricing-plans {
        grid-template-columns: 1fr;
    }

    .devices {
        flex-direction: column;
    }
}

