@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
    font-size: 14px;
}

.gradient-text {
    background: linear-gradient(135deg, #58a6ff 0%, #a5a6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-gradient {
    background-image:
            radial-gradient(circle at 20% 35%, rgba(76, 29, 149, 0.15) 0%, transparent 35%),
            radial-gradient(circle at 80% 10%, rgba(56, 189, 248, 0.1) 0%, transparent 35%),
            linear-gradient(180deg, #0f172a 0%, #111827 100%);
    position: relative;
}

.hero-gradient::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.mesh-gradient {
    background:
            radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 1) 0, transparent 50%),
            radial-gradient(at 100% 0%, hsla(225, 39%, 30%, 0.4) 0, transparent 50%),
            radial-gradient(at 100% 100%, hsla(339, 49%, 30%, 0.2) 0, transparent 50%),
            radial-gradient(at 0% 100%, hsla(271, 100%, 14%, 0.4) 0, transparent 50%);
}

.github-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.github-card:hover {
    border-color: #58a6ff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.3), 0 6px 8px -4px rgba(0, 0, 0, 0.2);
}

.github-btn {
    background: #21262d;
    border: 1px solid #30363d;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.875rem;
}

.github-btn:hover {
    background: #30363d;
    border-color: #58a6ff;
    transform: translateY(-1px);
}

.github-primary {
    background: linear-gradient(135deg, #2ea043 0%, #238636 100%);
    border: none;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.875rem;
}

.github-primary:hover {
    background: linear-gradient(135deg, #3fb950 0%, #2ea043 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(35, 134, 54, 0.4);
}

.glassmorphism {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.code-window {
    background: #0d1117;
    border-radius: 0.375rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 1;
}

.code-window-header {
    background: #161b22;
    border-bottom: 1px solid #30363d;
    border-radius: 0.375rem 0.375rem 0 0;
}

.circle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.form-input {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 0.375rem;
    padding: 0.625rem 0.875rem;
    color: white;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.form-input:focus {
    border-color: #58a6ff;
    box-shadow: 0 0 0 2px rgba(88, 166, 255, 0.3);
    outline: none;
}

.form-label {
    color: #8b949e;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.375rem;
    display: block;
}

.orbit {
    animation: rotate-slow linear infinite;
}

.orbit-1 {
    animation-duration: 20s;
}

.orbit-2 {
    animation-duration: 30s;
    animation-direction: reverse;
}

.orbit-3 {
    animation-duration: 40s;
}

.orbit-element {
    position: absolute;
    transform-origin: center;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

/* Responsive Design Fixes */
@media (max-width: 640px) {
    body { font-size: 13px; }
    .features-grid { grid-template-columns: 1fr; gap: 1rem; }
}

@media (min-width: 641px) and (max-width: 1024px) {
    body { font-size: 13.5px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1025px) {
    body { font-size: 14px; }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1440px) {
    body { font-size: 15px; }
}

/* Container responsive adjustments */
.container {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
    .container { padding-left: 2rem; padding-right: 2rem; }
}