/* PlanningPowerTools - Modern SaaS Styles */
/* Inspired by modern dark theme with purple/blue gradients */

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --purple-start: #8A2FFF;
    --purple-mid: #586BFF;
    --cyan-end: #2BFDFC;
    --dark-bg: #000000;
    --darker-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --card-bg-hover: #252525;
    --text-primary: #ffffff;
    --text-secondary: #e5e7eb;
    --text-muted: #9ca3af;
    --gradient-start: #8A2FFF;
    --gradient-mid: #586BFF;
    --gradient-end: #2BFDFC;
    --success-color: #10b981;
    --border-color: rgba(99, 102, 241, 0.2);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated Background with Organic Shapes */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(138, 47, 255, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at bottom right, rgba(88, 107, 255, 0.15) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* Beautiful Background Conceptual Forms */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(138, 47, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(88, 107, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(43, 253, 252, 0.08) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
    animation: pulse 20s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Header */
header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo img {
    height: 80px;
    width: auto;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--purple-start), var(--purple-mid), var(--cyan-end));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

nav ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.btn-sign-in {
    background: linear-gradient(135deg, var(--purple-start), var(--purple-mid));
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

.btn-sign-in:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(138, 47, 255, 0.4);
}

.mobile-menu {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section - Inspired by Reference Image */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(138, 47, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.tagline {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-search {
    position: relative;
    margin-bottom: 2rem;
}

.search-bar,
.planning-dropdown {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 12px;
    padding-right: 3.5rem;
    cursor: pointer;
}

.planning-dropdown:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.08);
}

.planning-dropdown option {
    background: var(--card-bg);
    color: var(--text-primary);
    padding: 1rem;
}

.search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon::after {
    content: '';
    width: 8px;
    height: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    position: absolute;
    bottom: -4px;
    right: -4px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple-start), var(--purple-mid));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(138, 47, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 1rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-visual {
    position: relative;
    z-index: 1;
}

.landing-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.landing-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Abstract Gradient Shapes */
.gradient-shapes {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.shape-1 {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(138, 47, 255, 0.2) 0%, transparent 70%);
    filter: blur(60px);
}

.shape-2 {
    position: absolute;
    bottom: 20%;
    right: 20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(88, 107, 255, 0.2) 0%, transparent 70%);
    filter: blur(50px);
}

/* Features Section */
.features-section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

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

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
    background: var(--card-bg-hover);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-icon .gradient-stop-1 {
    stop-color: var(--purple-start);
}

.feature-icon .gradient-stop-2 {
    stop-color: var(--purple-mid);
}

.feature-icon .gradient-stop-3 {
    stop-color: var(--cyan-end);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Value Proposition Section */
.value-section {
    padding: 6rem 2rem;
    background: rgba(138, 47, 255, 0.05);
    position: relative;
}

.value-content {
    max-width: 1200px;
    margin: 0 auto;
}

.value-box {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--primary-color);
}

.value-box h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--purple-start), var(--purple-mid));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    gap: 1rem;
}

.highlight-icon {
    font-size: 1.5rem;
    color: var(--success-color);
    flex-shrink: 0;
}

.highlight-text h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.highlight-text p {
    color: var(--text-secondary);
}

/* Use Cases Section */
.use-cases-section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

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

.use-case-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s;
}

.use-case-card:hover {
    transform: translateX(8px);
    background: var(--card-bg-hover);
}

.use-case-card h4 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.use-case-card p {
    color: var(--text-secondary);
}

/* Resource Links Section */
.resource-links {
    padding: 5rem 2rem;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.resource-links .section-header {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.resource-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.resource-card {
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    background: var(--card-bg-hover);
}

.resource-card h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
}

.resource-card p {
    color: var(--text-secondary);
    flex: 1;
}

.resource-card a {
    align-self: flex-start;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.resource-card a:hover {
    color: var(--purple-start);
}

/* Timefold Attribution Section */
.timefold-section {
    padding: 4rem 2rem;
    background: rgba(138, 47, 255, 0.03);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.timefold-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.timefold-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--purple-start), var(--purple-mid));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timefold-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.timefold-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.timefold-link:hover {
    color: var(--purple-start);
}

/* Footer */
footer {
    background: var(--darker-bg);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Mouse Scroll Indicator */
.mouse-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.mouse-scroll::after {
    content: '';
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(12px);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    nav ul {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}
