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

:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #0f172a;
    --accent-color: #06b6d4;
    --accent-hover: #0891b2;
    --text-color: #f1f5f9;
    --text-muted: #94a3b8;
    --bg-color: #0f172a;
    --bg-secondary: #1e293b;
    --card-bg: #1e293b;
    --card-hover: #334155;
    --border-color: #334155;
    --success: #10b981;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-elevated: rgba(0, 0, 0, 0.5);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

main {
    padding: 2rem 0 4rem;
    min-height: calc(100vh - 200px);
}

@media (max-width: 768px) {
    main {
        padding: 1.5rem 0 3rem;
    }
}

.hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 0 2rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 0 1.5rem;
        margin-bottom: 2rem;
    }
}

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

@media (max-width: 640px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

.tool-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-card:not(.coming-soon):hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.tool-card:not(.coming-soon):hover::before {
    opacity: 1;
}

.tool-card.coming-soon {
    opacity: 0.5;
    cursor: not-allowed;
}

.tool-icon {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.4));
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.tool-card:not(.coming-soon):hover .tool-icon {
    transform: scale(1.15);
}

.tool-card h3 {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-weight: 700;
    position: relative;
    z-index: 1;
    letter-spacing: -0.01em;
}

.tool-card p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    line-height: 1.65;
    font-size: 0.9375rem;
    position: relative;
    z-index: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 0.9375rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5);
}

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

.btn-disabled {
    background: var(--border-color);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.5;
    box-shadow: none;
}

.btn-disabled:hover {
    transform: none;
}

@media (max-width: 640px) {
    .btn {
        width: 100%;
    }
}

.about {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 3rem;
}

.about h2 {
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.25rem;
}

.about p {
    color: var(--text-muted);
    line-height: 1.65;
}

footer {
    padding: 3rem 0 2rem;
    text-align: center;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
}

footer .social-link {
    color: var(--text-muted);
    transition: all 0.2s ease;
    display: inline-block;
    padding: 0.75rem;
    border-radius: 12px;
}

footer .social-link:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    footer {
        padding: 2rem 0 1.5rem;
        margin-top: 3rem;
    }
}
