/* Standalone Cory landing page styles */

:root {
    --primary-color: #0078d4;
    --primary-dark: #005a9e;
    --secondary-color: #10a37f;
    --accent-warm: #ffcb77;
    --text-primary: #16202a;
    --text-secondary: #435160;
    --text-light: #66768a;
    --bg-light: #f3f6fa;
    --bg-tint: #eef4fb;
    --bg-white: #ffffff;
    --border-color: #d6dee8;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f8fbff;
}

.cory-landing {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background:
        radial-gradient(circle at top left, rgba(102, 126, 234, 0.08), transparent 28%),
        linear-gradient(180deg, #fcfdff 0%, #f7faff 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-section {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 22%),
        radial-gradient(circle at 85% 30%, rgba(255, 203, 119, 0.18), transparent 20%),
        linear-gradient(135deg, #5367d8 0%, #6c4ea3 58%, #4b84c5 100%);
    color: #fff;
    padding: 92px 0 112px;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='2' fill='rgba(255,255,255,0.1)'/%3E%3C/svg%3E");
    opacity: 0.18;
}

.hero-section::after {
    content: "";
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: -72px;
    height: 140px;
    background: #f8fbff;
    border-radius: 50% 50% 0 0;
}

.hero-section > .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    align-items: center;
}

.top-logo {
    position: absolute;
    top: 20px;
    left: 24px;
    z-index: 10;
}

.prowriter-logo {
    height: 80px;
    width: auto;
    opacity: 0.9;
}

.prowriter-logo:hover {
    opacity: 1;
}

.hero-content,
.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.cory-logo {
    margin: 0 auto 28px;
}

.logo-main {
    max-width: 380px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.15));
}

.hero-title {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.02;
    margin: 0 0 20px;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.hero-subtitle {
    font-size: 22px;
    line-height: 1.5;
    margin: 0 auto 36px;
    max-width: 42rem;
    color: rgba(255, 255, 255, 0.96);
    text-wrap: balance;
}

.hero-ctas,
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-ctas {
    margin-bottom: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: #fff;
    color: #4b59d0;
    box-shadow: 0 14px 30px rgba(26, 32, 42, 0.18);
    padding: 20px 32px;
    border-radius: 16px;
}

.btn-primary:hover {
    background: #f8f9ff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 16px 32px;
    border-radius: 16px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

.btn-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.hero-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    letter-spacing: 0.01em;
}

.hero-visual {
    margin-top: 28px;
}

.browser-mockup {
    background: linear-gradient(180deg, #ffffff 0%, #edf2fa 100%);
    border-radius: 28px;
    box-shadow: 0 26px 55px rgba(18, 28, 45, 0.24);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 14px;
}

.cory-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.features-section,
.pricing-section {
    background: linear-gradient(180deg, #f4f8fc 0%, #edf3fa 100%);
}

.features-section,
.how-it-works-section,
.privacy-section,
.pricing-section,
.use-cases-section,
.cta-section {
    padding: 84px 0;
}

.section-header {
    text-align: center;
    margin: 0 auto 52px;
    max-width: 46rem;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 14px;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.section-header p {
    font-size: 19px;
    color: var(--text-secondary);
    margin: 0;
    text-wrap: balance;
}

.features-grid,
.use-cases-grid {
    display: grid;
    gap: 32px;
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: stretch;
}

.use-cases-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: stretch;
}

.feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(28, 45, 74, 0.08);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #667eea 0%, #10a37f 100%);
}

.feature-icon,
.use-case-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 12px 24px rgba(0, 120, 212, 0.2);
}

.feature-icon svg,
.use-case-icon svg {
    color: #fff;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-card h3,
.use-case-card h3,
.step-content h3 {
    font-weight: 600;
    color: var(--text-primary);
}

.feature-card h3 {
    font-size: 22px;
    margin: 0 0 12px;
}

.feature-card p,
.step-content p,
.use-case-card li {
    color: var(--text-secondary);
}

.step-content p {
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.feature-card p {
    font-size: 16px;
    margin: 0 0 16px;
}

.feature-list,
.pricing-features,
.privacy-features,
.use-case-card ul,
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li,
.use-case-card li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.feature-list li {
    padding: 8px 0;
}

.feature-list li::before {
    content: "✓";
    color: var(--secondary-color);
    font-weight: 700;
}

.feature-demo {
    margin-top: auto;
    padding: 16px;
    background: linear-gradient(180deg, #f6f9fc 0%, #eef4fb 100%);
    border-radius: 16px;
    border: 1px solid #d9e3ef;
}

.demo-tag {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 8px;
}

.demo-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.demo-examples span {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-secondary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.step {
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f3f7fc 100%);
    border: 1px solid var(--border-color);
    border-radius: 26px;
    box-shadow: 0 16px 32px rgba(28, 45, 74, 0.06);
    padding: 34px 28px;
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #5367d8 0%, #10a37f 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: 0 12px 28px rgba(55, 91, 190, 0.24);
}

.how-it-works-section {
    background: #ffffff;
}

.step-content h3 {
    font-size: 24px;
    margin: 0 0 12px;
}

.step-content p {
    font-size: 16px;
    margin: 0 0 12px;
}

.step-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.step-link:hover {
    color: var(--primary-dark);
}

.privacy-section {
    margin-top: 10px;
}

.privacy-section,
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    position: relative;
}

.privacy-section::before,
.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.14), transparent 20%),
        radial-gradient(circle at 80% 75%, rgba(255, 203, 119, 0.12), transparent 22%);
    pointer-events: none;
}

