/* ==========================================================================
   Pravyon Redesigned Clean & Minimal Stylesheet
   Inspired by Apple's simplicity, clarity, and trust.
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-main: #ffffff;
    --bg-accent: #f9fafb;
    --bg-card: #ffffff;
    --border-light: rgba(0, 0, 0, 0.05);
    --border-hover: rgba(59, 130, 246, 0.15);
    
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-tertiary: #9ca3af;
    
    --primary-blue: #2563eb;
    --primary-blue-hover: #1d4ed8;
    --primary-blue-light: #eff6ff;
    
    /* Typography */
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Layout & Shadows */
    --max-width: 1100px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 40px rgba(59, 130, 246, 0.05);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-main);
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-family);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Accessibility Focus States */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 4px;
}

/* Subtle Ambient Floating Background Shapes */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

.shape-1 {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(239, 246, 255, 0.02) 70%);
    animation: floatShape1 25s infinite alternate ease-in-out;
}

.shape-2 {
    top: 40%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(147, 197, 253, 0.12) 0%, rgba(239, 246, 255, 0.01) 70%);
    animation: floatShape2 30s infinite alternate ease-in-out;
}

.shape-3 {
    bottom: -10%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(239, 246, 255, 0.01) 70%);
    animation: floatShape1 28s infinite alternate-reverse ease-in-out;
}

@keyframes floatShape1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 40px) scale(1.1); }
}

@keyframes floatShape2 {
    0% { transform: translate(0, 0) scale(1.1); }
    100% { transform: translate(-40px, 60px) scale(0.9); }
}

/* Header & Navigation */
.site-header {
    width: 100%;
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    z-index: 100;
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.3px;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.9;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
}

.header-nav {
    display: flex;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
}

.nav-link:hover {
    color: var(--primary-blue);
    background-color: var(--primary-blue-light);
}

/* Main Layout */
main {
    flex-grow: 1;
    position: relative;
    z-index: 10;
}

.section {
    padding: 6rem 2rem;
    width: 100%;
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.5px;
}

/* Hero Section */
.hero-section {
    padding: 8rem 2rem 6rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-blue-light);
    color: var(--primary-blue);
    padding: 0.5rem 1.25rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-section h1 {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto 2.5rem auto;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
    border: 1px solid transparent;
}

.btn-primary:hover {
    background-color: var(--primary-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

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

.btn-arrow {
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    color: var(--text-primary);
    background-color: var(--bg-accent);
    border-color: rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

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

/* About Section */
.section-about {
    background-color: var(--bg-accent);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    text-align: center;
}

.section-about .section-container {
    max-width: 700px;
}

.section-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Brand Philosophy / Focus Section */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.philosophy-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.philosophy-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: var(--primary-blue-light);
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.philosophy-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.philosophy-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Quick Links Section */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.link-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.link-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.link-card-content {
    padding-right: 1.5rem;
}

.link-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.link-card:hover h3 {
    color: var(--primary-blue);
}

.link-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.link-card-arrow {
    font-size: 1.5rem;
    color: var(--text-tertiary);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-card:hover .link-card-arrow {
    color: var(--primary-blue);
    transform: translateX(4px);
}

/* Footer Section */
.site-footer {
    width: 100%;
    padding: 4rem 2rem;
    background-color: var(--bg-accent);
    border-top: 1px solid var(--border-light);
    z-index: 10;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.3px;
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal Elements */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .philosophy-grid {
        gap: 1.5rem;
    }
    
    .philosophy-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 1rem 1.5rem;
    }
    
    .section {
        padding: 4rem 1.5rem;
    }
    
    .hero-section {
        padding: 6rem 1.5rem 4rem 1.5rem;
    }
    
    .hero-section h1 {
        font-size: 2.25rem;
        letter-spacing: -1px;
    }
    
    .hero-desc {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .link-card {
        padding: 1.5rem;
    }
    
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
