/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #fafafa;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    color: #1a1a1a;
}

h1 { font-size: 1.8rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
    color: #4a4a4a;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: #2c2c2c;
    transition: color 0.3s ease;
}

/* Header */
.header {
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    color: #1a1a1a;
}

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

.nav-links a {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #666;
}

.cta-button {
    background: #2c2c2c;
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: #1a1a1a;
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #4a4a4a;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.primary-button {
    background: #2c2c2c;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(44, 44, 44, 0.15);
}

.primary-button:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 44, 44, 0.25);
}

.secondary-button {
    border: 2px solid #2c2c2c;
    color: #2c2c2c;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background: #2c2c2c;
    color: white;
    transform: translateY(-2px);
}

.tertiary-button {
    color: #666;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: underline;
}

.tertiary-button:hover {
    color: #2c2c2c;
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mascot-container {
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f8f8, #f0f0f0);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mascot-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.mascot-image {
    width: 280px;
    height: 280px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.mascot-container:hover .mascot-image {
    transform: scale(1.05);
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: white;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: #fafafa;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-privacy, .icon-bookmark, .icon-organization, .icon-cross-platform {
    width: 40px;
    height: 40px;
    background: #2c2c2c;
    border-radius: 8px;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

.target-audience {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #f8f8f8, #f0f0f0);
    border-radius: 16px;
}

.target-audience h3 {
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.audience-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.tag {
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    color: #2c2c2c;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #2c2c2c;
    color: white;
    transform: translateY(-2px);
}

/* Signup Section */
.signup {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
    color: white;
}

.signup-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.signup-content h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.signup-content p {
    color: #d0d0d0;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.signup-form {
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.form-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.submit-button {
    padding: 1rem 2rem;
    background: white;
    color: #2c2c2c;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover:not(:disabled) {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-button.loading {
    position: relative;
}

.submit-button.loading::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #2c2c2c;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

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

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

.form-privacy {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.success-message {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 1.5rem;
    border-radius: 12px;
    color: #22c55e;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 2rem 2rem;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-mascot {
    width: 50px;
    height: 50px;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-mascot:hover {
    opacity: 1;
}

.footer-info h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.footer-info p {
    color: #d0d0d0;
}

.footer-contact {
    text-align: right;
}

.footer-contact a {
    color: #d0d0d0;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a:not(.cta-button) {
        display: none;
    }
    
    .hero {
        padding: 6rem 1rem 3rem;
        min-height: auto;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .mascot-container {
        width: 280px;
        height: 280px;
    }
    
    .mascot-image {
        width: 220px;
        height: 220px;
    }
    
    .features {
        padding: 4rem 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .target-audience {
        padding: 2rem;
    }
    
    .audience-tags {
        flex-direction: column;
        align-items: center;
    }
    
    .signup {
        padding: 4rem 1rem;
    }
    
    .signup-content h2 {
        font-size: 2rem;
    }
    
    .form-group {
        flex-direction: column;
        max-width: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-brand {
        justify-content: center;
    }
    
    .footer-contact {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .primary-button, .secondary-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .mascot-container {
        width: 240px;
        height: 240px;
    }
    
    .mascot-image {
        width: 180px;
        height: 180px;
    }
}