
:root {
    --primary-color: #0F172A;
    --secondary-color: #3B82F6;
    --accent-gradient: linear-gradient(to right, #06B6D4, #3B82F6);
    --background-light: #F8FAFC;
    --background-dark: #0F172A;
    --text-dark: #111827;
    --text-light: #F8FAFC;
    --card-background-light: #FFFFFF;
    --card-background-dark: #1E293B;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-radius: 16px;
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

body {
    font-family: var(--font-body);
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    transition: background-color 0.3s, color 0.3s;
}

body.dark-mode {
    --background-light: #0F172A;
    --text-dark: #F8FAFC;
    --card-background-light: #1E293B;
}

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

/* Header */
.sticky-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

body.dark-mode .sticky-header {
    background: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sticky-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--secondary-color);
    text-decoration: none;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-bar input {
    border: 1px solid #ccc;
    padding: 0.5rem;
    border-radius: 8px;
    background: #eee;
}

body.dark-mode .search-bar input {
    background: #334155;
    border-color: #475569;
    color: var(--text-light);
}


.dark-mode-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
}

.sign-in {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subheading {
    font-size: 1.2rem;
    color: #475569;
    margin-bottom: 2rem;
}
body.dark-mode .hero-subheading {
    color: #94A3B8;
}

.hero-cta .btn {
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    margin: 0 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.hero-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary {
    background: var(--card-background-light);
    color: var(--text-dark);
    border: 1px solid #e2e8f0;
}
body.dark-mode .btn-secondary {
    border: 1px solid #334155;
}


.hero-visual {
    margin-top: 3rem;
    animation: float 3s ease-in-out infinite;
}

.hero-visual img {
    max-width: 100%;
    border-radius: var(--border-radius);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}


/* Tools Section */
.main-tools-section {
    padding: 4rem 0;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

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

.tool-card {
    background: var(--card-background-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
}
body.dark-mode .tool-card {
    border: 1px solid #334155;
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.tool-icon img {
    border-radius: 50%;
    margin-bottom: 1rem;
}

.tool-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.tool-card p {
    color: #64748b;
    font-size: 0.9rem;
}
body.dark-mode .tool-card p {
    color: #94A3B8;
}

.dev-tools-grid .tool-card {
    background: #1E293B;
    color: white;
}

/* AI Tools Section */
.ai-tools-section {
    padding: 4rem 0;
    background: var(--accent-gradient);
    color: white;
}

.ai-tools-section .section-title {
    color: white;
}
.badge {
    background: #FFD700;
    color: #111;
    font-size: 1rem;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    margin-left: 0.5rem;
}

.ai-tool-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.ai-tool-card h3, .ai-tool-card p {
    color: white;
}


/* Features Section */
.features-section {
    padding: 4rem 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.feature-item {
    text-align: center;
}
.feature-icon img {
    border-radius: 50%;
}
.feature-item h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin: 1rem 0 0.5rem;
}


/* How it works */
.how-it-works-section {
    padding: 4rem 0;
    background: var(--background-light);
}
.steps-container {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}
.step {
    text-align: center;
    max-width: 300px;
}
.step-number {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.step h3 {
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}


/* CTA Section */
.cta-section {
    padding: 4rem 0;
    text-align: center;
    background: var(--primary-color);
    color: white;
}
.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: #94A3B8;
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.footer-about .logo {
    color: white;
}
.footer-links h3 {
    color: white;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}
.footer-links ul {
    list-style: none;
    padding: 0;
}
.footer-links a {
    text-decoration: none;
    color: #94A3B8;
    line-height: 2;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: white;
}
.social-icons {
    display: flex;
    gap: 1rem;
}
.social-icons img {
    border-radius: 50%;
}
.copyright {
    text-align: center;
    border-top: 1px solid #334155;
    padding-top: 2rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