.privacy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.privacy-text h2,
.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 16px;
}

.privacy-lead,
.cta-content p {
    font-size: 20px;
    margin: 0 0 32px;
    color: rgba(255, 255, 255, 0.96);
}

.privacy-text p,
.privacy-features li,
.diagram-item p,
.diagram-item small,
.cta-content p {
    color: rgba(255, 255, 255, 0.94);
}

.privacy-features li,
.pricing-features li {
    display: flex;
    gap: 12px;
    font-size: 16px;
}

.privacy-features li {
    align-items: flex-start;
    margin-bottom: 16px;
}

.privacy-features svg,
.pricing-features svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.privacy-features svg {
    width: 24px;
    height: 24px;
}

.privacy-diagram {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 22px 40px rgba(20, 24, 50, 0.2);
}

.diagram-item {
    text-align: center;
}

.diagram-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.diagram-icon.local {
    background: rgba(16, 163, 127, 0.3);
    border: 2px solid rgba(16, 163, 127, 0.8);
}

.diagram-icon.api {
    background: rgba(0, 120, 212, 0.3);
    border: 2px solid rgba(0, 120, 212, 0.8);
}

.diagram-icon svg {
    width: 40px;
    height: 40px;
}

.diagram-arrow {
    font-size: 32px;
    opacity: 0.6;
}

.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 28px;
    box-shadow: 0 16px 40px rgba(24, 47, 79, 0.12);
    overflow: hidden;
    border: 2px solid var(--primary-color);
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    padding: 32px;
    text-align: center;
}

.pricing-header h3 {
    font-size: 28px;
    margin: 0 0 16px;
}

.pricing-amount {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
}

.currency {
    font-size: 32px;
    margin-top: 8px;
}

.amount {
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
}

.pricing-body,
.pricing-footer {
    padding: 32px;
}

.pricing-body {
    padding-bottom: 0;
}

.pricing-features {
    margin-bottom: 24px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-primary);
}

.pricing-features svg {
    color: var(--secondary-color);
}

.pricing-note {
    background: var(--bg-light);
    padding: 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: #344252;
    border-left: 4px solid var(--primary-color);
}

.pricing-footer .btn {
    width: 100%;
}

.use-cases-section {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
}

.use-case-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
    padding: 32px;
    border-radius: 24px;
    border: 2px solid var(--border-color);
    box-shadow: 0 14px 34px rgba(28, 45, 74, 0.07);
    overflow: hidden;
}

.use-case-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #764ba2 0%, #667eea 100%);
}

.use-case-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.2);
}

.use-case-icon svg {
    width: 28px;
    height: 28px;
}

.use-case-card h3 {
    font-size: 20px;
    margin: 0 0 16px;
}

.use-case-card li {
    padding: 8px 0;
}

.use-case-card li::before {
    content: "→";
    color: var(--primary-color);
}

.cta-section {
    text-align: center;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
    padding: 42px 34px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 32px;
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 40px rgba(25, 22, 52, 0.16);
}

.footer-description,
.footer-note,
.footer-bottom p,
.footer-column p,
.footer-column a {
    color: #314152;
}

.cory-footer {
    background: linear-gradient(180deg, #edf3f8 0%, #e3ebf4 100%);
    color: #22303d;
    padding: 60px 0 32px;
    border-top: 1px solid #d8e2ec;
}

.footer-tagline {
    font-weight: 600;
    color: #22303d;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo-img {
    max-width: 180px;
    height: auto;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 16px;
    color: #16202a;
}

.footer-column p {
    font-size: 14px;
    margin: 0 0 8px;
}

.footer-note {
    font-size: 13px;
    opacity: 1;
}

.footer-note a {
    text-decoration: underline;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    text-decoration: none;
    font-size: 14px;
}

.footer-column a:hover {
    color: #16202a;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

.footer-social a:hover {
    background: rgba(0, 0, 0, 0.2);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.btn:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

@media (max-width: 992px) {
    .hero-section > .container {
        gap: 28px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .privacy-content {
        grid-template-columns: 1fr;
    }

    .section-header h2,
    .privacy-text h2,
    .cta-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 80px;
        border-bottom-left-radius: 28px;
        border-bottom-right-radius: 28px;
    }

    .top-logo {
        position: static;
        margin-bottom: 24px;
        align-self: flex-start;
    }

    .logo-main {
        max-width: 280px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-ctas,
    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .browser-mockup,
    .cta-content,
    .pricing-card,
    .privacy-diagram,
    .feature-card,
    .use-case-card,
    .step {
        border-radius: 22px;
    }

    .features-grid,
    .steps-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .privacy-diagram {
        flex-direction: column;
        padding: 32px;
    }

    .diagram-arrow {
        transform: rotate(90deg);
    }

    .section-header h2,
    .privacy-text h2,
    .cta-content h2 {
        font-size: 28px;
    }

    .features-section,
    .how-it-works-section,
    .privacy-section,
    .pricing-section,
    .use-cases-section,
    .cta-section {
        padding: 60px 0;
    }

    .cta-content {
        padding: 28px 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}